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 2048
9 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
10 typedef unsigned long greg_t, gregset_t[38];
11 typedef struct sigcontext
14 unsigned long r0, r1, r2, r3, r4, r5, r6, r7;
15 unsigned long r8, r9, r10, r11, r12, r13, r14, r15;
16 unsigned long r16, r17, r18, r19, r20, r21, r22, r23;
17 unsigned long r24, r25, r26, r27, r28, r29, r30, r31;
18 unsigned long pc, msr, ear, esr, fsr;
21 unsigned long oldmask;
25 unsigned long __regs[39];
35 typedef struct __ucontext {
36 unsigned long uc_flags;
37 struct __ucontext *uc_link;
39 mcontext_t uc_mcontext;
43 #define SA_NOCLDSTOP 1
44 #define SA_NOCLDWAIT 2
46 #define SA_ONSTACK 0x08000000
47 #define SA_RESTART 0x10000000
48 #define SA_NODEFER 0x40000000
49 #define SA_RESETHAND 0x80000000
50 #define SA_RESTORER 0x04000000
60 #define SIGIOT SIGABRT
87 #define SIGUNUSED SIGSYS