Go to the source code of this file.
|
enum | xtensa_reg_flags { XT_REGF_NOREAD = 0x01
, XT_REGF_COPROC0 = 0x02
, XT_REGF_MASK = 0x03
} |
|
enum | xtensa_reg_id {
XT_REG_IDX_PC = 0
, XT_REG_IDX_AR0
, XT_REG_IDX_ARFIRST = XT_REG_IDX_AR0
, XT_REG_IDX_AR1
,
XT_REG_IDX_AR2
, XT_REG_IDX_AR3
, XT_REG_IDX_AR4
, XT_REG_IDX_AR5
,
XT_REG_IDX_AR6
, XT_REG_IDX_AR7
, XT_REG_IDX_AR8
, XT_REG_IDX_AR9
,
XT_REG_IDX_AR10
, XT_REG_IDX_AR11
, XT_REG_IDX_AR12
, XT_REG_IDX_AR13
,
XT_REG_IDX_AR14
, XT_REG_IDX_AR15
, XT_REG_IDX_ARLAST = 64
, XT_REG_IDX_WINDOWBASE
,
XT_REG_IDX_WINDOWSTART
, XT_REG_IDX_PS
, XT_REG_IDX_IBREAKENABLE
, XT_REG_IDX_DDR
,
XT_REG_IDX_IBREAKA0
, XT_REG_IDX_IBREAKA1
, XT_REG_IDX_DBREAKA0
, XT_REG_IDX_DBREAKA1
,
XT_REG_IDX_DBREAKC0
, XT_REG_IDX_DBREAKC1
, XT_REG_IDX_CPENABLE
, XT_REG_IDX_EXCCAUSE
,
XT_REG_IDX_DEBUGCAUSE
, XT_REG_IDX_ICOUNT
, XT_REG_IDX_ICOUNTLEVEL
, XT_REG_IDX_A0
,
XT_REG_IDX_A1
, XT_REG_IDX_A2
, XT_REG_IDX_A3
, XT_REG_IDX_A4
,
XT_REG_IDX_A5
, XT_REG_IDX_A6
, XT_REG_IDX_A7
, XT_REG_IDX_A8
,
XT_REG_IDX_A9
, XT_REG_IDX_A10
, XT_REG_IDX_A11
, XT_REG_IDX_A12
,
XT_REG_IDX_A13
, XT_REG_IDX_A14
, XT_REG_IDX_A15
, XT_NUM_REGS
} |
|
enum | xtensa_reg_type {
XT_REG_GENERAL = 0
, XT_REG_USER = 1
, XT_REG_SPECIAL = 2
, XT_REG_DEBUG = 3
,
XT_REG_RELGEN = 4
, XT_REG_FR = 5
, XT_REG_TIE = 6
, XT_REG_OTHER = 7
,
XT_REG_TYPE_NUM
, XT_REG_GENERAL_MASK = 0xFFC0
, XT_REG_GENERAL_VAL = 0x0100
, XT_REG_USER_MASK = 0xFF00
,
XT_REG_USER_VAL = 0x0300
, XT_REG_SPECIAL_MASK = 0xFF00
, XT_REG_SPECIAL_VAL = 0x0200
, XT_REG_DEBUG_MASK = 0xFF00
,
XT_REG_DEBUG_VAL = 0x0200
, XT_REG_RELGEN_MASK = 0xFFE0
, XT_REG_RELGEN_VAL = 0x0000
, XT_REG_FR_MASK = 0xFFF0
,
XT_REG_FR_VAL = 0x0030
, XT_REG_TIE_MASK = 0xF000
, XT_REG_TIE_VAL = 0xF000
, XT_REG_OTHER_MASK = 0xFFFF
,
XT_REG_OTHER_VAL = 0xF000
, XT_REG_INDEX_MASK = 0x00FF
} |
|
◆ _XT_MK_DBREGN
◆ _XT_MK_DBREGN_MASK
#define _XT_MK_DBREGN_MASK |
( |
|
reg_num, |
|
|
|
reg_mask |
|
) |
| ((reg_mask) | (reg_num)) |
◆ XT_MK_REG_DESC
#define XT_MK_REG_DESC |
( |
|
n, |
|
|
|
r, |
|
|
|
t, |
|
|
|
f |
|
) |
| |
Value: { .name = (n), .exist = false, .reg_num = (r), \
.flags = (f) }
#define _XT_MK_DBREGN(reg_num, reg_type)
Definition at line 128 of file xtensa_regs.h.
◆ XT_NUM_A_REGS
◆ xtensa_reg_val_t
◆ xtensa_reg_flags
Enumerator |
---|
XT_REGF_NOREAD | |
XT_REGF_COPROC0 | |
XT_REGF_MASK | |
Definition at line 107 of file xtensa_regs.h.
◆ xtensa_reg_id
Enumerator |
---|
XT_REG_IDX_PC | |
XT_REG_IDX_AR0 | |
XT_REG_IDX_ARFIRST | |
XT_REG_IDX_AR1 | |
XT_REG_IDX_AR2 | |
XT_REG_IDX_AR3 | |
XT_REG_IDX_AR4 | |
XT_REG_IDX_AR5 | |
XT_REG_IDX_AR6 | |
XT_REG_IDX_AR7 | |
XT_REG_IDX_AR8 | |
XT_REG_IDX_AR9 | |
XT_REG_IDX_AR10 | |
XT_REG_IDX_AR11 | |
XT_REG_IDX_AR12 | |
XT_REG_IDX_AR13 | |
XT_REG_IDX_AR14 | |
XT_REG_IDX_AR15 | |
XT_REG_IDX_ARLAST | |
XT_REG_IDX_WINDOWBASE | |
XT_REG_IDX_WINDOWSTART | |
XT_REG_IDX_PS | |
XT_REG_IDX_IBREAKENABLE | |
XT_REG_IDX_DDR | |
XT_REG_IDX_IBREAKA0 | |
XT_REG_IDX_IBREAKA1 | |
XT_REG_IDX_DBREAKA0 | |
XT_REG_IDX_DBREAKA1 | |
XT_REG_IDX_DBREAKC0 | |
XT_REG_IDX_DBREAKC1 | |
XT_REG_IDX_CPENABLE | |
XT_REG_IDX_EXCCAUSE | |
XT_REG_IDX_DEBUGCAUSE | |
XT_REG_IDX_ICOUNT | |
XT_REG_IDX_ICOUNTLEVEL | |
XT_REG_IDX_A0 | |
XT_REG_IDX_A1 | |
XT_REG_IDX_A2 | |
XT_REG_IDX_A3 | |
XT_REG_IDX_A4 | |
XT_REG_IDX_A5 | |
XT_REG_IDX_A6 | |
XT_REG_IDX_A7 | |
XT_REG_IDX_A8 | |
XT_REG_IDX_A9 | |
XT_REG_IDX_A10 | |
XT_REG_IDX_A11 | |
XT_REG_IDX_A12 | |
XT_REG_IDX_A13 | |
XT_REG_IDX_A14 | |
XT_REG_IDX_A15 | |
XT_NUM_REGS | |
Definition at line 15 of file xtensa_regs.h.
◆ xtensa_reg_type
Enumerator |
---|
XT_REG_GENERAL | |
XT_REG_USER | |
XT_REG_SPECIAL | |
XT_REG_DEBUG | |
XT_REG_RELGEN | |
XT_REG_FR | |
XT_REG_TIE | |
XT_REG_OTHER | |
XT_REG_TYPE_NUM | |
XT_REG_GENERAL_MASK | |
XT_REG_GENERAL_VAL | |
XT_REG_USER_MASK | |
XT_REG_USER_VAL | |
XT_REG_SPECIAL_MASK | |
XT_REG_SPECIAL_VAL | |
XT_REG_DEBUG_MASK | |
XT_REG_DEBUG_VAL | |
XT_REG_RELGEN_MASK | |
XT_REG_RELGEN_VAL | |
XT_REG_FR_MASK | |
XT_REG_FR_VAL | |
XT_REG_TIE_MASK | |
XT_REG_TIE_VAL | |
XT_REG_OTHER_MASK | |
XT_REG_OTHER_VAL | |
XT_REG_INDEX_MASK | |
Definition at line 74 of file xtensa_regs.h.
◆ xtensa_regs