From f39c0b5cfde7ff48a9d49b8b4195ed2572c06a63 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 15 Oct 2003 17:48:37 +0000 Subject: Better reset code, even. --- sys/arch/mvme88k/mvme88k/locore.S | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys') 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. -- cgit v1.2.3