2 # arch/arm/setjmp-thumb.S
4 # setjmp/longjmp for the ARM/thumb architecture
8 # The jmp_buf is assumed to contain the following, in order:
24 .type setjmp, #function
28 stmia r0!, {r3, r4, r5, r6, r7}
34 stmia r0!, {r3, r4, r5, r6, r7}
42 .type longjmp, #function
47 ldmia r0!, {r3, r4, r5, r6, r7}
53 ldmia r2!, {r3, r4, r5, r6, r7}
58 .size longjmp,.-longjmp