summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-03-22 23:42:53 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-03-22 23:42:53 +0000
commit936227acb19fa610fd5a8aae7c87b9f5a701260d (patch)
tree4c8638ab7f4be57673cf2dd781bdcc30c57d0ee1 /sys/arch/hppa
parent1341dc3831a468baa154f72db11126d66f215f8c (diff)
handle d/i prot traps proper
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/trap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/hppa/hppa/trap.c b/sys/arch/hppa/hppa/trap.c
index 5798b6cbff0..facdb885e32 100644
--- a/sys/arch/hppa/hppa/trap.c
+++ b/sys/arch/hppa/hppa/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.25 2001/01/29 00:01:59 mickey Exp $ */
+/* $OpenBSD: trap.c,v 1.26 2001/03/22 23:42:52 mickey Exp $ */
/*
* Copyright (c) 1998-2000 Michael Shalayeff
@@ -30,8 +30,8 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#undef INTRDEBUG
-#undef TRAPDEBUG
+/* #define INTRDEBUG */
+/* #define TRAPDEBUG */
#include <sys/param.h>
#include <sys/systm.h>
@@ -300,8 +300,6 @@ ddb_regs = *frame;
trapsignal(p, SIGSEGV, vftype, SEGV_ACCERR, sv);
break;
- case T_DPROT:
- case T_IPROT:
case T_DATACC: case T_USER | T_DATACC:
case T_ITLBMISS: case T_USER | T_ITLBMISS:
case T_DTLBMISS: case T_USER | T_DTLBMISS:
@@ -422,6 +420,8 @@ return;
splx(s);
break;
+ case T_DPROT:
+ case T_IPROT:
case T_OVERFLOW:
case T_CONDITION:
case T_ILLEGAL: