NetBSD/sys/arch/sh3/include/setjmp.h

23 lines
507 B
C
Raw Normal View History

/* $NetBSD: setjmp.h,v 1.3 2006/01/05 00:50:23 uwe Exp $ */
/*
* machine/setjmp.h: machine dependent setjmp-related information.
*/
2002-04-28 21:10:32 +04:00
#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