Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include/oea make BATs >256MB work, now macp...
details: https://anonhg.NetBSD.org/src/rev/53211c88b876
branches: trunk
changeset: 773749:53211c88b876
user: macallan <macallan%NetBSD.org@localhost>
date: Wed Feb 15 04:33:19 2012 +0000
description:
make BATs >256MB work, now macppc works again on 745x CPUs as well
ok riz
diffstat:
sys/arch/powerpc/include/oea/bat.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 9c86b4a16f39 -r 53211c88b876 sys/arch/powerpc/include/oea/bat.h
--- a/sys/arch/powerpc/include/oea/bat.h Wed Feb 15 01:56:57 2012 +0000
+++ b/sys/arch/powerpc/include/oea/bat.h Wed Feb 15 04:33:19 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bat.h,v 1.16 2012/02/15 01:46:42 matt Exp $ */
+/* $NetBSD: bat.h,v 1.17 2012/02/15 04:33:19 macallan Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -135,10 +135,10 @@
(((pa) & BAT_RPN) | (wimg) | (pp))
#define BAT_VA_MATCH_P(batu,va) \
- (((~(((batu)&BAT_BL)<<15))&(va)&BAT_EPI)==((batu)&BAT_EPI))
+ (((~(((batu)&(BAT_BL|BAT_XBL))<<15))&(va)&BAT_EPI)==((batu)&BAT_EPI))
#define BAT_PA_MATCH_P(batu,batl,pa) \
- (((~(((batu)&BAT_BL)<<15))&(pa)&BAT_RPN)==((batl)&BAT_RPN))
+ (((~(((batu)&(BAT_BL|BAT_XBL))<<15))&(pa)&BAT_RPN)==((batl)&BAT_RPN))
#define BAT_VALID_P(batu, msr) \
(((msr)&PSL_PR)?(((batu)&BAT_Vu)==BAT_Vu):(((batu)&BAT_Vs)==BAT_Vs))
Home |
Main Index |
Thread Index |
Old Index