blob: 2fc02291f4fdf5706de98ef5bc2388b44580cd1e [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_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 */
Christopher Ferris05d08e92016-02-04 13:16:38 -080024#define USED_FP (1 << 0)
25#define USED_FR1 (1 << 1)
26#define USED_HYBRID_FPRS (1 << 2)
27#define USED_EXTCONTEXT (1 << 3)
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesabd62612013-11-08 11:45:48 -080029#if _MIPS_SIM == _MIPS_SIM_ABI32
30struct sigcontext {
Tao Baod7db5942015-01-28 10:07:51 -080031 unsigned int sc_regmask;
32 unsigned int sc_status;
Elliott Hughesabd62612013-11-08 11:45:48 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 unsigned long long sc_pc;
35 unsigned long long sc_regs[32];
36 unsigned long long sc_fpregs[32];
37 unsigned int sc_acx;
Elliott Hughesabd62612013-11-08 11:45:48 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 unsigned int sc_fpc_csr;
40 unsigned int sc_fpc_eir;
41 unsigned int sc_used_math;
42 unsigned int sc_dsp;
Elliott Hughesabd62612013-11-08 11:45:48 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 unsigned long long sc_mdhi;
45 unsigned long long sc_mdlo;
46 unsigned long sc_hi1;
47 unsigned long sc_lo1;
Elliott Hughesabd62612013-11-08 11:45:48 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080049 unsigned long sc_hi2;
50 unsigned long sc_lo2;
51 unsigned long sc_hi3;
52 unsigned long sc_lo3;
Elliott Hughesabd62612013-11-08 11:45:48 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54};
55#endif
56#if _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32
57#include <linux/posix_types.h>
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59struct sigcontext {
Tao Baod7db5942015-01-28 10:07:51 -080060 __u64 sc_regs[32];
61 __u64 sc_fpregs[32];
62 __u64 sc_mdhi;
Elliott Hughesabd62612013-11-08 11:45:48 -080063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080064 __u64 sc_hi1;
65 __u64 sc_hi2;
66 __u64 sc_hi3;
67 __u64 sc_mdlo;
Elliott Hughesabd62612013-11-08 11:45:48 -080068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080069 __u64 sc_lo1;
70 __u64 sc_lo2;
71 __u64 sc_lo3;
72 __u64 sc_pc;
Elliott Hughesabd62612013-11-08 11:45:48 -080073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080074 __u32 sc_fpc_csr;
75 __u32 sc_used_math;
76 __u32 sc_dsp;
77 __u32 sc_reserved;
Elliott Hughesabd62612013-11-08 11:45:48 -080078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79};
80#endif
81#endif