siginfo.h 633 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef _UAPI__SPARC_SIGINFO_H
  2. #define _UAPI__SPARC_SIGINFO_H
  3. #if defined(__sparc__) && defined(__arch64__)
  4. #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
  5. #define __ARCH_SI_BAND_T int
  6. #endif /* defined(__sparc__) && defined(__arch64__) */
  7. #define __ARCH_SI_TRAPNO
  8. #include <asm-generic/siginfo.h>
  9. #define SI_NOINFO 32767 /* no information in siginfo_t */
  10. /*
  11. * SIGFPE si_codes
  12. */
  13. #ifdef __KERNEL__
  14. #define FPE_FIXME (__SI_FAULT|0) /* Broken dup of SI_USER */
  15. #endif /* __KERNEL__ */
  16. /*
  17. * SIGEMT si_codes
  18. */
  19. #define EMT_TAGOVF (__SI_FAULT|1) /* tag overflow */
  20. #define NSIGEMT 1
  21. #endif /* _UAPI__SPARC_SIGINFO_H */