Go to the documentation of this file. 1 #ifndef _UAPI__SPARC_SIGNAL_H
2 #define _UAPI__SPARC_SIGNAL_H
4 #include <asm/sigcontext.h>
5 #include <linux/compiler.h>
15 #define SUBSIG_STACK 0
16 #define SUBSIG_ILLINST 2
17 #define SUBSIG_PRIVINST 3
18 #define SUBSIG_BADTRAP(t) (0x80 + (t))
28 #define SUBSIG_FPDISABLED 0x400
29 #define SUBSIG_FPERROR 0x404
30 #define SUBSIG_FPINTOVFL 0x001
31 #define SUBSIG_FPSTSIG 0x002
32 #define SUBSIG_IDIVZERO 0x014
33 #define SUBSIG_FPINEXACT 0x0c4
34 #define SUBSIG_FPDIVZERO 0x0c8
35 #define SUBSIG_FPUNFLOW 0x0cc
36 #define SUBSIG_FPOPERROR 0x0d0
37 #define SUBSIG_FPOVFLOW 0x0d4
41 #define SUBSIG_BUSTIMEOUT 1
42 #define SUBSIG_ALIGNMENT 2
43 #define SUBSIG_MISCERROR 5
46 #define SUBSIG_NOMAPPING 3
47 #define SUBSIG_PROTECTION 4
48 #define SUBSIG_SEGERROR 5
72 #define SIGPWR SIGLOST
86 #define _NSIG_WORDS (__NEW_NSIG / _NSIG_BPW)
89 #define SIGRTMAX __NEW_NSIG
91 #if defined(__KERNEL__) || defined(__WANT_POSIX1B_SIGNALS__)
92 #define _NSIG __NEW_NSIG
93 #define __new_sigset_t sigset_t
94 #define __new_sigaction sigaction
95 #define __new_sigaction32 sigaction32
96 #define __old_sigset_t old_sigset_t
97 #define __old_sigaction old_sigaction
98 #define __old_sigaction32 old_sigaction32
100 #define _NSIG __OLD_NSIG
102 #define __old_sigset_t sigset_t
103 #define __old_sigaction sigaction
104 #define __old_sigaction32 sigaction32
123 #define _SV_SSTACK 1u
126 #define _SV_IGNCHILD 8u
135 #define SA_NOCLDSTOP _SV_IGNCHILD
136 #define SA_STACK _SV_SSTACK
137 #define SA_ONSTACK _SV_SSTACK
138 #define SA_RESTART _SV_INTR
139 #define SA_ONESHOT _SV_RESET
140 #define SA_NODEFER 0x20u
141 #define SA_NOCLDWAIT 0x100u
142 #define SA_SIGINFO 0x200u
144 #define SA_NOMASK SA_NODEFER
146 #define SIG_BLOCK 0x01
147 #define SIG_UNBLOCK 0x02
148 #define SIG_SETMASK 0x04
156 #define MINSIGSTKSZ 4096
157 #define SIGSTKSZ 16384