Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | *** To edit the content of this header, modify the corresponding |
| 11 | *** source file (e.g. under external/kernel-headers/original/) then |
| 12 | *** run bionic/libc/kernel/tools/update_all.py |
| 13 | *** |
| 14 | *** Any manual change here will be lost the next time this script will |
| 15 | *** be run. You've been warned! |
| 16 | *** |
| 17 | **************************************************************************** |
| 18 | ****************************************************************************/ |
| 19 | #ifndef _UAPI_ASM_SIGINFO_H |
| 20 | #define _UAPI_ASM_SIGINFO_H |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 21 | #define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(long) + 2 * sizeof(int)) |
Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 22 | #undef __ARCH_SI_TRAPNO |
Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 23 | #if _MIPS_SZLONG == 32 |
Duane Sand | 2300332 | 2014-06-19 15:39:29 -0700 | [diff] [blame] | 24 | #define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int)) |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 25 | #elif _MIPS_SZLONG==64 |
Elliott Hughes | 9195a25 | 2014-04-08 10:15:06 -0700 | [diff] [blame] | 26 | #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) |
Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 27 | #else |
Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 28 | #error _MIPS_SZLONG neither 32 nor 64 |
Elliott Hughes | 9195a25 | 2014-04-08 10:15:06 -0700 | [diff] [blame] | 29 | #endif |
Christopher Ferris | 76a1d45 | 2018-06-27 14:12:29 -0700 | [diff] [blame] | 30 | #define __ARCH_HAS_SWAPPED_SIGINFO |
Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 31 | #include <asm-generic/siginfo.h> |
Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 32 | #undef SI_ASYNCIO |
| 33 | #undef SI_TIMER |
| 34 | #undef SI_MESGQ |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 35 | #define SI_ASYNCIO - 2 |
Christopher Ferris | 1308ad3 | 2017-11-14 17:32:13 -0800 | [diff] [blame] | 36 | #define SI_TIMER - 3 |
| 37 | #define SI_MESGQ - 4 |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 38 | #endif |