1 /* $OpenBSD: setjmp.h,v 1.1 2004/01/28 01:39:39 mickey Exp $ */
2 /* $NetBSD: setjmp.h,v 1.1 2003/04/26 18:39:47 fvdl Exp $ */
4 /*
5 * machine/setjmp.h: machine dependent setjmp-related information.
6 * These are only the callee-saved registers, code calling setjmp
7 * will expect the rest to be clobbered anyway.
8 */
10 #define _JB_RBX 0
11 #define _JB_RBP 1
12 #define _JB_R12 2
13 #define _JB_R13 3
14 #define _JB_R14 4
15 #define _JB_R15 5
16 #define _JB_RSP 6
17 #define _JB_PC 7
18 #define _JB_SIGFLAG 8
19 #define _JB_SIGMASK 9
21 #define _JBLEN 11 /* size, in longs, of a jmp_buf */