signal.h 696 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef _ASM_M32R_SIGNAL_H
  2. #define _ASM_M32R_SIGNAL_H
  3. #include <uapi/asm/signal.h>
  4. /* Most things should be clean enough to redefine this at will, if care
  5. is taken to make libc match. */
  6. #define _NSIG 64
  7. #define _NSIG_BPW 32
  8. #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
  9. typedef unsigned long old_sigset_t; /* at least 32 bits */
  10. typedef struct {
  11. unsigned long sig[_NSIG_WORDS];
  12. } sigset_t;
  13. struct sigaction {
  14. __sighandler_t sa_handler;
  15. unsigned long sa_flags;
  16. __sigrestore_t sa_restorer;
  17. sigset_t sa_mask; /* mask last for extensibility */
  18. };
  19. struct k_sigaction {
  20. struct sigaction sa;
  21. };
  22. #include <asm/sigcontext.h>
  23. #undef __HAVE_ARCH_SIG_BITOPS
  24. #endif /* _ASM_M32R_SIGNAL_H */