2 Copyright © 2015, The AROS Development Team. All rights reserved.
5 Desc: ANSI C function sigsetjmp()
9 #include "aros/arm/asm.h"
13 .global AROS_CDEFNAME(sigsetjmp)
14 .type AROS_CDEFNAME(sigsetjmp),%function
16 AROS_CDEFNAME
(sigsetjmp
):
17 mov ip
, r0 /* Get the env address */
18 str
lr, [ip
], #4 /* store return address explicitly */
19 stmia ip
!, {r4, r5, r6, r7, r8, r9, sl, fp
, sp
} /* store non-scratch regs */
20 mov
r0, #0 /* return zero */
29 fstmiax ip
!, {d8-d15
} /* Store VFP registers - we assume they are available! */
30 fmrx
r2, fpscr /* VFP condition codes */