summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme88k/mvme88k/locore.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/mvme88k/locore.S b/sys/arch/mvme88k/mvme88k/locore.S
index 99225dc82e5..6d672d01135 100644
--- a/sys/arch/mvme88k/mvme88k/locore.S
+++ b/sys/arch/mvme88k/mvme88k/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.32 2003/10/15 17:22:31 miod Exp $ */
+/* $OpenBSD: locore.S,v 1.33 2003/10/15 17:48:36 miod Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -105,6 +105,10 @@ GLOBAL(doboot)
set r4, r4, 1<23> /* set SYSRST bit - bit 23 */
st r4, r3, 0x0060 /* and store it back */
1:
+ ld r4, r3, 0x0104 /* try local reset, then */
+ set r4, r4, 1<7>
+ st r4, r3, 0x0104
+
/*
* We will be here if the reset above failed. In this case,
* we will try to return to bug.