mm-only debug patch...
[mmotm.git] / arch / blackfin / include / asm / siginfo.h
blob3e81306394e20fdb4630d08a9f25b575a5f64b9b
1 /*
2 * Copyright 2004-2008 Analog Devices Inc.
4 * Licensed under the GPL-2 or later.
5 */
7 #ifndef _BFIN_SIGINFO_H
8 #define _BFIN_SIGINFO_H
10 #include <linux/types.h>
11 #include <asm-generic/siginfo.h>
13 #define UID16_SIGINFO_COMPAT_NEEDED
15 #define si_uid16 _sifields._kill._uid
17 #define ILL_ILLPARAOP (__SI_FAULT|2) /* illegal opcode combine ********** */
18 #define ILL_ILLEXCPT (__SI_FAULT|4) /* unrecoverable exception ********** */
19 #define ILL_CPLB_VI (__SI_FAULT|9) /* D/I CPLB protect violation ******** */
20 #define ILL_CPLB_MISS (__SI_FAULT|10) /* D/I CPLB miss ******** */
21 #define ILL_CPLB_MULHIT (__SI_FAULT|11) /* D/I CPLB multiple hit ******** */
24 * SIGBUS si_codes
26 #define BUS_OPFETCH (__SI_FAULT|4) /* error from instruction fetch ******** */
29 * SIGTRAP si_codes
31 #define TRAP_STEP (__SI_FAULT|1) /* single-step breakpoint************* */
32 #define TRAP_TRACEFLOW (__SI_FAULT|2) /* trace buffer overflow ************* */
33 #define TRAP_WATCHPT (__SI_FAULT|3) /* watchpoint match ************* */
34 #define TRAP_ILLTRAP (__SI_FAULT|4) /* illegal trap ************* */
37 * SIGSEGV si_codes
39 #define SEGV_STACKFLOW (__SI_FAULT|3) /* stack overflow */
41 #endif