signal.h 481 B

12345678910111213141516171819202122
  1. #ifndef _H8300_SIGNAL_H
  2. #define _H8300_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. #define __ARCH_HAS_SA_RESTORER
  14. #include <asm/sigcontext.h>
  15. #endif /* _H8300_SIGNAL_H */