Provide defines for offsets into the jump buffer.
This commit is contained in:
parent
2217927fda
commit
5b2d014092
|
@ -1,7 +1,22 @@
|
|||
/* $NetBSD: setjmp.h,v 1.2 2002/04/28 17:10:36 uch Exp $ */
|
||||
/* $NetBSD: setjmp.h,v 1.3 2006/01/05 00:50:23 uwe Exp $ */
|
||||
|
||||
/*
|
||||
* machine/setjmp.h: machine dependent setjmp-related information.
|
||||
*/
|
||||
|
||||
#define _JBLEN 14 /* size, in longs, of a jmp_buf */
|
||||
|
||||
#define _JB_REG_PR 0
|
||||
#define _JB_REG_R8 1
|
||||
#define _JB_REG_R9 2
|
||||
#define _JB_REG_R10 3
|
||||
#define _JB_REG_R11 4
|
||||
#define _JB_REG_R12 5
|
||||
#define _JB_REG_R13 6
|
||||
#define _JB_REG_R14 7
|
||||
#define _JB_REG_R15 8
|
||||
|
||||
#define _JB_HAS_MASK 9
|
||||
#define _JB_SIGMASK 10 /* occupies sizeof(sigset_t) = 4 slots */
|
||||
|
||||
#define _JB_REG_SP _JB_REG_R15
|
||||
|
|
Loading…
Reference in New Issue