xref: /openbmc/linux/arch/parisc/include/uapi/asm/signal.h (revision 72113d0a7d90d950c7c9a87ab905bffb6bc5752d)
16f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
270c1674fSDavid Howells #ifndef _UAPI_ASM_PARISC_SIGNAL_H
370c1674fSDavid Howells #define _UAPI_ASM_PARISC_SIGNAL_H
470c1674fSDavid Howells 
570c1674fSDavid Howells #define SIGHUP		 1
670c1674fSDavid Howells #define SIGINT		 2
770c1674fSDavid Howells #define SIGQUIT		 3
870c1674fSDavid Howells #define SIGILL		 4
970c1674fSDavid Howells #define SIGTRAP		 5
1070c1674fSDavid Howells #define SIGABRT		 6
1170c1674fSDavid Howells #define SIGIOT		 6
121f25df2eSHelge Deller #define SIGSTKFLT	 7
1370c1674fSDavid Howells #define SIGFPE		 8
1470c1674fSDavid Howells #define SIGKILL		 9
1570c1674fSDavid Howells #define SIGBUS		10
1670c1674fSDavid Howells #define SIGSEGV		11
171f25df2eSHelge Deller #define SIGXCPU		12
1870c1674fSDavid Howells #define SIGPIPE		13
1970c1674fSDavid Howells #define SIGALRM		14
2070c1674fSDavid Howells #define SIGTERM		15
2170c1674fSDavid Howells #define SIGUSR1		16
2270c1674fSDavid Howells #define SIGUSR2		17
2370c1674fSDavid Howells #define SIGCHLD		18
2470c1674fSDavid Howells #define SIGPWR		19
2570c1674fSDavid Howells #define SIGVTALRM	20
2670c1674fSDavid Howells #define SIGPROF		21
2770c1674fSDavid Howells #define SIGIO		22
2870c1674fSDavid Howells #define SIGPOLL		SIGIO
2970c1674fSDavid Howells #define SIGWINCH	23
3070c1674fSDavid Howells #define SIGSTOP		24
3170c1674fSDavid Howells #define SIGTSTP		25
3270c1674fSDavid Howells #define SIGCONT		26
3370c1674fSDavid Howells #define SIGTTIN		27
3470c1674fSDavid Howells #define SIGTTOU		28
3570c1674fSDavid Howells #define SIGURG		29
361f25df2eSHelge Deller #define SIGXFSZ		30
3770c1674fSDavid Howells #define SIGUNUSED	31
38cd760704SHelge Deller #define SIGSYS		31
3970c1674fSDavid Howells 
4070c1674fSDavid Howells /* These should not be considered constants from userland.  */
411f25df2eSHelge Deller #define SIGRTMIN	32
42cd760704SHelge Deller #define SIGRTMAX	_NSIG
4370c1674fSDavid Howells 
4470c1674fSDavid Howells #define SA_ONSTACK	0x00000001
4570c1674fSDavid Howells #define SA_RESETHAND	0x00000004
4670c1674fSDavid Howells #define SA_NOCLDSTOP	0x00000008
4770c1674fSDavid Howells #define SA_SIGINFO	0x00000010
4870c1674fSDavid Howells #define SA_NODEFER	0x00000020
4970c1674fSDavid Howells #define SA_RESTART	0x00000040
5070c1674fSDavid Howells #define SA_NOCLDWAIT	0x00000080
5170c1674fSDavid Howells 
5270c1674fSDavid Howells #define SA_NOMASK	SA_NODEFER
5370c1674fSDavid Howells #define SA_ONESHOT	SA_RESETHAND
5470c1674fSDavid Howells 
5570c1674fSDavid Howells #define MINSIGSTKSZ	2048
5670c1674fSDavid Howells #define SIGSTKSZ	8192
5770c1674fSDavid Howells 
58161d36dfSPeter Collingbourne #include <asm-generic/signal-defs.h>
5970c1674fSDavid Howells 
6070c1674fSDavid Howells # ifndef __ASSEMBLY__
6170c1674fSDavid Howells 
6270c1674fSDavid Howells #  include <linux/types.h>
6370c1674fSDavid Howells 
6470c1674fSDavid Howells /* Avoid too many header ordering problems.  */
6570c1674fSDavid Howells struct siginfo;
6670c1674fSDavid Howells 
6770c1674fSDavid Howells typedef struct sigaltstack {
6870c1674fSDavid Howells 	void __user *ss_sp;
6970c1674fSDavid Howells 	int ss_flags;
70*72113d0aSMasahiro Yamada 	__kernel_size_t ss_size;
7170c1674fSDavid Howells } stack_t;
7270c1674fSDavid Howells 
7370c1674fSDavid Howells #endif /* !__ASSEMBLY */
7470c1674fSDavid Howells #endif /* _UAPI_ASM_PARISC_SIGNAL_H */
75