1 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
2 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
5 unsigned long __regs[39];
8 typedef struct __ucontext {
9 unsigned long uc_flags;
10 struct __ucontext *uc_link;
12 mcontext_t uc_mcontext;
16 #define SA_NOCLDSTOP 1
17 #define SA_NOCLDWAIT 2
19 #define SA_ONSTACK 0x08000000
20 #define SA_RESTART 0x10000000
21 #define SA_NODEFER 0x40000000
22 #define SA_RESETHAND 0x80000000
23 #define SA_RESTORER 0x04000000
25 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
29 unsigned long r0, r1, r2, r3, r4, r5, r6, r7;
30 unsigned long r8, r9, r10, r11, r12, r13, r14, r15;
31 unsigned long r16, r17, r18, r19, r20, r21, r22, r23;
32 unsigned long r24, r25, r26, r27, r28, r29, r30, r31;
33 unsigned long pc, msr, ear, esr, fsr;
36 unsigned long oldmask;
75 #define SIGUNUSED SIGSYS