• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_SIGCONTEXT_H
20 #define _UAPI_ASM_SIGCONTEXT_H
21 #include <linux/types.h>
22 #include <asm/sgidefs.h>
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #if _MIPS_SIM == _MIPS_SIM_ABI32
25 struct sigcontext {
26   unsigned int sc_regmask;
27   unsigned int sc_status;
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29   unsigned long long sc_pc;
30   unsigned long long sc_regs[32];
31   unsigned long long sc_fpregs[32];
32   unsigned int sc_acx;
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34   unsigned int sc_fpc_csr;
35   unsigned int sc_fpc_eir;
36   unsigned int sc_used_math;
37   unsigned int sc_dsp;
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39   unsigned long long sc_mdhi;
40   unsigned long long sc_mdlo;
41   unsigned long sc_hi1;
42   unsigned long sc_lo1;
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44   unsigned long sc_hi2;
45   unsigned long sc_lo2;
46   unsigned long sc_hi3;
47   unsigned long sc_lo3;
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 };
50 #endif
51 #if _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32
52 #include <linux/posix_types.h>
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 struct sigcontext {
55   __u64 sc_regs[32];
56   __u64 sc_fpregs[32];
57   __u64 sc_mdhi;
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59   __u64 sc_hi1;
60   __u64 sc_hi2;
61   __u64 sc_hi3;
62   __u64 sc_mdlo;
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64   __u64 sc_lo1;
65   __u64 sc_lo2;
66   __u64 sc_lo3;
67   __u64 sc_pc;
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69   __u32 sc_fpc_csr;
70   __u32 sc_used_math;
71   __u32 sc_dsp;
72   __u32 sc_reserved;
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74 };
75 #endif
76 #endif
77