blob: c37107b7a302f52069868dfd5473e6467780760f [file] [log] [blame]
Elliott Hughesabd62612013-11-08 11:45:48 -08001/****************************************************************************
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 Baod7db5942015-01-28 10:07:51 -080021#define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(long) + 2 * sizeof(int))
Elliott Hughesabd62612013-11-08 11:45:48 -080022#undef __ARCH_SI_TRAPNO
Christopher Ferris38062f92014-07-09 15:33:25 -070023#if _MIPS_SZLONG == 32
Duane Sand23003322014-06-19 15:39:29 -070024#define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int))
Tao Baod7db5942015-01-28 10:07:51 -080025#elif _MIPS_SZLONG==64
Elliott Hughes9195a252014-04-08 10:15:06 -070026#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
Christopher Ferris38062f92014-07-09 15:33:25 -070027#else
Christopher Ferris38062f92014-07-09 15:33:25 -070028#error _MIPS_SZLONG neither 32 nor 64
Elliott Hughes9195a252014-04-08 10:15:06 -070029#endif
Christopher Ferris76a1d452018-06-27 14:12:29 -070030#define __ARCH_HAS_SWAPPED_SIGINFO
Elliott Hughesabd62612013-11-08 11:45:48 -080031#include <asm-generic/siginfo.h>
Elliott Hughesabd62612013-11-08 11:45:48 -080032#undef SI_ASYNCIO
33#undef SI_TIMER
34#undef SI_MESGQ
Tao Baod7db5942015-01-28 10:07:51 -080035#define SI_ASYNCIO - 2
Christopher Ferris1308ad32017-11-14 17:32:13 -080036#define SI_TIMER - 3
37#define SI_MESGQ - 4
Christopher Ferris106b3a82016-08-24 12:15:38 -070038#endif