signal.h 520 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _H8300_SIGNAL_H
  3. #define _H8300_SIGNAL_H
  4. #include <uapi/asm/signal.h>
  5. /* Most things should be clean enough to redefine this at will, if care
  6. is taken to make libc match. */
  7. #define _NSIG 64
  8. #define _NSIG_BPW 32
  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. #define __ARCH_HAS_SA_RESTORER
  15. #include <asm/sigcontext.h>
  16. #endif /* _H8300_SIGNAL_H */