4 /* Combined parts of include/setjmp.h and include/machine/setjmp.h in
5 * newlib 1.17.0, with minor changes for Rockbox.
10 * All callee preserved registers:
11 * v1 - v7, fp, ip, sp, lr, f4, f5, f6, f7
16 /* necv70 was 9 as well. */
20 * onsstack,sigmask,sp,pc,psl,d2-d7,a2-a6,
22 * All else recovered by under/over(flow) handling.
29 #define _JBTYPE long long
31 #ifdef __mips_soft_float
38 #if 0 /* Disabled for now, as SH doesn't have setjmp implementation (yet) */
42 #define _JBTYPE long long
51 typedef _JBTYPE
jmp_buf[_JBLEN
];
53 typedef int jmp_buf[_JBLEN
];
60 extern void longjmp(jmp_buf __jmpb
, int __retval
);
61 extern int setjmp(jmp_buf __jmpb
);