1 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
2 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
4 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
5 typedef unsigned long greg_t;
6 typedef unsigned long gregset_t[34];
13 typedef struct sigcontext
15 unsigned long fault_address;
16 unsigned long regs[31];
17 unsigned long sp, pc, pstate;
18 long double __reserved[256];
21 #define FPSIMD_MAGIC 0x46508001
22 #define ESR_MAGIC 0x45535201
27 struct fpsimd_context {
28 struct _aarch64_ctx head;
31 long double vregs[32];
34 struct _aarch64_ctx head;
39 long double __regs[18+256];
49 typedef struct __ucontext {
50 unsigned long uc_flags;
51 struct ucontext *uc_link;
54 mcontext_t uc_mcontext;
57 #define SA_NOCLDSTOP 1
58 #define SA_NOCLDWAIT 2
60 #define SA_ONSTACK 0x08000000
61 #define SA_RESTART 0x10000000
62 #define SA_NODEFER 0x40000000
63 #define SA_RESETHAND 0x80000000
64 #define SA_RESTORER 0x04000000
74 #define SIGIOT SIGABRT
101 #define SIGUNUSED SIGSYS