siginfo.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef _BFIN_SIGINFO_H
  2. #define _BFIN_SIGINFO_H
  3. #include <linux/types.h>
  4. #include <asm-generic/siginfo.h>
  5. #define UID16_SIGINFO_COMPAT_NEEDED
  6. #define si_uid16 _sifields._kill._uid
  7. #define ILL_ILLPARAOP (__SI_FAULT|2) /* illegal opcode combine ********** */
  8. #define ILL_ILLEXCPT (__SI_FAULT|4) /* unrecoverable exception ********** */
  9. #define ILL_CPLB_VI (__SI_FAULT|9) /* D/I CPLB protect violation ******** */
  10. #define ILL_CPLB_MISS (__SI_FAULT|10) /* D/I CPLB miss ******** */
  11. #define ILL_CPLB_MULHIT (__SI_FAULT|11) /* D/I CPLB multiple hit ******** */
  12. /*
  13. * SIGBUS si_codes
  14. */
  15. #define BUS_OPFETCH (__SI_FAULT|4) /* error from instruction fetch ******** */
  16. /*
  17. * SIGTRAP si_codes
  18. */
  19. #define TRAP_STEP (__SI_FAULT|1) /* single-step breakpoint************* */
  20. #define TRAP_TRACEFLOW (__SI_FAULT|2) /* trace buffer overflow ************* */
  21. #define TRAP_WATCHPT (__SI_FAULT|3) /* watchpoint match ************* */
  22. #define TRAP_ILLTRAP (__SI_FAULT|4) /* illegal trap ************* */
  23. /*
  24. * SIGSEGV si_codes
  25. */
  26. #define SEGV_STACKFLOW (__SI_FAULT|3) /* stack overflow */
  27. #endif