diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-09-25 20:30:04 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-09-25 20:30:04 +0000 |
commit | 808a8304af96b11cd244b87ac335a3a6ee7c2ced (patch) | |
tree | 8ed20a78e58f3fcf22c86bd93d409701d9397553 /sys/arch/m88k | |
parent | e87ac1dfe6cfb48df118bab1962ebda04cb6e977 (diff) |
Do not consider userland trap #496 (BUG system call on mvme88k) as special
anymore, since we don't want to allow userland to talk to the BUG. Deliver
SIGSYS instead of doing nothing. Makes things simpler, plus it polluted
luna88k.
Diffstat (limited to 'sys/arch/m88k')
-rw-r--r-- | sys/arch/m88k/m88k/eh_common.S | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/arch/m88k/m88k/eh_common.S b/sys/arch/m88k/m88k/eh_common.S index 7ac59c0c979..c3a2e104d97 100644 --- a/sys/arch/m88k/m88k/eh_common.S +++ b/sys/arch/m88k/m88k/eh_common.S @@ -1,4 +1,4 @@ -/* $OpenBSD: eh_common.S,v 1.10 2005/04/30 16:46:51 miod Exp $ */ +/* $OpenBSD: eh_common.S,v 1.11 2005/09/25 20:30:03 miod Exp $ */ /* * Mach Operating System * Copyright (c) 1993-1991 Carnegie Mellon University @@ -532,14 +532,6 @@ GLOBAL(cache_flush_handler) or r2, r0, r30 DONE88100 -/* trap 496: BUG system calls */ -GLOBAL(bugtrap) - PREP88100("bugsyscall", 496,,) - ld r2, r30, GENREG_OFF(9) - bsr.n _C_LABEL(bugsyscall) - or r3, r0, r30 - DONE88100 - GLOBAL(sigsys) PREP88100("sigsys", 501,,) CALL(m88100_trap, T_SIGSYS, r30) @@ -1944,14 +1936,6 @@ GLOBAL(m88110_cache_flush_handler) or r2, r0, r30 DONE88110 -/* trap 496: BUG system calls */ -GLOBAL(m88110_bugtrap) - PREP88110("bugsyscall", 496,) - ld r2, r30, GENREG_OFF(9) - bsr.n _C_LABEL(bugsyscall) - or r3, r0, r30 - DONE88110 - GLOBAL(m88110_sigsys) PREP88110("sigsys", 501,) CALL(m88110_trap, T_SIGSYS, r30) |