Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/macppc more OEA64_BRIDGE support



details:   https://anonhg.NetBSD.org/src/rev/333e05b7661f
branches:  trunk
changeset: 786027:333e05b7661f
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Apr 11 18:36:44 2013 +0000

description:
more OEA64_BRIDGE support
from Phileas Fogg

diffstat:

 sys/arch/macppc/macppc/locore.S |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 3e337d7302d7 -r 333e05b7661f sys/arch/macppc/macppc/locore.S
--- a/sys/arch/macppc/macppc/locore.S   Thu Apr 11 18:20:33 2013 +0000
+++ b/sys/arch/macppc/macppc/locore.S   Thu Apr 11 18:36:44 2013 +0000
@@ -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 @@
 
        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 */



Home | Main Index | Thread Index | Old Index