4 * Created on: Aug 5, 2009
10 #include "aros/armeb/asm.h"
14 .global AROS_CDEFNAME(vfork_longjmp)
15 .type AROS_CDEFNAME(vfork_longjmp),%function
17 AROS_CDEFNAME
(vfork_longjmp
):
18 mov ip
, r0 /* env into ip register */
19 ldr
lr, [ip
], #4 /* restore return address */
20 mov
r0, r1 /* return value from longjmp into r0 and generate condition code */
21 ldmia ip
!, {r4, r5, r6, r7, r8, r9, sl, fp
, sp
} /* restore non-scratch regs */
30 fldmiax ip
!, {d8-d15
} /* Restore VFP registers - we assume they are available! */
31 ldr
r1, [ip
], #4 /* restore VFP status reg */