If !COMPAT_13, make trap #1 produce an illegal instruction. Fix the comment
for trap #2 to reflect that it's the trace trap.
This commit is contained in:
parent
a11e6632a8
commit
1e62485c23
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vectors.s,v 1.10 1998/09/30 22:14:11 thorpej Exp $ */
|
||||
/* $NetBSD: vectors.s,v 1.11 1998/09/30 23:13:58 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah
|
||||
@ -81,8 +81,12 @@ Lvectab:
|
||||
.long _lev6intr /* 30: level 6 interrupt autovector */
|
||||
.long _lev7intr /* 31: level 7 interrupt autovector */
|
||||
.long _trap0 /* 32: syscalls */
|
||||
.long _trap1 /* 33: compat_13_sigreturn or breakpoint */
|
||||
.long _trap2 /* 34: breakpoint or compat_13_sigreturn */
|
||||
#ifdef COMPAT_13
|
||||
.long _trap1 /* 33: compat_13_sigreturn */
|
||||
#else
|
||||
.long _illinst
|
||||
#endif
|
||||
.long _trap2 /* 34: trace */
|
||||
.long _trap3 /* 35: special handling syscalls */
|
||||
.long _illinst /* 36: TRAP instruction vector */
|
||||
.long _illinst /* 37: TRAP instruction vector */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vectors.s,v 1.10 1998/09/30 22:14:11 thorpej Exp $ */
|
||||
/* $NetBSD: vectors.s,v 1.11 1998/09/30 23:13:58 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah
|
||||
@ -81,8 +81,12 @@ _autovects:
|
||||
.long _lev6intr | 30: level 6 interrupt autovector
|
||||
.long _lev7intr | 31: level 7 interrupt autovector
|
||||
.long _trap0 | 32: syscalls
|
||||
.long _trap1 | 33: compat_13_sigreturn or breakpoint
|
||||
.long _trap2 | 34: breakpoint or compat_13_sigreturn
|
||||
#ifdef COMPAT_13
|
||||
.long _trap1 | 33: compat_13_sigreturn
|
||||
#else
|
||||
.long _illinst
|
||||
#endif
|
||||
.long _trap2 | 34: trace
|
||||
.long _trap3 | 35: special handling syscalls
|
||||
.long _illinst | 36: TRAP instruction vector
|
||||
.long _illinst | 37: TRAP instruction vector
|
||||
|
@ -1,4 +1,4 @@
|
||||
| $NetBSD: vectors.s,v 1.13 1998/09/30 22:14:12 thorpej Exp $
|
||||
| $NetBSD: vectors.s,v 1.14 1998/09/30 23:13:58 thorpej Exp $
|
||||
|
||||
| Copyright (c) 1997 Jason R. Thorpe. All rights reserved.
|
||||
| Copyright (c) 1988 University of Utah
|
||||
@ -86,8 +86,12 @@ GLOBAL(vectab)
|
||||
VECTOR(lev6intr) /* 30: level 6 interrupt autovector */
|
||||
VECTOR(lev7intr) /* 31: level 7 interrupt autovector */
|
||||
VECTOR(trap0) /* 32: syscalls */
|
||||
VECTOR(trap1) /* 33: compat_13_sigreturn or breakpoint */
|
||||
VECTOR(trap2) /* 34: breakpoint or compat_13_sigreturn */
|
||||
#ifdef COMPAT_13
|
||||
VECTOR(trap1) /* 33: compat_13_sigreturn */
|
||||
#else
|
||||
VECTOR(illinst)
|
||||
#endif
|
||||
VECTOR(trap2) /* 34: trace */
|
||||
VECTOR(trap3) /* 35: special handling syscalls */
|
||||
VECTOR(illinst) /* 36: TRAP instruction vector */
|
||||
VECTOR(illinst) /* 37: TRAP instruction vector */
|
||||
|
@ -1,4 +1,4 @@
|
||||
| $NetBSD: vectors.s,v 1.11 1998/09/30 22:14:12 thorpej Exp $
|
||||
| $NetBSD: vectors.s,v 1.12 1998/09/30 23:13:59 thorpej Exp $
|
||||
|
||||
| Copyright (c) 1988 University of Utah
|
||||
| Copyright (c) 1990 Regents of the University of California.
|
||||
@ -84,7 +84,11 @@ GLOBAL(vectab)
|
||||
VECTOR(intrhand) /* 30: level 6 interrupt autovector */
|
||||
VECTOR(lev7intr) /* 31: level 7 interrupt autovector */
|
||||
VECTOR(trap0) /* 32: syscalls */
|
||||
VECTOR(trap1) /* 33: compat_13_sigreturn or breakpoint */
|
||||
#ifdef COMPAT_13
|
||||
VECTOR(trap1) /* 33: compat_13_sigreturn */
|
||||
#else
|
||||
VECTOR(illinst)
|
||||
#endif
|
||||
VECTOR(trap2) /* 34: breakpoint or compat_13_sigreturn */
|
||||
VECTOR(trap3) /* 35: special handling syscalls */
|
||||
VECTOR(illinst) /* 36: TRAP instruction vector */
|
||||
|
@ -1,4 +1,4 @@
|
||||
| $NetBSD: vectors.s,v 1.4 1998/09/30 22:14:12 thorpej Exp $
|
||||
| $NetBSD: vectors.s,v 1.5 1998/09/30 23:13:59 thorpej Exp $
|
||||
|
||||
| Copyright (c) 1988 University of Utah
|
||||
| Copyright (c) 1990, 1993
|
||||
@ -79,8 +79,12 @@ _vectab:
|
||||
.long _intrhand_autovec /* 30: level 6 interrupt autovector */
|
||||
.long _lev7intr /* 31: level 7 interrupt autovector */
|
||||
.long _trap0 /* 32: syscalls */
|
||||
.long _trap1 /* 33: compat_13_sigreturn or breakpoint */
|
||||
.long _trap2 /* 34: breakpoint or compat_13_sigreturn */
|
||||
#ifdef COMPAT_13
|
||||
.long _trap1 /* 33: compat_13_sigreturn */
|
||||
#else
|
||||
.long _illinst
|
||||
#endif
|
||||
.long _trap2 /* 34: trace */
|
||||
.long _trap3 /* 35: special handling syscalls */
|
||||
.long _illinst /* 36: TRAP instruction vector */
|
||||
.long _illinst /* 37: TRAP instruction vector */
|
||||
|
@ -1,4 +1,4 @@
|
||||
| $NetBSD: vectors.s,v 1.2 1998/09/30 22:14:12 thorpej Exp $
|
||||
| $NetBSD: vectors.s,v 1.3 1998/09/30 23:13:59 thorpej Exp $
|
||||
|
||||
| Copyright (c) 1988 University of Utah
|
||||
| Copyright (c) 1990 Regents of the University of California.
|
||||
@ -84,8 +84,12 @@ GLOBAL(vectab)
|
||||
VECTOR(intrhand_autovec)/* 30: level 6 interrupt autovector */
|
||||
VECTOR(lev7intr) /* 31: level 7 interrupt autovector */
|
||||
VECTOR(trap0) /* 32: syscalls */
|
||||
VECTOR(trap1) /* 33: compat_13_sigreturn or breakpoint */
|
||||
VECTOR(trap2) /* 34: breakpoint or compat_13_sigreturn */
|
||||
#ifdef COMPAT_13
|
||||
VECTOR(trap1) /* 33: compat_13_sigreturn */
|
||||
#else
|
||||
VECTOR(illinst)
|
||||
#endif
|
||||
VECTOR(trap2) /* 34: trace */
|
||||
VECTOR(trap3) /* 35: special handling syscalls */
|
||||
VECTOR(illinst) /* 36: TRAP instruction vector */
|
||||
VECTOR(illinst) /* 37: TRAP instruction vector */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vector.c,v 1.18 1998/09/30 22:14:13 thorpej Exp $ */
|
||||
/* $NetBSD: vector.c,v 1.19 1998/09/30 23:13:59 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||
@ -92,8 +92,12 @@ void *vector_table[NVECTORS] = {
|
||||
_isr_autovec, /* 30: level 6 interrupt autovector */
|
||||
_isr_autovec, /* 31: level 7 interrupt autovector */
|
||||
trap0, /* 32: syscalls */
|
||||
#ifdef COMPAT_13
|
||||
trap1, /* 33: compat_13_sigreturn */
|
||||
trap2, /* 34: HPUX breakpoint */
|
||||
#else
|
||||
illinst,
|
||||
#endif
|
||||
trap2, /* 34: trace */
|
||||
trap3, /* 35: special handling syscalls */
|
||||
illinst, /* 36: TRAP instruction vector */
|
||||
illinst, /* 37: TRAP instruction vector */
|
||||
|
@ -1,4 +1,4 @@
|
||||
| $NetBSD: vectors.s,v 1.4 1998/09/30 22:14:13 thorpej Exp $
|
||||
| $NetBSD: vectors.s,v 1.5 1998/09/30 23:13:59 thorpej Exp $
|
||||
|
||||
| Copyright (c) 1988 University of Utah
|
||||
| Copyright (c) 1990, 1993
|
||||
@ -82,8 +82,12 @@ _vectab:
|
||||
.long _lev6intr /* 30: level 6 interrupt autovector */
|
||||
.long _lev7intr /* 31: level 7 interrupt autovector */
|
||||
.long _trap0 /* 32: syscalls */
|
||||
.long _trap1 /* 33: compat_13_sigreturn or breakpoint */
|
||||
.long _trap2 /* 34: breakpoint or compat_13_sigreturn */
|
||||
#ifdef COMPAT_13
|
||||
.long _trap1 /* 33: compat_13_sigreturn */
|
||||
#else
|
||||
.long _illinst
|
||||
#endif
|
||||
.long _trap2 /* 34: trace */
|
||||
.long _trap3 /* 35: special handling syscalls */
|
||||
.long _illinst /* 36: TRAP instruction vector */
|
||||
.long _illinst /* 37: TRAP instruction vector */
|
||||
|
Loading…
Reference in New Issue
Block a user