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