minix/lib/libc/arch/arm/sys-minix/__sigreturn.S

10 lines
384 B
ArmAsm
Raw Normal View History

2012-08-28 19:34:08 +02:00
/* This routine is the low-level code for returning from signals. */
/* It calls _sigreturn, which is the normal "system call" routine. */
/* Both __sigreturn and _sigreturn are needed. */
#include <machine/asm.h>
IMPORT(sigreturn)
2012-08-28 19:34:08 +02:00
ENTRY(__sigreturn)
pop {r0} /* load sigframe.sf_scp into r0 as parameter */
b _C_LABEL(sigreturn) /* _sigreturn(struct sigcontext *sf_scpcopy) */