Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sandpoint/sandpoint When rebooting flush the instru...



details:   https://anonhg.NetBSD.org/src/rev/ffb67777838c
branches:  trunk
changeset: 763195:ffb67777838c
user:      phx <phx%NetBSD.org@localhost>
date:      Sat Mar 12 16:46:31 2011 +0000

description:
When rebooting flush the instruction pipeline first, then do an absolute
jump to 0xfff00100.

diffstat:

 sys/arch/sandpoint/sandpoint/locore.S |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r ce6e725770b0 -r ffb67777838c sys/arch/sandpoint/sandpoint/locore.S
--- a/sys/arch/sandpoint/sandpoint/locore.S     Sat Mar 12 16:41:23 2011 +0000
+++ b/sys/arch/sandpoint/sandpoint/locore.S     Sat Mar 12 16:46:31 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.20 2011/01/17 08:23:57 matt Exp $ */
+/*     $NetBSD: locore.S,v 1.21 2011/03/12 16:46:31 phx Exp $  */
 /*     $OpenBSD: locore.S,v 1.4 1997/01/26 09:06:38 rahnds Exp $       */
 
 /*
@@ -150,7 +150,8 @@
        mfmsr   3
        ori     3,3,PSL_IP@l
        mtmsr   3
-       b       0xFFF00100
+       isync
+       ba      0xFFF00100
 
 /*
  * Include common switch / setfault code



Home | Main Index | Thread Index | Old Index