X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=arch%2Fmips%2Fbits%2Fsignal.h;h=f51c29b97b585712d1faa5c228d3aed8df08d288;hb=99a2af6f45b356324e99acf0da809ca416eed0de;hp=aed372ebe5fcfa2dd6fdd63cbda8d875d3de29bf;hpb=6315004f6102dca44c4ba50654a36967b8b9c2a6;p=musl diff --git a/arch/mips/bits/signal.h b/arch/mips/bits/signal.h index aed372eb..f51c29b9 100644 --- a/arch/mips/bits/signal.h +++ b/arch/mips/bits/signal.h @@ -2,7 +2,11 @@ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) typedef struct { - unsigned long __regs[21]; + unsigned __mc1[2]; + unsigned long long __mc2[65]; + unsigned __mc3[5]; + unsigned long long __mc4[2]; + unsigned __mc5[6]; } mcontext_t; typedef struct __ucontext { @@ -15,14 +19,21 @@ typedef struct __ucontext { } ucontext_t; #define SA_NOCLDSTOP 1 -#define SA_NOCLDWAIT 2 -#define SA_SIGINFO 4 +#define SA_NOCLDWAIT 0x10000 +#define SA_SIGINFO 8 #define SA_ONSTACK 0x08000000 #define SA_RESTART 0x10000000 #define SA_NODEFER 0x40000000 #define SA_RESETHAND 0x80000000 #define SA_RESTORER 0x04000000 +#undef SIG_BLOCK +#undef SIG_UNBLOCK +#undef SIG_SETMASK +#define SIG_BLOCK 1 +#define SIG_UNBLOCK 2 +#define SIG_SETMASK 3 + #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) struct sigcontext {