siginfo.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 (__SI_FAULT|2) /* illegal opcode combine ********** */
  13. #define ILL_ILLEXCPT (__SI_FAULT|4) /* unrecoverable exception ********** */
  14. #define ILL_CPLB_VI (__SI_FAULT|9) /* D/I CPLB protect violation ******** */
  15. #define ILL_CPLB_MISS (__SI_FAULT|10) /* D/I CPLB miss ******** */
  16. #define ILL_CPLB_MULHIT (__SI_FAULT|11) /* D/I CPLB multiple hit ******** */
  17. /*
  18. * SIGBUS si_codes
  19. */
  20. #define BUS_OPFETCH (__SI_FAULT|4) /* error from instruction fetch ******** */
  21. /*
  22. * SIGTRAP si_codes
  23. */
  24. #define TRAP_STEP (__SI_FAULT|1) /* single-step breakpoint************* */
  25. #define TRAP_TRACEFLOW (__SI_FAULT|2) /* trace buffer overflow ************* */
  26. #define TRAP_WATCHPT (__SI_FAULT|3) /* watchpoint match ************* */
  27. #define TRAP_ILLTRAP (__SI_FAULT|4) /* illegal trap ************* */
  28. /*
  29. * SIGSEGV si_codes
  30. */
  31. #define SEGV_STACKFLOW (__SI_FAULT|3) /* stack overflow */
  32. #endif /* _UAPI_BFIN_SIGINFO_H */