summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-01-28 09:01:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-01-28 09:01:03 +0000
commitb583fef3adcfd7dd20f2021101b95e4237ff4add (patch)
tree6b5f8b1b93046d1d3493c5fe4a2f195d0c3f66f0 /sys
parent6034a1fb1b3902c9f47a09345dac6bd4b08655aa (diff)
deal with siginfo addition
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme68k/mvme68k/locore.s9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/mvme68k/mvme68k/locore.s b/sys/arch/mvme68k/mvme68k/locore.s
index 7f44ef68d2d..8ac53ca9b19 100644
--- a/sys/arch/mvme68k/mvme68k/locore.s
+++ b/sys/arch/mvme68k/mvme68k/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.10 1996/11/23 23:19:41 kstailey Exp $ */
+/* $OpenBSD: locore.s,v 1.11 1997/01/28 09:01:02 deraadt Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -529,8 +529,9 @@ _proc_trampoline:
* sp+0 -> signal number
* sp+4 signal specific code
* sp+8 pointer to signal context frame (scp)
- * sp+12 address of handler
- * sp+16 saved hardware state
+ * sp+12 pointer to siginfo (sip)
+ * sp+16 address of handler
+ * sp+20 saved hardware state
* .
* .
* scp+0-> beginning of signal context frame
@@ -538,7 +539,7 @@ _proc_trampoline:
.globl _sigcode, _esigcode, _sigcodetrap
.data
_sigcode:
- movl sp@(12),a0 | signal handler addr (4 bytes)
+ movl sp@(16),a0 | signal handler addr (4 bytes)
jsr a0@ | call signal handler (2 bytes)
addql #4,sp | pop signo (2 bytes)
_sigcodetrap: