Home | History | Annotate | Line # | Download | only in include
      1 /*	$NetBSD: setjmp.h,v 1.2 2008/10/26 00:08:15 mrg Exp $	*/
      2 
      3 #ifdef __x86_64__
      4 
      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  */
     10 
     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
     21 
     22 #define	_JBLEN	11		/* size, in longs, of a jmp_buf */
     23 
     24 #else	/*	__x86_64__	*/
     25 
     26 #include <i386/setjmp.h>
     27 
     28 #endif	/*	__x86_64__	*/
     29