OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | nds32_reg_exception_s |
struct | nds32_reg_s |
Macros | |
#define | NDS32_REGISTER_DISABLE (0x0) |
#define | SRIDX(a, b, c) ((a << 7) | (b << 3) | c) |
Functions | |
bool | nds32_reg_exception (uint32_t number, uint32_t value) |
void | nds32_reg_init (void) |
const char * | nds32_reg_simple_name (uint32_t number) |
uint8_t | nds32_reg_size (uint32_t number) |
uint32_t | nds32_reg_sr_index (uint32_t number) |
const char * | nds32_reg_symbolic_name (uint32_t number) |
enum nds32_reg_type_s | nds32_reg_type (uint32_t number) |
#define NDS32_REGISTER_DISABLE (0x0) |
Definition at line 12 of file nds32_reg.h.
#define SRIDX | ( | a, | |
b, | |||
c | |||
) | ((a << 7) | (b << 3) | c) |
Definition at line 11 of file nds32_reg.h.
enum nds32_reg_number_s |
Definition at line 14 of file nds32_reg.h.
enum nds32_reg_type_s |
Definition at line 275 of file nds32_reg.h.
bool nds32_reg_exception | ( | uint32_t | number, |
uint32_t | value | ||
) |
Definition at line 345 of file nds32_reg.c.
References nds32_reg_exception_s::ex_value, nds32_reg_exception_s::ex_value_bit_pos, nds32_reg_exception_s::ex_value_mask, LOG_WARNING, nds32_ex_reg_values, nds32_regs, number, and nds32_reg_exception_s::reg_num.
Referenced by nds32_set_core_reg().
void nds32_reg_init | ( | void | ) |
Definition at line 41 of file nds32_reg.c.
References ADM_VBASE, CB_CTL, CBB0, CBB1, CBB2, CBB3, CBE0, CBE1, CBE2, CBE3, CR0, CR1, CR2, CR3, CR4, CR5, CR6, D0HI, D0L24, D0LO, D1HI, D1L24, D1LO, DMAR0, DMAR1, DMAR10, DMAR2, DMAR3, DMAR4, DMAR5, DMAR6, DMAR7, DMAR8, DMAR9, DR0, DR1, DR10, DR11, DR12, DR13, DR14, DR15, DR16, DR17, DR18, DR19, DR2, DR20, DR21, DR22, DR23, DR24, DR25, DR26, DR27, DR28, DR29, DR3, DR30, DR31, DR32, DR33, DR34, DR35, DR36, DR37, DR38, DR39, DR4, DR40, DR41, DR42, DR43, DR44, DR45, DR46, DR47, DR48, DR5, DR6, DR7, DR8, DR9, FD0, FD1, FD10, FD11, FD12, FD13, FD14, FD15, FD16, FD17, FD18, FD19, FD2, FD20, FD21, FD22, FD23, FD24, FD25, FD26, FD27, FD28, FD29, FD3, FD30, FD31, FD4, FD5, FD6, FD7, FD8, FD9, FPCFG, FPCSR, FS0, FS1, FS10, FS11, FS12, FS13, FS14, FS15, FS16, FS17, FS18, FS19, FS2, FS20, FS21, FS22, FS23, FS24, FS25, FS26, FS27, FS28, FS29, FS3, FS30, FS31, FS4, FS5, FS6, FS7, FS8, FS9, FUCPR, I0, I1, I2, I3, I4, I5, I6, I7, IDR0, IDR1, IFC_LP, IR0, IR1, IR10, IR11, IR12, IR13, IR14, IR15, IR16, IR17, IR18, IR19, IR2, IR20, IR21, IR22, IR23, IR24, IR25, IR26, IR27, IR28, IR29, IR3, IR30, IR4, IR5, IR6, IR7, IR8, IR9, ITB, LBE, LC, LE, M1, M2, M3, M5, M6, M7, MOD, MR0, MR1, MR10, MR11, MR2, MR3, MR4, MR5, MR6, MR7, MR8, MR9, nds32_reg_init_done, nds32_reg_set(), NDS32_REG_TYPE_AUMR, NDS32_REG_TYPE_CR, NDS32_REG_TYPE_DMAR, NDS32_REG_TYPE_DR, NDS32_REG_TYPE_FPU, NDS32_REG_TYPE_GPR, NDS32_REG_TYPE_IDR, NDS32_REG_TYPE_IR, NDS32_REG_TYPE_MR, NDS32_REG_TYPE_PFR, NDS32_REG_TYPE_RACR, NDS32_REG_TYPE_SECURE, NDS32_REG_TYPE_SPR, PC, PFR0, PFR1, PFR2, PFR3, R0, R1, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R2, R20, R21, R22, R23, R24, R25, R26, R27, R28, R29, R3, R30, R31, R4, R5, R6, R7, R8, R9, RACR, SECUR0, SHFT_CTL0, SHFT_CTL1, and SRIDX.
Referenced by nds32_init_arch_info().
const char* nds32_reg_simple_name | ( | uint32_t | number | ) |
Definition at line 335 of file nds32_reg.c.
References nds32_regs, number, and nds32_reg_s::simple_mnemonic.
Referenced by aice_usb_read_reg_64(), aice_usb_write_reg_64(), and nds32_build_reg_cache().
uint8_t nds32_reg_size | ( | uint32_t | number | ) |
Definition at line 330 of file nds32_reg.c.
References nds32_regs, number, and nds32_reg_s::size.
Referenced by nds32_build_reg_cache().
uint32_t nds32_reg_sr_index | ( | uint32_t | number | ) |
Definition at line 320 of file nds32_reg.c.
References nds32_regs, number, and nds32_reg_s::sr_index.
Referenced by aice_read_reg(), aice_write_reg(), and fill_profiling_batch_commands().
const char* nds32_reg_symbolic_name | ( | uint32_t | number | ) |
Definition at line 340 of file nds32_reg.c.
References nds32_regs, number, and nds32_reg_s::symbolic_mnemonic.
enum nds32_reg_type_s nds32_reg_type | ( | uint32_t | number | ) |
Definition at line 320 of file nds32_reg.c.
Referenced by aice_read_reg(), aice_write_reg(), fill_profiling_batch_commands(), nds32_get_core_reg(), and nds32_set_core_reg().