2012-10-17 19:10:11 +02:00
|
|
|
/* $OpenBSD: setjmp.h,v 1.2 2004/08/10 21:10:56 pefo Exp $ */
|
2012-07-25 18:16:42 -07:00
|
|
|
|
2012-10-17 19:10:11 +02:00
|
|
|
/* Public domain */
|
2012-07-25 18:16:42 -07:00
|
|
|
|
2012-10-17 19:10:11 +02:00
|
|
|
#ifndef _MIPS_SETJMP_H_
|
|
|
|
#define _MIPS_SETJMP_H_
|
2012-07-25 18:16:42 -07:00
|
|
|
|
2014-11-25 17:33:10 -08:00
|
|
|
#ifdef __LP64__
|
2015-01-26 14:48:48 -08:00
|
|
|
#define _JBLEN 25 /* size, in 8-byte longs, of a mips64 jmp_buf/sigjmp_buf */
|
2014-11-25 17:33:10 -08:00
|
|
|
#else
|
2015-01-26 14:48:48 -08:00
|
|
|
#define _JBLEN 157 /* historical size, in 4-byte longs, of a mips32 jmp_buf */
|
|
|
|
/* actual used size is 34 */
|
2014-11-25 17:33:10 -08:00
|
|
|
#endif
|
2012-07-25 18:16:42 -07:00
|
|
|
|
2012-10-17 19:10:11 +02:00
|
|
|
#endif /* !_MIPS_SETJMP_H_ */
|