1 1.2 mrg /* $NetBSD: setjmp.h,v 1.2 2008/10/26 00:08:15 mrg Exp $ */ 2 1.2 mrg 3 1.2 mrg #ifdef __x86_64__ 4 1.1 fvdl 5 1.1 fvdl /* 6 1.1 fvdl * machine/setjmp.h: machine dependent setjmp-related information. 7 1.1 fvdl * These are only the callee-saved registers, code calling setjmp 8 1.1 fvdl * will expect the rest to be clobbered anyway. 9 1.1 fvdl */ 10 1.1 fvdl 11 1.1 fvdl #define _JB_RBX 0 12 1.1 fvdl #define _JB_RBP 1 13 1.1 fvdl #define _JB_R12 2 14 1.1 fvdl #define _JB_R13 3 15 1.1 fvdl #define _JB_R14 4 16 1.1 fvdl #define _JB_R15 5 17 1.1 fvdl #define _JB_RSP 6 18 1.1 fvdl #define _JB_PC 7 19 1.1 fvdl #define _JB_SIGFLAG 8 20 1.1 fvdl #define _JB_SIGMASK 9 21 1.1 fvdl 22 1.1 fvdl #define _JBLEN 11 /* size, in longs, of a jmp_buf */ 23 1.2 mrg 24 1.2 mrg #else /* __x86_64__ */ 25 1.2 mrg 26 1.2 mrg #include <i386/setjmp.h> 27 1.2 mrg 28 1.2 mrg #endif /* __x86_64__ */ 29