Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / amd64 / include / setjmp.h
blob52639ab8e4b701ad65a7a1f512e01f97ec8dc859
1 /* $NetBSD: setjmp.h,v 1.1 2003/04/26 18:39:47 fvdl Exp $ */
3 #ifdef __x86_64__
5 /*
6 * machine/setjmp.h: machine dependent setjmp-related information.
7 * These are only the callee-saved registers, code calling setjmp
8 * will expect the rest to be clobbered anyway.
9 */
11 #define _JB_RBX 0
12 #define _JB_RBP 1
13 #define _JB_R12 2
14 #define _JB_R13 3
15 #define _JB_R14 4
16 #define _JB_R15 5
17 #define _JB_RSP 6
18 #define _JB_PC 7
19 #define _JB_SIGFLAG 8
20 #define _JB_SIGMASK 9
22 #define _JBLEN 11 /* size, in longs, of a jmp_buf */
24 #else /* __x86_64__ */
26 #include <i386/setjmp.h>
28 #endif /* __x86_64__ */