Committer: Michael Beasley <mike@snafu.setup>
[mikesnafu-overlay.git] / include / asm-blackfin / siginfo.h
blobeca4565cea376b76374d5da9b51567c785ae9aa5
1 #ifndef _BFIN_SIGINFO_H
2 #define _BFIN_SIGINFO_H
4 #include <linux/types.h>
5 #include <asm-generic/siginfo.h>
7 #define UID16_SIGINFO_COMPAT_NEEDED
9 #define si_uid16 _sifields._kill._uid
11 #define ILL_ILLPARAOP (__SI_FAULT|2) /* illegal opcode combine ********** */
12 #define ILL_ILLEXCPT (__SI_FAULT|4) /* unrecoverable exception ********** */
13 #define ILL_CPLB_VI (__SI_FAULT|9) /* D/I CPLB protect violation ******** */
14 #define ILL_CPLB_MISS (__SI_FAULT|10) /* D/I CPLB miss ******** */
15 #define ILL_CPLB_MULHIT (__SI_FAULT|11) /* D/I CPLB multiple hit ******** */
18 * SIGBUS si_codes
20 #define BUS_OPFETCH (__SI_FAULT|4) /* error from instruction fetch ******** */
23 * SIGTRAP si_codes
25 #define TRAP_STEP (__SI_FAULT|1) /* single-step breakpoint************* */
26 #define TRAP_TRACEFLOW (__SI_FAULT|2) /* trace buffer overflow ************* */
27 #define TRAP_WATCHPT (__SI_FAULT|3) /* watchpoint match ************* */
28 #define TRAP_ILLTRAP (__SI_FAULT|4) /* illegal trap ************* */
31 * SIGSEGV si_codes
33 #define SEGV_STACKFLOW (__SI_FAULT|3) /* stack overflow */
35 #endif