^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef _ASMAXP_SIGNAL_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define _ASMAXP_SIGNAL_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #include <uapi/asm/signal.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) /* Digital Unix defines 64 signals. Most things should be clean enough
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) to redefine this at will, if care is taken to make libc match. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define _NSIG 64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define _NSIG_BPW 64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) typedef unsigned long old_sigset_t; /* at least 32 bits */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) typedef struct {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) unsigned long sig[_NSIG_WORDS];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) } sigset_t;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) struct osf_sigaction {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) __sighandler_t sa_handler;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) old_sigset_t sa_mask;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) int sa_flags;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #define __ARCH_HAS_KA_RESTORER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #include <asm/sigcontext.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) #endif