Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * This file is subject to the terms and conditions of the GNU General Public
0004  * License.  See the file "COPYING" in the main directory of this archive
0005  * for more details.
0006  *
0007  * Copyright (C) 1998, 1999, 2001, 2003 Ralf Baechle
0008  * Copyright (C) 2000, 2001 Silicon Graphics, Inc.
0009  */
0010 #ifndef _UAPI_ASM_SIGINFO_H
0011 #define _UAPI_ASM_SIGINFO_H
0012 
0013 #define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(long) + 2*sizeof(int))
0014 
0015 #define __ARCH_HAS_SWAPPED_SIGINFO
0016 
0017 #include <asm-generic/siginfo.h>
0018 
0019 /*
0020  * si_code values
0021  * Again these have been chosen to be IRIX compatible.
0022  */
0023 #undef SI_ASYNCIO
0024 #undef SI_TIMER
0025 #undef SI_MESGQ
0026 #define SI_ASYNCIO  -2  /* sent by AIO completion */
0027 #define SI_TIMER    -3  /* sent by timer expiration */
0028 #define SI_MESGQ    -4  /* sent by real time mesq state change */
0029 
0030 #endif /* _UAPI_ASM_SIGINFO_H */