Home | History | Annotate | Download | only in asm
      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
     21 #define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(long) + 2 * sizeof(int))
     22 #undef __ARCH_SI_TRAPNO
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define HAVE_ARCH_SIGINFO_T
     25 #define HAVE_ARCH_COPY_SIGINFO
     26 struct siginfo;
     27 #if _MIPS_SZLONG == 32
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int))
     30 #elif _MIPS_SZLONG==64
     31 #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
     32 #else
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 #error _MIPS_SZLONG neither 32 nor 64
     35 #endif
     36 #define __ARCH_SIGSYS
     37 #include <asm-generic/siginfo.h>
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 typedef struct siginfo {
     40   int si_signo;
     41   int si_code;
     42   int si_errno;
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44   int __pad0[SI_MAX_SIZE / sizeof(int) - SI_PAD_SIZE - 3];
     45   union {
     46     int _pad[SI_PAD_SIZE];
     47     struct {
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49       pid_t _pid;
     50       __ARCH_SI_UID_T _uid;
     51     } _kill;
     52     struct {
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54       timer_t _tid;
     55       int _overrun;
     56       char _pad[sizeof(__ARCH_SI_UID_T) - sizeof(int)];
     57       sigval_t _sigval;
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59       int _sys_private;
     60     } _timer;
     61     struct {
     62       pid_t _pid;
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64       __ARCH_SI_UID_T _uid;
     65       sigval_t _sigval;
     66     } _rt;
     67     struct {
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69       pid_t _pid;
     70       __ARCH_SI_UID_T _uid;
     71       int _status;
     72       clock_t _utime;
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74       clock_t _stime;
     75     } _sigchld;
     76     struct {
     77       pid_t _pid;
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79       clock_t _utime;
     80       int _status;
     81       clock_t _stime;
     82     } _irix_sigchld;
     83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     84     struct {
     85       void __user * _addr;
     86 #ifdef __ARCH_SI_TRAPNO
     87       int _trapno;
     88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     89 #endif
     90       short _addr_lsb;
     91     } _sigfault;
     92     struct {
     93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     94       __ARCH_SI_BAND_T _band;
     95       int _fd;
     96     } _sigpoll;
     97     struct {
     98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     99       void __user * _call_addr;
    100       int _syscall;
    101       unsigned int _arch;
    102     } _sigsys;
    103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    104   } _sifields;
    105 } siginfo_t;
    106 #undef SI_ASYNCIO
    107 #undef SI_TIMER
    108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    109 #undef SI_MESGQ
    110 #define SI_ASYNCIO - 2
    111 #define SI_TIMER __SI_CODE(__SI_TIMER, - 3)
    112 #define SI_MESGQ __SI_CODE(__SI_MESGQ, - 4)
    113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    114 #endif
    115