mtw(4) remove misplaced DEBUG_FLAGS
[freebsd/src.git] / sys / powerpc / include / setjmp.h
blob5dc463619bca9dc33b0c32695bc5b014ca1b350a
1 /*-
2 * $NetBSD: setjmp.h,v 1.3 1998/09/16 23:51:27 thorpej Exp $
3 */
5 #ifndef _MACHINE_SETJMP_H_
6 #define _MACHINE_SETJMP_H_
8 #include <sys/cdefs.h>
10 #ifdef _KERNEL
11 #define _JBLEN 25 /* Kernel doesn't save FP and Altivec regs */
12 #else
13 #define _JBLEN 100
14 #endif
17 * jmp_buf and sigjmp_buf are encapsulated in different structs to force
18 * compile-time diagnostics for mismatches. The structs are the same
19 * internally to avoid some run-time errors for mismatches.
21 #if __BSD_VISIBLE || __POSIX_VISIBLE || __XSI_VISIBLE
22 typedef struct _sigjmp_buf { long _sjb[_JBLEN + 1]; } sigjmp_buf[1];
23 #endif
25 typedef struct _jmp_buf { long _jb[_JBLEN + 1]; } jmp_buf[1];
27 #endif /* !_MACHINE_SETJMP_H_ */