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