signal.h 857 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef _ASM_PARISC_SIGNAL_H
  2. #define _ASM_PARISC_SIGNAL_H
  3. #include <uapi/asm/signal.h>
  4. #define _NSIG 64
  5. /* bits-per-word, where word apparently means 'long' not 'int' */
  6. #define _NSIG_BPW BITS_PER_LONG
  7. #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
  8. # ifndef __ASSEMBLY__
  9. #ifdef CONFIG_64BIT
  10. #else
  11. #endif
  12. /* Most things should be clean enough to redefine this at will, if care
  13. is taken to make libc match. */
  14. typedef unsigned long old_sigset_t; /* at least 32 bits */
  15. typedef struct {
  16. /* next_signal() assumes this is a long - no choice */
  17. unsigned long sig[_NSIG_WORDS];
  18. } sigset_t;
  19. struct sigaction {
  20. __sighandler_t sa_handler;
  21. unsigned long sa_flags;
  22. sigset_t sa_mask; /* mask last for extensibility */
  23. };
  24. struct k_sigaction {
  25. struct sigaction sa;
  26. };
  27. #include <asm/sigcontext.h>
  28. #endif /* !__ASSEMBLY */
  29. #endif /* _ASM_PARISC_SIGNAL_H */