Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips Removed the IRIX signal trampoline, which...



details:   https://anonhg.NetBSD.org/src/rev/093c1bca7dce
branches:  trunk
changeset: 525661:093c1bca7dce
user:      manu <manu%NetBSD.org@localhost>
date:      Sun Apr 14 21:52:25 2002 +0000

description:
Removed the IRIX signal trampoline, which is useless now we use the signal
trampoline provided by IRIX libc.

diffstat:

 sys/arch/mips/mips/locore.S |  19 +------------------
 1 files changed, 1 insertions(+), 18 deletions(-)

diffs (33 lines):

diff -r ea6acd7c1256 -r 093c1bca7dce sys/arch/mips/mips/locore.S
--- a/sys/arch/mips/mips/locore.S       Sun Apr 14 21:50:49 2002 +0000
+++ b/sys/arch/mips/mips/locore.S       Sun Apr 14 21:52:25 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.137 2002/04/13 10:52:59 manu Exp $        */
+/*     $NetBSD: locore.S,v 1.138 2002/04/14 21:52:25 manu Exp $        */
 
 /*
  * Copyright (c) 1992, 1993
@@ -202,23 +202,6 @@
 #undef SYSCALL_SHIFT
 #endif
 
-#ifdef COMPAT_IRIX
-#define SYSCALL_SHIFT 1000             # 1000 shift as in irix_syscall.c
-LEAF_NOPROFILE(irix_sigcode)
-#      lw      t1,32(sp)
-#      lw      t0,28(sp)
-#      sw      t1,0(t0)                # *sf.isf_uep = sf.isf_errno
-       lw      a0,40(sp)
-       lw      a1,44(sp)
-       lw      a2,36(sp)
-       li      v0, IRIX_SYS_sigreturn  + SYSCALL_SHIFT
-       syscall         # sigreturn(sf.isf_scp, sf.isf_ucp, sf.isf_signo)
-       break   0       # just in case sigreturn fails
-END(irix_sigcode)
-XLEAF(irix_esigcode)
-#undef SYSCALL_SHIFT
-#endif
-
 /*
  * The following primitives manipulate the run queues.  whichqs tells which
  * of the 32 queues qs have processes in them.  Setrunqueue puts processes



Home | Main Index | Thread Index | Old Index