signal.h 828 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef _ASMARM_SIGNAL_H
  2. #define _ASMARM_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 old_sigaction {
  14. __sighandler_t sa_handler;
  15. old_sigset_t sa_mask;
  16. unsigned long sa_flags;
  17. __sigrestore_t sa_restorer;
  18. };
  19. struct sigaction {
  20. __sighandler_t sa_handler;
  21. unsigned long sa_flags;
  22. __sigrestore_t sa_restorer;
  23. sigset_t sa_mask; /* mask last for extensibility */
  24. };
  25. struct k_sigaction {
  26. struct sigaction sa;
  27. };
  28. #include <asm/sigcontext.h>
  29. #define ptrace_signal_deliver(regs, cookie) do { } while (0)
  30. #endif