NetBSD/sys/arch/x86_64/include/setjmp.h
fvdl 9b4c0e34d2 Initial commit of the port to AMD's upcoming 64 bit architecture, the
x86-64. Since there's no hardware available yet, this port is only
known to run on the Simics simulator for at the moment, and as such
uses the PC devices that it simulates for now. It will be developed
more (and cleaned up) as the hardware becomes available.
2001-06-19 00:19:12 +00:00

21 lines
501 B
C

/* $NetBSD: setjmp.h,v 1.1 2001/06/19 00:20:12 fvdl Exp $ */
/*
* machine/setjmp.h: machine dependent setjmp-related information.
* These are only the callee-saved registers, code calling setjmp
* will expect the rest to be clobbered anyway.
*/
#define _JB_RBX 0
#define _JB_RBP 1
#define _JB_R12 2
#define _JB_R13 3
#define _JB_R14 4
#define _JB_R15 5
#define _JB_RSP 6
#define _JB_PC 7
#define _JB_SIGFLAG 8
#define _JB_SIGMASK 9
#define _JBLEN 11 /* size, in longs, of a jmp_buf */