blob: 4067d510a729b9628699f904fc39126df879e052 [file] [log] [blame]
David 'Digit' Turnerc1b44ec2012-10-17 19:10:11 +02001/* $OpenBSD: setjmp.h,v 1.2 2004/08/10 21:10:56 pefo Exp $ */
Raghu Gandham405b8022012-07-25 18:16:42 -07002
David 'Digit' Turnerc1b44ec2012-10-17 19:10:11 +02003/* Public domain */
Raghu Gandham405b8022012-07-25 18:16:42 -07004
David 'Digit' Turnerc1b44ec2012-10-17 19:10:11 +02005#ifndef _MIPS_SETJMP_H_
6#define _MIPS_SETJMP_H_
Raghu Gandham405b8022012-07-25 18:16:42 -07007
Duane Sand3a478632014-11-25 17:33:10 -08008#ifdef __LP64__
Duane Sandb6d301f2015-01-26 14:48:48 -08009#define _JBLEN 25 /* size, in 8-byte longs, of a mips64 jmp_buf/sigjmp_buf */
Duane Sand3a478632014-11-25 17:33:10 -080010#else
Duane Sandb6d301f2015-01-26 14:48:48 -080011#define _JBLEN 157 /* historical size, in 4-byte longs, of a mips32 jmp_buf */
12 /* actual used size is 34 */
Duane Sand3a478632014-11-25 17:33:10 -080013#endif
Raghu Gandham405b8022012-07-25 18:16:42 -070014
David 'Digit' Turnerc1b44ec2012-10-17 19:10:11 +020015#endif /* !_MIPS_SETJMP_H_ */