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 4096
9 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
11 typedef unsigned long greg_t
, gregset_t
[48];
12 typedef double fpregset_t
[33];
16 __attribute__((__aligned__(16)))
18 unsigned vrregs
[32][4];
21 unsigned _pad
[3], vscr_word
;
23 unsigned vscr_word
, _pad
[3];
26 unsigned vrsave
, _pad
[3];
29 typedef struct sigcontext
{
30 unsigned long _unused
[4];
33 unsigned long handler
;
34 unsigned long oldmask
;
39 long vmx_reserve
[34+34+32+1];
45 long __regs
[4+4+48+33+1+34+34+32+1];
56 typedef struct __ucontext
{
57 unsigned long uc_flags
;
58 struct __ucontext
*uc_link
;
61 mcontext_t uc_mcontext
;
64 #define SA_NOCLDSTOP 1U
65 #define SA_NOCLDWAIT 2U
67 #define SA_ONSTACK 0x08000000U
68 #define SA_RESTART 0x10000000U
69 #define SA_NODEFER 0x40000000U
70 #define SA_RESETHAND 0x80000000U
71 #define SA_RESTORER 0x04000000U
81 #define SIGIOT SIGABRT
105 #define SIGPOLL SIGIO
108 #define SIGUNUSED SIGSYS