1 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
2 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
11 unsigned long __gregs[19];
13 unsigned long __oldmask, __cr2;
16 typedef struct __ucontext {
17 unsigned long uc_flags;
18 struct __ucontext *uc_link;
20 mcontext_t uc_mcontext;
22 struct __fpstate __fpregs_mem;
25 #define SA_NOCLDSTOP 1
26 #define SA_NOCLDWAIT 2
28 #define SA_ONSTACK 0x08000000
29 #define SA_RESTART 0x10000000
30 #define SA_NODEFER 0x40000000
31 #define SA_RESETHAND 0x80000000
32 #define SA_RESTORER 0x04000000
36 unsigned short gs, __gsh, fs, __fsh, es, __esh, ds, __dsh;
37 unsigned long edi, esi, ebp, esp, ebx, edx, ecx, eax;
38 unsigned long trapno, err, eip;
39 unsigned short cs, __csh;
40 unsigned long eflags, esp_at_signal;
41 unsigned short ss, __ssh;
42 struct __fpstate *fpstate;
43 unsigned long oldmask, cr2;
82 #define SIGUNUSED SIGSYS