diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-10-15 17:48:37 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-10-15 17:48:37 +0000 |
commit | f39c0b5cfde7ff48a9d49b8b4195ed2572c06a63 (patch) | |
tree | 42676686b054592a1b09d3fcff9c8326a08b7f5f /sys | |
parent | 96eadd94f4b3ed35ff64b4e0992bb41b72a4916b (diff) |
Better reset code, even.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/locore.S | 6 |
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. |