signal.h 836 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. #ifndef __KERNEL__
  20. struct sigaction {
  21. __sighandler_t sa_handler;
  22. unsigned long sa_flags;
  23. sigset_t sa_mask; /* mask last for extensibility */
  24. };
  25. #endif
  26. #include <asm/sigcontext.h>
  27. #endif /* !__ASSEMBLY */
  28. #endif /* _ASM_PARISC_SIGNAL_H */