4 /* Combined parts of include/setjmp.h and include/machine/setjmp.h in
5 * newlib 1.17.0, with minor changes for Rockbox.
11 * All callee preserved registers:
12 * v1 - v7, fp, ip, sp, lr, f4, f5, f6, f7
17 /* necv70 was 9 as well. */
21 * onsstack,sigmask,sp,pc,psl,d2-d7,a2-a6,
23 * All else recovered by under/over(flow) handling.
30 #define _JBTYPE long long
32 #ifdef __mips_soft_float
43 #define _JBTYPE long long
45 /* r8 through r15 (callee saved), pr, fp regs if available */
52 typedef _JBTYPE
jmp_buf[_JBLEN
];
54 typedef int jmp_buf[_JBLEN
];
61 extern void longjmp(jmp_buf __jmpb
, int __retval
);
62 extern int setjmp(jmp_buf __jmpb
);