Garbage collect the "kernel jump to zero" stuff. VA 0 is now invalid,

so the kernel will fault if the PC gets trashed like that.
This commit is contained in:
thorpej 1996-10-14 22:11:16 +00:00
parent a5461e87e1
commit d2daeab10d
2 changed files with 3 additions and 15 deletions
sys/arch/hp300/hp300

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.60 1996/10/14 20:02:48 thorpej Exp $ */
/* $NetBSD: locore.s,v 1.61 1996/10/14 22:11:16 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995 Gordon W. Ross
@ -74,18 +74,6 @@ tmpstk:
#include <hp300/hp300/vectors.s>
.text
/*
* This is where we wind up if the kernel jumps to location 0.
* (i.e. a bogus PC) This is known to immediately follow the vector
* table and is hence at 0x400 (see reset vector in vectors.s).
*/
.globl _panic
pea Ljmp0panic
jbsr _panic
/* NOTREACHED */
Ljmp0panic:
.asciz "kernel jump to zero"
.even
/*
* Do a dump.

@ -1,4 +1,4 @@
| $NetBSD: vectors.s,v 1.9 1996/05/18 00:52:53 thorpej Exp $
| $NetBSD: vectors.s,v 1.10 1996/10/14 22:11:18 thorpej Exp $
| Copyright (c) 1988 University of Utah
| Copyright (c) 1990, 1993
@ -47,7 +47,7 @@
.globl _vectab
_vectab:
.long 0x4ef80400 /* 0: jmp 0x400:w (unused reset SSP) */
.long 0 /* 0: NOT USED (reset SSP) */
.long 0 /* 1: NOT USED (reset PC) */
.long _buserr /* 2: bus error */
.long _addrerr /* 3: address error */