]>
git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/arch/powerpc64/bits/signal.h
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];
19 unsigned __int128 vrregs
[32];
26 typedef struct sigcontext
{
27 unsigned long _unused
[4];
30 unsigned long handler
;
31 unsigned long oldmask
;
36 long vmx_reserve
[34+34+32+1];
42 long __regs
[4+4+48+33+1+34+34+32+1];
53 typedef struct __ucontext
{
54 unsigned long uc_flags
;
55 struct __ucontext
*uc_link
;
58 mcontext_t uc_mcontext
;
61 #define SA_NOCLDSTOP 1U
62 #define SA_NOCLDWAIT 2U
64 #define SA_ONSTACK 0x08000000U
65 #define SA_RESTART 0x10000000U
66 #define SA_NODEFER 0x40000000U
67 #define SA_RESETHAND 0x80000000U
68 #define SA_RESTORER 0x04000000U
78 #define SIGIOT SIGABRT
102 #define SIGPOLL SIGIO
105 #define SIGUNUSED SIGSYS