1 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
2 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
4 #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
5 #define MINSIGSTKSZ 6144
9 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
10 typedef unsigned long greg_t;
11 typedef unsigned long gregset_t[34];
14 long double vregs[32];
18 typedef struct sigcontext {
19 unsigned long fault_address;
20 unsigned long regs[31];
21 unsigned long sp, pc, pstate;
22 long double __reserved[256];
25 #define FPSIMD_MAGIC 0x46508001
26 #define ESR_MAGIC 0x45535201
27 #define EXTRA_MAGIC 0x45585401
32 struct fpsimd_context {
33 struct _aarch64_ctx head;
36 long double vregs[32];
39 struct _aarch64_ctx head;
42 struct extra_context {
43 struct _aarch64_ctx head;
46 unsigned int __reserved[3];
50 long double __regs[18+256];
60 typedef struct __ucontext {
61 unsigned long uc_flags;
62 struct ucontext *uc_link;
65 mcontext_t uc_mcontext;
68 #define SA_NOCLDSTOP 1
69 #define SA_NOCLDWAIT 2
71 #define SA_ONSTACK 0x08000000
72 #define SA_RESTART 0x10000000
73 #define SA_NODEFER 0x40000000
74 #define SA_RESETHAND 0x80000000
75 #define SA_RESTORER 0x04000000
85 #define SIGIOT SIGABRT
112 #define SIGUNUSED SIGSYS