1 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
2 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
5 unsigned long __regs[21];
8 typedef struct __ucontext {
9 unsigned long uc_flags;
10 struct __ucontext *uc_link;
12 mcontext_t uc_mcontext;
14 unsigned long uc_regspace[128];
17 #define SA_NOCLDSTOP 1
18 #define SA_NOCLDWAIT 2
20 #define SA_ONSTACK 0x08000000
21 #define SA_RESTART 0x10000000
22 #define SA_NODEFER 0x40000000
23 #define SA_RESETHAND 0x80000000
24 #define SA_RESTORER 0x04000000
26 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
29 unsigned sc_regmask, sc_status;
30 unsigned long long sc_pc, sc_regs[32], sc_fpregs[32];
31 unsigned sc_ownedfp, sc_fpc_csr, sc_fpc_eir, sc_used_math, sc_dsp;
32 unsigned long long sc_mdhi, sc_mdlo;
33 unsigned long sc_hi1, sc_lo1, sc_hi2, sc_lo2, sc_hi3, sc_lo3;
46 #define SIGIOT SIGABRT
73 #define SIGUNUSED SIGSYS