]>
Commit | Line | Data |
---|---|---|
1394f032 BW |
1 | #ifndef _BFIN_SIGINFO_H |
2 | #define _BFIN_SIGINFO_H | |
3 | ||
4 | #include <linux/types.h> | |
5 | #include <asm-generic/siginfo.h> | |
6 | ||
7 | #define UID16_SIGINFO_COMPAT_NEEDED | |
8 | ||
9 | #define si_uid16 _sifields._kill._uid | |
10 | ||
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 ******** */ | |
16 | ||
17 | /* | |
18 | * SIGBUS si_codes | |
19 | */ | |
20 | #define BUS_OPFETCH (__SI_FAULT|4) /* error from instruction fetch ******** */ | |
21 | ||
22 | /* | |
23 | * SIGTRAP si_codes | |
24 | */ | |
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 ************* */ | |
29 | ||
30 | /* | |
31 | * SIGSEGV si_codes | |
32 | */ | |
33 | #define SEGV_STACKFLOW (__SI_FAULT|3) /* stack overflow */ | |
34 | ||
35 | #endif |