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 When making BATU, use (BAT_XBL|...
details: https://anonhg.NetBSD.org/src/rev/31b2471047d5
branches: trunk
changeset: 773747:31b2471047d5
user: matt <matt%NetBSD.org@localhost>
date: Wed Feb 15 01:46:42 2012 +0000
description:
When making BATU, use (BAT_XBL|BAT_BL) for the extended bat lengths.
diffstat:
sys/arch/powerpc/include/oea/bat.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 3eb287dd5d3c -r 31b2471047d5 sys/arch/powerpc/include/oea/bat.h
--- a/sys/arch/powerpc/include/oea/bat.h Wed Feb 15 01:38:46 2012 +0000
+++ b/sys/arch/powerpc/include/oea/bat.h Wed Feb 15 01:46:42 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bat.h,v 1.15 2012/02/01 05:25:57 matt Exp $ */
+/* $NetBSD: bat.h,v 1.16 2012/02/15 01:46:42 matt Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -129,7 +129,7 @@
#define BAT_BL_TO_SIZE(bl) (((bl)+4) << 15)
#define BATU(va, len, v) \
- (((va) & BAT_EPI) | ((len) & BAT_BL) | ((v) & BAT_V))
+ (((va) & BAT_EPI) | ((len) & (BAT_BL|BAT_XBL)) | ((v) & BAT_V))
#define BATL(pa, wimg, pp) \
(((pa) & BAT_RPN) | (wimg) | (pp))
Home |
Main Index |
Thread Index |
Old Index