diff options
Diffstat (limited to 'sys/arch/mvme68k/mvme68k/locore.s')
-rw-r--r-- | sys/arch/mvme68k/mvme68k/locore.s | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/arch/mvme68k/mvme68k/locore.s b/sys/arch/mvme68k/mvme68k/locore.s index 8ac53ca9b19..89f4dfd53c8 100644 --- a/sys/arch/mvme68k/mvme68k/locore.s +++ b/sys/arch/mvme68k/mvme68k/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.11 1997/01/28 09:01:02 deraadt Exp $ */ +/* $OpenBSD: locore.s,v 1.12 1997/02/03 15:04:57 deraadt Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -527,11 +527,10 @@ _proc_trampoline: * Stack looks like: * * sp+0 -> signal number - * sp+4 signal specific code + * sp+4 pointer to siginfo (sip) * sp+8 pointer to signal context frame (scp) - * sp+12 pointer to siginfo (sip) - * sp+16 address of handler - * sp+20 saved hardware state + * sp+12 address of handler + * sp+16 saved hardware state * . * . * scp+0-> beginning of signal context frame @@ -539,7 +538,7 @@ _proc_trampoline: .globl _sigcode, _esigcode, _sigcodetrap .data _sigcode: - movl sp@(16),a0 | signal handler addr (4 bytes) + movl sp@(12),a0 | signal handler addr (4 bytes) jsr a0@ | call signal handler (2 bytes) addql #4,sp | pop signo (2 bytes) _sigcodetrap: |