summaryrefslogtreecommitdiff
path: root/sys/arch/pc532
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-12 16:45:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-12 16:45:26 +0000
commit9807134aa8d672508c00c5979b471c50767a4a58 (patch)
treee9160bab39fc6bc72b1cad6589855a74bd436f02 /sys/arch/pc532
parent7d1dbee8e40acdc6772a2bc6c608dd3f8f592813 (diff)
SIGBUS is an alignment fault. SIGSEGV is an access violation
Diffstat (limited to 'sys/arch/pc532')
-rw-r--r--sys/arch/pc532/pc532/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/pc532/pc532/trap.c b/sys/arch/pc532/pc532/trap.c
index d72213d7d48..300ff782d5b 100644
--- a/sys/arch/pc532/pc532/trap.c
+++ b/sys/arch/pc532/pc532/trap.c
@@ -176,7 +176,7 @@ copyfault:
* APDEpde (or there may be no problem with APDEpde).
*/
if (va > 0xFEBFF000) {
- v = KERN_FAILURE; /* becomes SIGBUS */
+ v = KERN_FAILURE; /* becomes SIGSEGV */
goto nogo;
}
/*
@@ -253,7 +253,7 @@ nogo:
type, tear, msr);
goto we_re_toast;
}
- i = (rv == KERN_PROTECTION_FAILURE) ? SIGBUS : SIGSEGV;
+ i = SIGSEGV;
break;
}