xref: /freebsd/sys/arm64/include/signal.h (revision 29363fb446372cb3f10bc98664e9767c53fbb457)
1412042e2SAndrew Turner /*-
2412042e2SAndrew Turner  * Copyright (c) 1986, 1989, 1991, 1993
3412042e2SAndrew Turner  *      The Regents of the University of California.  All rights reserved.
4412042e2SAndrew Turner  *
5412042e2SAndrew Turner  * Redistribution and use in source and binary forms, with or without
6412042e2SAndrew Turner  * modification, are permitted provided that the following conditions
7412042e2SAndrew Turner  * are met:
8412042e2SAndrew Turner  * 1. Redistributions of source code must retain the above copyright
9412042e2SAndrew Turner  *    notice, this list of conditions and the following disclaimer.
10412042e2SAndrew Turner  * 2. Redistributions in binary form must reproduce the above copyright
11412042e2SAndrew Turner  *    notice, this list of conditions and the following disclaimer in the
12412042e2SAndrew Turner  *    documentation and/or other materials provided with the distribution.
13f72c920cSEd Maste  * 3. Neither the name of the University nor the names of its contributors
14412042e2SAndrew Turner  *    may be used to endorse or promote products derived from this software
15412042e2SAndrew Turner  *    without specific prior written permission.
16412042e2SAndrew Turner  *
17412042e2SAndrew Turner  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
18412042e2SAndrew Turner  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19412042e2SAndrew Turner  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20412042e2SAndrew Turner  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
21412042e2SAndrew Turner  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22412042e2SAndrew Turner  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23412042e2SAndrew Turner  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24412042e2SAndrew Turner  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25412042e2SAndrew Turner  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26412042e2SAndrew Turner  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27412042e2SAndrew Turner  * SUCH DAMAGE.
28412042e2SAndrew Turner  *	from: FreeBSD: src/sys/i386/include/signal.h,v 1.13 2000/11/09
29412042e2SAndrew Turner  *	from: FreeBSD: src/sys/sparc64/include/signal.h,v 1.6 2001/09/30 18:52:17
30412042e2SAndrew Turner  */
31412042e2SAndrew Turner 
32*d5d97bedSMike Karels #ifdef __arm__
33*d5d97bedSMike Karels #include <arm/signal.h>
34*d5d97bedSMike Karels #else /* !__arm__ */
35*d5d97bedSMike Karels 
36412042e2SAndrew Turner #ifndef	_MACHINE_SIGNAL_H_
37412042e2SAndrew Turner #define	_MACHINE_SIGNAL_H_
38412042e2SAndrew Turner 
39412042e2SAndrew Turner #include <sys/cdefs.h>
40412042e2SAndrew Turner 
41412042e2SAndrew Turner typedef	long sig_atomic_t;
42412042e2SAndrew Turner 
43412042e2SAndrew Turner #if __BSD_VISIBLE
44412042e2SAndrew Turner 
45412042e2SAndrew Turner struct sigcontext {
46412042e2SAndrew Turner 	int _dummy;
47412042e2SAndrew Turner };
48412042e2SAndrew Turner 
49412042e2SAndrew Turner #endif
50412042e2SAndrew Turner 
51412042e2SAndrew Turner #endif /* !_MACHINE_SIGNAL_H_ */
52*d5d97bedSMike Karels 
53*d5d97bedSMike Karels #endif /* !__arm__ */
54