siginfo.h 586 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef _SPARC64_SIGINFO_H
  2. #define _SPARC64_SIGINFO_H
  3. #define SI_PAD_SIZE32 ((SI_MAX_SIZE/sizeof(int)) - 3)
  4. #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
  5. #define __ARCH_SI_TRAPNO
  6. #define __ARCH_SI_BAND_T int
  7. #include <asm-generic/siginfo.h>
  8. #ifdef __KERNEL__
  9. #include <linux/config.h>
  10. #include <linux/compat.h>
  11. #ifdef CONFIG_COMPAT
  12. struct compat_siginfo;
  13. #endif /* CONFIG_COMPAT */
  14. #endif /* __KERNEL__ */
  15. #define SI_NOINFO 32767 /* no information in siginfo_t */
  16. /*
  17. * SIGEMT si_codes
  18. */
  19. #define EMT_TAGOVF (__SI_FAULT|1) /* tag overflow */
  20. #define NSIGEMT 1
  21. #endif