Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
regs.h File Reference

Go to the source code of this file.

Macros

#define SREG_MR   32
 
#define SREG_IBREAKA   128
 
#define SREG_DBREAKA   144
 
#define SREG_DBREAKC   160
 
#define SREG_EPC   176
 
#define SREG_EPS   192
 
#define SREG_EXCSAVE   208
 
#define SREG_CCOMPARE   240
 
#define SREG_MISC   244
 
#define EXCCAUSE_EXCCAUSE_SHIFT   0
 
#define EXCCAUSE_EXCCAUSE_MASK   0x3F
 
#define EXCCAUSE_ILLEGAL_INSTRUCTION   0
 
#define EXCCAUSE_SYSTEM_CALL   1
 
#define EXCCAUSE_INSTRUCTION_FETCH_ERROR   2
 
#define EXCCAUSE_LOAD_STORE_ERROR   3
 
#define EXCCAUSE_LEVEL1_INTERRUPT   4
 
#define EXCCAUSE_ALLOCA   5
 
#define EXCCAUSE_INTEGER_DIVIDE_BY_ZERO   6
 
#define EXCCAUSE_SPECULATION   7
 
#define EXCCAUSE_PRIVILEGED   8
 
#define EXCCAUSE_UNALIGNED   9
 
#define EXCCAUSE_ITLB_MISS   16
 
#define EXCCAUSE_ITLB_MULTIHIT   17
 
#define EXCCAUSE_ITLB_PRIVILEGE   18
 
#define EXCCAUSE_ITLB_SIZE_RESTRICTION   19
 
#define EXCCAUSE_FETCH_CACHE_ATTRIBUTE   20
 
#define EXCCAUSE_DTLB_MISS   24
 
#define EXCCAUSE_DTLB_MULTIHIT   25
 
#define EXCCAUSE_DTLB_PRIVILEGE   26
 
#define EXCCAUSE_DTLB_SIZE_RESTRICTION   27
 
#define EXCCAUSE_LOAD_CACHE_ATTRIBUTE   28
 
#define EXCCAUSE_STORE_CACHE_ATTRIBUTE   29
 
#define EXCCAUSE_COPROCESSOR0_DISABLED   32
 
#define EXCCAUSE_COPROCESSOR1_DISABLED   33
 
#define EXCCAUSE_COPROCESSOR2_DISABLED   34
 
#define EXCCAUSE_COPROCESSOR3_DISABLED   35
 
#define EXCCAUSE_COPROCESSOR4_DISABLED   36
 
#define EXCCAUSE_COPROCESSOR5_DISABLED   37
 
#define EXCCAUSE_COPROCESSOR6_DISABLED   38
 
#define EXCCAUSE_COPROCESSOR7_DISABLED   39
 
#define PS_WOE_BIT   18
 
#define PS_CALLINC_SHIFT   16
 
#define PS_CALLINC_MASK   0x00030000
 
#define PS_OWB_SHIFT   8
 
#define PS_OWB_MASK   0x00000F00
 
#define PS_RING_SHIFT   6
 
#define PS_RING_MASK   0x000000C0
 
#define PS_UM_BIT   5
 
#define PS_EXCM_BIT   4
 
#define PS_INTLEVEL_SHIFT   0
 
#define PS_INTLEVEL_MASK   0x0000000F
 
#define DBREAKC_MASK_BIT   0
 
#define DBREAKC_MASK_MASK   0x0000003F
 
#define DBREAKC_LOAD_BIT   30
 
#define DBREAKC_LOAD_MASK   0x40000000
 
#define DBREAKC_STOR_BIT   31
 
#define DBREAKC_STOR_MASK   0x80000000
 
#define DEBUGCAUSE_DEBUGINT_BIT   5 /* External debug interrupt */
 
#define DEBUGCAUSE_BREAKN_BIT   4 /* BREAK.N instruction */
 
#define DEBUGCAUSE_BREAK_BIT   3 /* BREAK instruction */
 
#define DEBUGCAUSE_DBREAK_BIT   2 /* DBREAK match */
 
#define DEBUGCAUSE_IBREAK_BIT   1 /* IBREAK match */
 
#define DEBUGCAUSE_ICOUNT_BIT   0 /* ICOUNT would incr. to zero */
 

Macro Definition Documentation

#define DBREAKC_LOAD_BIT   30

Definition at line 93 of file regs.h.

#define DBREAKC_LOAD_MASK   0x40000000

Definition at line 94 of file regs.h.

#define DBREAKC_MASK_BIT   0

Definition at line 91 of file regs.h.

#define DBREAKC_MASK_MASK   0x0000003F

Definition at line 92 of file regs.h.

#define DBREAKC_STOR_BIT   31

Definition at line 95 of file regs.h.

#define DBREAKC_STOR_MASK   0x80000000

Definition at line 96 of file regs.h.

#define DEBUGCAUSE_BREAK_BIT   3 /* BREAK instruction */

Definition at line 102 of file regs.h.

#define DEBUGCAUSE_BREAKN_BIT   4 /* BREAK.N instruction */

Definition at line 101 of file regs.h.

#define DEBUGCAUSE_DBREAK_BIT   2 /* DBREAK match */

Definition at line 103 of file regs.h.

#define DEBUGCAUSE_DEBUGINT_BIT   5 /* External debug interrupt */

Definition at line 100 of file regs.h.

#define DEBUGCAUSE_IBREAK_BIT   1 /* IBREAK match */

Definition at line 104 of file regs.h.

#define DEBUGCAUSE_ICOUNT_BIT   0 /* ICOUNT would incr. to zero */

Definition at line 105 of file regs.h.

#define EXCCAUSE_ALLOCA   5

Definition at line 50 of file regs.h.

#define EXCCAUSE_COPROCESSOR0_DISABLED   32

Definition at line 66 of file regs.h.

#define EXCCAUSE_COPROCESSOR1_DISABLED   33

Definition at line 67 of file regs.h.

#define EXCCAUSE_COPROCESSOR2_DISABLED   34

Definition at line 68 of file regs.h.

#define EXCCAUSE_COPROCESSOR3_DISABLED   35

Definition at line 69 of file regs.h.

#define EXCCAUSE_COPROCESSOR4_DISABLED   36

Definition at line 70 of file regs.h.

#define EXCCAUSE_COPROCESSOR5_DISABLED   37

Definition at line 71 of file regs.h.

#define EXCCAUSE_COPROCESSOR6_DISABLED   38

Definition at line 72 of file regs.h.

#define EXCCAUSE_COPROCESSOR7_DISABLED   39

Definition at line 73 of file regs.h.

#define EXCCAUSE_DTLB_MISS   24

Definition at line 60 of file regs.h.

#define EXCCAUSE_DTLB_MULTIHIT   25

Definition at line 61 of file regs.h.

#define EXCCAUSE_DTLB_PRIVILEGE   26

Definition at line 62 of file regs.h.

#define EXCCAUSE_DTLB_SIZE_RESTRICTION   27

Definition at line 63 of file regs.h.

#define EXCCAUSE_EXCCAUSE_MASK   0x3F

Definition at line 43 of file regs.h.

#define EXCCAUSE_EXCCAUSE_SHIFT   0

Definition at line 42 of file regs.h.

#define EXCCAUSE_FETCH_CACHE_ATTRIBUTE   20

Definition at line 59 of file regs.h.

#define EXCCAUSE_ILLEGAL_INSTRUCTION   0

Definition at line 45 of file regs.h.

#define EXCCAUSE_INSTRUCTION_FETCH_ERROR   2

Definition at line 47 of file regs.h.

#define EXCCAUSE_INTEGER_DIVIDE_BY_ZERO   6

Definition at line 51 of file regs.h.

#define EXCCAUSE_ITLB_MISS   16

Definition at line 55 of file regs.h.

#define EXCCAUSE_ITLB_MULTIHIT   17

Definition at line 56 of file regs.h.

#define EXCCAUSE_ITLB_PRIVILEGE   18

Definition at line 57 of file regs.h.

#define EXCCAUSE_ITLB_SIZE_RESTRICTION   19

Definition at line 58 of file regs.h.

#define EXCCAUSE_LEVEL1_INTERRUPT   4

Definition at line 49 of file regs.h.

#define EXCCAUSE_LOAD_CACHE_ATTRIBUTE   28

Definition at line 64 of file regs.h.

#define EXCCAUSE_LOAD_STORE_ERROR   3

Definition at line 48 of file regs.h.

#define EXCCAUSE_PRIVILEGED   8

Definition at line 53 of file regs.h.

#define EXCCAUSE_SPECULATION   7

Definition at line 52 of file regs.h.

#define EXCCAUSE_STORE_CACHE_ATTRIBUTE   29

Definition at line 65 of file regs.h.

#define EXCCAUSE_SYSTEM_CALL   1

Definition at line 46 of file regs.h.

#define EXCCAUSE_UNALIGNED   9

Definition at line 54 of file regs.h.

#define PS_CALLINC_MASK   0x00030000

Definition at line 79 of file regs.h.

#define PS_CALLINC_SHIFT   16

Definition at line 78 of file regs.h.

#define PS_EXCM_BIT   4

Definition at line 85 of file regs.h.

#define PS_INTLEVEL_MASK   0x0000000F

Definition at line 87 of file regs.h.

#define PS_INTLEVEL_SHIFT   0

Definition at line 86 of file regs.h.

#define PS_OWB_MASK   0x00000F00

Definition at line 81 of file regs.h.

#define PS_OWB_SHIFT   8

Definition at line 80 of file regs.h.

#define PS_RING_MASK   0x000000C0

Definition at line 83 of file regs.h.

#define PS_RING_SHIFT   6

Definition at line 82 of file regs.h.

#define PS_UM_BIT   5

Definition at line 84 of file regs.h.

#define PS_WOE_BIT   18

Definition at line 77 of file regs.h.

#define SREG_CCOMPARE   240

Definition at line 37 of file regs.h.

#define SREG_DBREAKA   144

Definition at line 32 of file regs.h.

#define SREG_DBREAKC   160

Definition at line 33 of file regs.h.

#define SREG_EPC   176

Definition at line 34 of file regs.h.

#define SREG_EPS   192

Definition at line 35 of file regs.h.

#define SREG_EXCSAVE   208

Definition at line 36 of file regs.h.

#define SREG_IBREAKA   128

Definition at line 31 of file regs.h.

#define SREG_MISC   244

Definition at line 38 of file regs.h.

#define SREG_MR   32

Definition at line 30 of file regs.h.