Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
siginfo.h
Go to the documentation of this file.
1 /*
2  * Copyright 2004-2008 Analog Devices Inc.
3  *
4  * Licensed under the GPL-2 or later.
5  */
6 
7 #ifndef _BFIN_SIGINFO_H
8 #define _BFIN_SIGINFO_H
9 
10 #include <linux/types.h>
11 #include <asm-generic/siginfo.h>
12 
13 #define UID16_SIGINFO_COMPAT_NEEDED
14 
15 #define si_uid16 _sifields._kill._uid
16 
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 ******** */
22 
23 /*
24  * SIGBUS si_codes
25  */
26 #define BUS_OPFETCH (__SI_FAULT|4) /* error from instruction fetch ******** */
27 
28 /*
29  * SIGTRAP si_codes
30  */
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 ************* */
35 
36 /*
37  * SIGSEGV si_codes
38  */
39 #define SEGV_STACKFLOW (__SI_FAULT|3) /* stack overflow */
40 
41 #endif