siginfo.h 662 B

1234567891011121314151617181920212223242526272829303132333435
  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. #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 /* !(__SPARC_SIGINFO_H) */