Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/macppc/macppc Pull up revision 1.110 (via patc...
details: https://anonhg.NetBSD.org/src/rev/97c8f8601998
branches: netbsd-1-5
changeset: 492936:97c8f8601998
user: he <he%NetBSD.org@localhost>
date: Thu Mar 07 17:49:04 2002 +0000
description:
Pull up revision 1.110 (via patch, requested by billc):
Make sure I/O BATs are set to be guarded and cache-inhibited, so
as to disallow speculative loads within them. This dould otherwise
cause random Machine Checks on 7450 (G4) based machines.
diffstat:
sys/arch/macppc/macppc/machdep.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r fe84d446d642 -r 97c8f8601998 sys/arch/macppc/macppc/machdep.c
--- a/sys/arch/macppc/macppc/machdep.c Wed Mar 06 23:42:15 2002 +0000
+++ b/sys/arch/macppc/macppc/machdep.c Thu Mar 07 17:49:04 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.74.2.1 2000/11/01 16:13:48 tv Exp $ */
+/* $NetBSD: machdep.c,v 1.74.2.2 2002/03/07 17:49:04 he Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -177,19 +177,19 @@
/*
* Map PCI memory space.
*/
- battable[0x8].batl = BATL(0x80000000, BAT_I, BAT_PP_RW);
+ battable[0x8].batl = BATL(0x80000000, BAT_I|BAT_G, BAT_PP_RW);
battable[0x8].batu = BATU(0x80000000, BAT_BL_256M, BAT_Vs);
- battable[0x9].batl = BATL(0x90000000, BAT_I, BAT_PP_RW);
+ battable[0x9].batl = BATL(0x90000000, BAT_I|BAT_G, BAT_PP_RW);
battable[0x9].batu = BATU(0x90000000, BAT_BL_256M, BAT_Vs);
- battable[0xa].batl = BATL(0xa0000000, BAT_I, BAT_PP_RW);
+ battable[0xa].batl = BATL(0xa0000000, BAT_I|BAT_G, BAT_PP_RW);
battable[0xa].batu = BATU(0xa0000000, BAT_BL_256M, BAT_Vs);
/*
* Map obio devices.
*/
- battable[0xf].batl = BATL(0xf0000000, BAT_I, BAT_PP_RW);
+ battable[0xf].batl = BATL(0xf0000000, BAT_I|BAT_G, BAT_PP_RW);
battable[0xf].batu = BATU(0xf0000000, BAT_BL_256M, BAT_Vs);
/*
Home |
Main Index |
Thread Index |
Old Index