siginfo_64.h 560 B

1234567891011121314151617181920212223242526272829303132
  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/compat.h>
  10. #ifdef CONFIG_COMPAT
  11. struct compat_siginfo;
  12. #endif /* CONFIG_COMPAT */
  13. #endif /* __KERNEL__ */
  14. #define SI_NOINFO 32767 /* no information in siginfo_t */
  15. /*
  16. * SIGEMT si_codes
  17. */
  18. #define EMT_TAGOVF (__SI_FAULT|1) /* tag overflow */
  19. #define NSIGEMT 1
  20. #endif