1 /* $NetBSD: setjmp.S,v 1.4 2002/07/30 06:07:57 matt Exp $ */
3 #include <sys/syscall.h>
5 #include <machine/asm.h>
9 .asciz "$NetBSD: setjmp.S,v 1.4 2002/07/30 06:07:57 matt Exp $"
13 * C library -- _setjmp, _longjmp
16 * will generate a "return(v?v:1)" from the last call to
18 * by restoring registers from the stack.
19 * The previous signal state is restored.
26 li %r0,SYS_compat_13_sigprocmask13
27 sc # assume no error XXX
45 li %r3,3 # SIG_SETMASK
46 li %r0,SYS_compat_13_sigprocmask13
47 sc # assume no error XXX