signal.h 627 B

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