The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/powerpc/include/setjmp.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

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

Cache object: 8d3cfb37937a5a2955245a6ea92ab680


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.