From 808a8304af96b11cd244b87ac335a3a6ee7c2ced Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 25 Sep 2005 20:30:04 +0000 Subject: 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. --- sys/arch/m88k/m88k/eh_common.S | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'sys/arch/m88k') 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) -- cgit v1.2.3