OpenOCD
|
Go to the source code of this file.
Variables | |
static const struct reg_arch_type | mips64_reg_type |
struct { | |
const char * feature | |
int flag | |
const char * group | |
unsigned id | |
const char * name | |
enum reg_type type | |
} | mips64_regs [] |
int mips64_arch_state | ( | struct target * | target | ) |
Definition at line 354 of file mips64.c.
References target::arch_info, buf_get_u64(), mips64_common::common_magic, mips64_common::core_cache, debug_reason_name(), ERROR_OK, LOG_ERROR, LOG_USER, MIPS64_COMMON_MAGIC, MIPS64_PC, reg_cache::reg_list, and reg::value.
int mips64_build_reg_cache | ( | struct target * | target | ) |
Definition at line 375 of file mips64.c.
References reg::arch_info, target::arch_info, reg::caller_save, mips64_common::core_cache, ERROR_FAIL, ERROR_OK, reg::exist, mips64_core_reg::feature, reg::feature, reg::group, LOG_ERROR, mips64_core_reg::mips64_common, MIPS64_NUM_REGS, mips64_reg_type, mips64_regs, reg_feature::name, reg::name, reg_cache::name, NULL, mips64_core_reg::num, reg_cache::num_regs, reg::number, target::reg_cache, mips64_core_reg::reg_data_type, reg::reg_data_type, reg_cache::reg_list, reg_type2size(), register_get_last_cache_p(), reg::size, target, mips64_core_reg::target, type, reg_data_type::type, reg::type, mips64_core_reg::value, and reg::value.
Referenced by mips_mips64_init_target().
int mips64_configure_break_unit | ( | struct target * | target | ) |
Definition at line 557 of file mips64.c.
References target::arch_info, mips64_common::bp_scanned, EJTAG64_DCR, EJTAG64_DCR_DB, EJTAG64_DCR_IB, ERROR_OK, LOG_DEBUG, mips64_configure_d_break_unit(), mips64_configure_i_break_unit(), mips64_common::num_data_bpoints, mips64_common::num_inst_bpoints, and target_read_u64().
Referenced by mips_mips64_debug_entry().
|
static |
Definition at line 521 of file mips64.c.
References target::arch_info, mips64_common::data_break_list, EJTAG64_V25_DBA0, EJTAG64_V25_DBS, ERROR_FAIL, ERROR_OK, LOG_ERROR, mips64_common::num_data_bpoints, mips64_common::num_data_bpoints_avail, mips64_comparator::reg_address, target_read_u64(), and target_write_u64().
Referenced by mips64_configure_break_unit().
|
static |
Definition at line 487 of file mips64.c.
References target::arch_info, EJTAG64_V25_IBA0, EJTAG64_V25_IBS, ERROR_FAIL, ERROR_OK, mips64_common::inst_break_list, LOG_ERROR, mips64_common::num_inst_bpoints, mips64_common::num_inst_bpoints_avail, mips64_comparator::reg_address, target_read_u64(), and target_write_u64().
Referenced by mips64_configure_break_unit().
int mips64_enable_interrupts | ( | struct target * | target, |
bool | enable | ||
) |
Definition at line 591 of file mips64.c.
References EJTAG64_DCR, EJTAG64_DCR_INTE, ERROR_OK, target_read_u64(), and target_write_u64().
Referenced by mips_mips64_resume(), mips_mips64_single_step_core(), and mips_mips64_step().
int mips64_examine | ( | struct target * | target | ) |
Definition at line 468 of file mips64.c.
References target::arch_info, mips64_common::bp_scanned, ERROR_OK, mips64_common::num_data_bpoints, mips64_common::num_data_bpoints_avail, mips64_common::num_inst_bpoints, mips64_common::num_inst_bpoints_avail, target_set_examined(), and target_was_examined().
Referenced by mips_mips64_examine().
|
static |
Definition at line 225 of file mips64.c.
References reg::arch_info, target::arch_info, ERROR_TARGET_NOT_HALTED, mips64_core_reg::num, mips64_common::read_core_reg, target::state, mips64_core_reg::target, and TARGET_HALTED.
int mips64_get_gdb_reg_list | ( | struct target * | target, |
struct reg ** | reg_list[], | ||
int * | reg_list_size, | ||
enum target_register_class | reg_class | ||
) |
Definition at line 308 of file mips64.c.
References target::arch_info, mips64_common::core_cache, ERROR_OK, MIPS64_NUM_REGS, and reg_cache::reg_list.
int mips64_init_arch_info | ( | struct target * | target, |
struct mips64_common * | mips64, | ||
struct jtag_tap * | tap | ||
) |
Definition at line 444 of file mips64.c.
References mips64_common::bp_scanned, mips64_common::common_magic, mips64_common::data_break_list, mips64_common::ejtag_info, ERROR_OK, mips64_common::fast_data_area, MIPS64_COMMON_MAGIC, mips64_read_core_reg(), mips64_write_core_reg(), mips64_common::mips64mode32, NULL, mips64_common::read_core_reg, mips_ejtag::tap, and mips64_common::write_core_reg.
Referenced by mips_mips64_target_create().
int mips64_invalidate_core_regs | ( | struct target * | target | ) |
Definition at line 293 of file mips64.c.
References target::arch_info, mips64_common::core_cache, reg::dirty, ERROR_OK, reg_cache::num_regs, reg_cache::reg_list, and reg::valid.
Referenced by mips_mips64_assert_reset(), mips_mips64_resume(), and mips_mips64_step().
|
static |
Definition at line 256 of file mips64.c.
References target::arch_info, buf_set_u64(), mips64_common::core_cache, mips64_common::core_regs, reg::dirty, ERROR_COMMAND_ARGUMENT_INVALID, ERROR_OK, MIPS64_NUM_REGS, reg_cache::reg_list, reg::valid, and reg::value.
Referenced by mips64_init_arch_info().
int mips64_restore_context | ( | struct target * | target | ) |
Definition at line 341 of file mips64.c.
References target::arch_info, mips64_common::core_cache, mips64_common::core_regs, reg::dirty, mips64_common::ejtag_info, MIPS64_NUM_REGS, mips64_pracc_write_regs(), reg_cache::reg_list, and mips64_common::write_core_reg.
Referenced by mips_mips64_resume(), and mips_mips64_step().
int mips64_run_algorithm | ( | struct target * | target, |
int | num_mem_params, | ||
struct mem_param * | mem_params, | ||
int | num_reg_params, | ||
struct reg_param * | reg_params, | ||
target_addr_t | entry_point, | ||
target_addr_t | exit_point, | ||
int | timeout_ms, | ||
void * | arch_info | ||
) |
int mips64_save_context | ( | struct target * | target | ) |
Definition at line 325 of file mips64.c.
References target::arch_info, mips64_common::core_regs, mips64_common::ejtag_info, ERROR_OK, MIPS64_NUM_REGS, mips64_pracc_read_regs(), and mips64_common::read_core_reg.
Referenced by mips_mips64_debug_entry().
|
static |
Definition at line 240 of file mips64.c.
References reg::arch_info, buf_get_u64(), buf_set_u64(), reg::dirty, ERROR_OK, ERROR_TARGET_NOT_HALTED, target::state, mips64_core_reg::target, TARGET_HALTED, reg::valid, and reg::value.
|
static |
Definition at line 274 of file mips64.c.
References target::arch_info, buf_get_u64(), mips64_common::core_cache, mips64_common::core_regs, reg::dirty, ERROR_COMMAND_ARGUMENT_INVALID, ERROR_OK, LOG_DEBUG, MIPS64_NUM_REGS, reg_cache::reg_list, reg::valid, and reg::value.
Referenced by mips64_init_arch_info().
|
static |
Definition at line 211 of file mips64.c.
References REG_TYPE_IEEE_DOUBLE, REG_TYPE_INT, REG_TYPE_UINT32, REG_TYPE_UINT64, and type.
Referenced by mips64_build_reg_cache().
|
static |
Definition at line 354 of file mips64.c.
Referenced by mips64_build_reg_cache().
const { ... } mips64_regs[] |
Referenced by mips64_build_reg_cache().
enum reg_type type |
Definition at line 25 of file mips64.c.
Referenced by mips64_build_reg_cache(), and reg_type2size().