siginfo.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. * Copyright 2004-2008 Analog Devices Inc.
  3. *
  4. * Licensed under the GPL-2 or later.
  5. */
  6. #ifndef _UAPI_BFIN_SIGINFO_H
  7. #define _UAPI_BFIN_SIGINFO_H
  8. #include <linux/types.h>
  9. #include <asm-generic/siginfo.h>
  10. #define UID16_SIGINFO_COMPAT_NEEDED
  11. #define si_uid16 _sifields._kill._uid
  12. #define ILL_ILLPARAOP 2 /* illegal opcode combine ********** */
  13. #define ILL_ILLEXCPT 4 /* unrecoverable exception ********** */
  14. #define ILL_CPLB_VI 9 /* D/I CPLB protect violation ******** */
  15. #define ILL_CPLB_MISS 10 /* D/I CPLB miss ******** */
  16. #define ILL_CPLB_MULHIT 11 /* D/I CPLB multiple hit ******** */
  17. #undef NSIGILL
  18. #define NSIGILL 11
  19. /*
  20. * SIGBUS si_codes
  21. */
  22. #define BUS_OPFETCH 4 /* error from instruction fetch ******** */
  23. #undef NSIGBUS
  24. #define NSIGBUS 4
  25. /*
  26. * SIGTRAP si_codes
  27. */
  28. #define TRAP_STEP 1 /* single-step breakpoint************* */
  29. #define TRAP_TRACEFLOW 2 /* trace buffer overflow ************* */
  30. #define TRAP_WATCHPT 3 /* watchpoint match ************* */
  31. #define TRAP_ILLTRAP 4 /* illegal trap ************* */
  32. #undef NSIGTRAP
  33. #define NSIGTRAP 4
  34. /*
  35. * SIGSEGV si_codes
  36. */
  37. #define SEGV_STACKFLOW 3 /* stack overflow */
  38. #undef NSIGSEGV
  39. #define NSIGSEGV 3
  40. #endif /* _UAPI_BFIN_SIGINFO_H */