From 83c63bd2def3a3f0d0eea8ce7f26239586de5724 Mon Sep 17 00:00:00 2001 From: thorpej Date: Mon, 12 May 1997 07:56:00 +0000 Subject: [PATCH] - Always build a romout() stub. - If kbdnmi() returns, stop cold, since it shouldn't. --- sys/arch/hp300/stand/common/srt0.S | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sys/arch/hp300/stand/common/srt0.S b/sys/arch/hp300/stand/common/srt0.S index b75491d4c145..7e39a05ad382 100644 --- a/sys/arch/hp300/stand/common/srt0.S +++ b/sys/arch/hp300/stand/common/srt0.S @@ -1,4 +1,4 @@ -/* $NetBSD: srt0.S,v 1.3 1997/04/27 21:10:06 thorpej Exp $ */ +/* $NetBSD: srt0.S,v 1.4 1997/05/12 07:56:00 thorpej Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -303,17 +303,16 @@ Lstop: ASENTRY_NOPROFILE(nmi) movw #18,BOOTTYPE | mark as system switch - jsr _C_LABEL(kbdnmi) | clear the interrupt - jra begin | start over + jsr _C_LABEL(kbdnmi) | clear the interrupt, and + | reset the system + stop #0 | SCREEEECH! ENTRY_NOPROFILE(call_req_reboot) jmp 0x1A4 | call ROM reboot function rts | XXX: just in case? -#ifdef ROMPRF ENTRY_NOPROFILE(romout) movl sp@(4),d0 | line number movl sp@(8),a0 | string jsr 0x150 | do it rts -#endif