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/mips/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 /* From: NetBSD: setjmp.h,v 1.2 1997/04/06 08:47:41 cgd Exp */
    2 
    3 /*-
    4  * SPDX-License-Identifier: MIT-CMU
    5  *
    6  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
    7  * All rights reserved.
    8  *
    9  * Author: Chris G. Demetriou
   10  *
   11  * Permission to use, copy, modify and distribute this software and
   12  * its documentation is hereby granted, provided that both the copyright
   13  * notice and this permission notice appear in all copies of the
   14  * software, derivative works or modified versions, and any portions
   15  * thereof, and that both notices appear in supporting documentation.
   16  *
   17  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
   18  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
   19  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   20  *
   21  * Carnegie Mellon requests users of this software to return to
   22  *
   23  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   24  *  School of Computer Science
   25  *  Carnegie Mellon University
   26  *  Pittsburgh PA 15213-3890
   27  *
   28  * any improvements or extensions that they make and grant Carnegie the
   29  * rights to redistribute these changes.
   30  *
   31  *      JNPR: setjmp.h,v 1.2 2006/12/02 09:53:41 katta
   32  * $FreeBSD$
   33  */
   34 
   35 #ifndef _MACHINE_SETJMP_H_
   36 #define _MACHINE_SETJMP_H_
   37 
   38 /*
   39  * machine/setjmp.h: machine dependent setjmp-related information.
   40  */
   41 
   42 #include <sys/cdefs.h>
   43 
   44 #define _JBLEN  95              /* size, in longs (or long longs), of a jmp_buf */
   45 
   46 /*
   47  * jmp_buf and sigjmp_buf are encapsulated in different structs to force
   48  * compile-time diagnostics for mismatches.  The structs are the same
   49  * internally to avoid some run-time errors for mismatches.
   50  */
   51 #ifndef _LOCORE
   52 #ifndef __ASSEMBLER__
   53 #if __BSD_VISIBLE || __POSIX_VISIBLE || __XSI_VISIBLE
   54 #ifdef __mips_n32
   55 typedef struct _sigjmp_buf { long long _sjb[_JBLEN + 1]; } sigjmp_buf[1];
   56 #else
   57 typedef struct _sigjmp_buf { long _sjb[_JBLEN + 1]; } sigjmp_buf[1];
   58 #endif
   59 #endif
   60 
   61 #ifdef __mips_n32
   62 typedef struct _jmp_buf { long long _jb[_JBLEN + 1]; } jmp_buf[1];
   63 #else
   64 typedef struct _jmp_buf { long _jb[_JBLEN + 1]; } jmp_buf[1];
   65 #endif
   66 #endif /* __ASSEMBLER__ */
   67 #endif /* _LOCORE */
   68 
   69 #endif /* _MACHINE_SETJMP_H_ */

Cache object: 5f069c64a50df365551b758236e6fcfe


[ 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.