Module Name: src
Committed By: macallan
Date: Thu Apr 11 18:36:44 UTC 2013
Modified Files:
src/sys/arch/macppc/macppc: locore.S
Log Message:
more OEA64_BRIDGE support
from Phileas Fogg
To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/macppc/macppc/locore.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/macppc/macppc/locore.S
diff -u src/sys/arch/macppc/macppc/locore.S:1.70 src/sys/arch/macppc/macppc/locore.S:1.71
--- src/sys/arch/macppc/macppc/locore.S:1.70 Mon Jun 20 19:56:12 2011
+++ src/sys/arch/macppc/macppc/locore.S Thu Apr 11 18:36:44 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.70 2011/06/20 19:56:12 matt Exp $ */
+/* $NetBSD: locore.S,v 1.71 2013/04/11 18:36:44 macallan Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -87,6 +87,11 @@ __start:
li 0,0
mtmsr 0 /* Disable FPU/MMU/exceptions */
+#if defined(PMAP_OEA64_BRIDGE)
+ mfmsr 0 /* Clear SF and ISF bits */
+ clrldi 0,0,3
+ mtmsrd 0
+#endif /* PMAP_OEA64_BRIDGE */
isync
/* compute end of kernel memory */