diff options
author | 2003-09-01 20:06:02 +0000 | |
---|---|---|
committer | 2003-09-01 20:06:02 +0000 | |
commit | fc3567780d7a5d7ed619e3db990dd6b7a92ff6e2 (patch) | |
tree | c8720b9e8c053d820f02ef211e59f01053d0cacf | |
parent | A simple regression test to catch which trap vectors, when invoked from (diff) | |
download | wireguard-openbsd-fc3567780d7a5d7ed619e3db990dd6b7a92ff6e2.tar.xz wireguard-openbsd-fc3567780d7a5d7ed619e3db990dd6b7a92ff6e2.zip |
Be sure to always provide a nonzero number in PREP() and PREP2() for software
traps not tied to a particular vector, in order to correctly process data
access faults whenever necessary, before servicing the trap.
-rw-r--r-- | sys/arch/mvme88k/mvme88k/eh.S | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/mvme88k/mvme88k/eh.S b/sys/arch/mvme88k/mvme88k/eh.S index ac2e5d1b513..f3997bdcd94 100644 --- a/sys/arch/mvme88k/mvme88k/eh.S +++ b/sys/arch/mvme88k/mvme88k/eh.S @@ -1,4 +1,4 @@ -/* $OpenBSD: eh.S,v 1.33 2003/08/21 20:45:43 miod Exp $ */ +/* $OpenBSD: eh.S,v 1.34 2003/09/01 20:06:02 miod Exp $ */ /* * Mach Operating System * Copyright (c) 1993-1991 Carnegie Mellon University @@ -590,22 +590,22 @@ GLOBAL(bugtrap) DONE(DEBUG_BUGCALL_BIT) GLOBAL(sigsys) - PREP("sigsys", 0, DEBUG_SIGSYS_BIT, No_SSBR_Stuff, No_Precheck) + PREP("sigsys", 501, DEBUG_SIGSYS_BIT, No_SSBR_Stuff, No_Precheck) CALL(_C_LABEL(m88100_trap), T_SIGSYS, r30) DONE(DEBUG_SIGSYS_BIT) GLOBAL(sigtrap) - PREP("sigtrap", 0, DEBUG_SIGTRAP_BIT, No_SSBR_Stuff, No_Precheck) + PREP("sigtrap", 510, DEBUG_SIGTRAP_BIT, No_SSBR_Stuff, No_Precheck) CALL(_C_LABEL(m88100_trap), T_SIGTRAP, r30) DONE(DEBUG_SIGTRAP_BIT) GLOBAL(stepbpt) - PREP("stepbpt", 0, DEBUG_SIGTRAP_BIT, No_SSBR_Stuff, No_Precheck) + PREP("stepbpt", 504, DEBUG_SIGTRAP_BIT, No_SSBR_Stuff, No_Precheck) CALL(_C_LABEL(m88100_trap), T_STEPBPT, r30) DONE(DEBUG_SIGTRAP_BIT) GLOBAL(userbpt) - PREP("userbpt", 0, DEBUG_SIGTRAP_BIT, No_SSBR_Stuff, No_Precheck) + PREP("userbpt", 511, DEBUG_SIGTRAP_BIT, No_SSBR_Stuff, No_Precheck) CALL(_C_LABEL(m88100_trap), T_USERBPT, r30) DONE(DEBUG_SIGTRAP_BIT) @@ -2317,22 +2317,22 @@ GLOBAL(m88110_bugtrap) DONE(DEBUG_BUGCALL_BIT) GLOBAL(m88110_sigsys) - PREP2("sigsys", 0, DEBUG_SIGSYS_BIT, No_SSBR_Stuff, No_Precheck) + PREP2("sigsys", 501, DEBUG_SIGSYS_BIT, No_SSBR_Stuff, No_Precheck) CALL(_C_LABEL(m88110_trap), T_SIGSYS, r30) DONE(DEBUG_SIGSYS_BIT) GLOBAL(m88110_sigtrap) - PREP2("sigtrap", 0, DEBUG_SIGTRAP_BIT, No_SSBR_Stuff, No_Precheck) + PREP2("sigtrap", 510, DEBUG_SIGTRAP_BIT, No_SSBR_Stuff, No_Precheck) CALL(_C_LABEL(m88110_trap), T_SIGTRAP, r30) DONE(DEBUG_SIGTRAP_BIT) GLOBAL(m88110_stepbpt) - PREP2("sigtrap", 0, DEBUG_SIGTRAP_BIT, No_SSBR_Stuff, No_Precheck) + PREP2("stepbpt", 504, DEBUG_SIGTRAP_BIT, No_SSBR_Stuff, No_Precheck) CALL(_C_LABEL(m88110_trap), T_STEPBPT, r30) DONE(DEBUG_SIGTRAP_BIT) GLOBAL(m88110_userbpt) - PREP2("sigtrap", 0, DEBUG_SIGTRAP_BIT, No_SSBR_Stuff, No_Precheck) + PREP2("userbpt", 511, DEBUG_SIGTRAP_BIT, No_SSBR_Stuff, No_Precheck) CALL(_C_LABEL(m88110_trap), T_USERBPT, r30) DONE(DEBUG_SIGTRAP_BIT) |