siginfo.h 689 B

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