OpenOCD
|
Go to the source code of this file.
Functions | |
int | aice_cache_ctl (struct aice_port_s *aice, uint32_t subtype, uint32_t address) |
int | aice_execute (struct aice_port_s *aice, uint32_t *instructions, uint32_t instruction_num) |
int | aice_profiling (struct aice_port_s *aice, uint32_t interval, uint32_t iteration, uint32_t reg_no, uint32_t *samples, uint32_t *num_samples) |
int | aice_program_edm (struct aice_port_s *aice, char *command_sequence) |
int | aice_read_reg_64 (struct aice_port_s *aice, uint32_t num, uint64_t *val) |
int | aice_read_tlb (struct aice_port_s *aice, target_addr_t virtual_address, target_addr_t *physical_address) |
int | aice_set_command_mode (struct aice_port_s *aice, enum aice_command_mode command_mode) |
int | aice_set_count_to_check_dbger (struct aice_port_s *aice, uint32_t count_to_check) |
int | aice_set_custom_restart_script (struct aice_port_s *aice, const char *script) |
int | aice_set_custom_srst_script (struct aice_port_s *aice, const char *script) |
int | aice_set_custom_trst_script (struct aice_port_s *aice, const char *script) |
int | aice_set_retry_times (struct aice_port_s *aice, uint32_t a_retry_times) |
int | aice_write_reg_64 (struct aice_port_s *aice, uint32_t num, uint64_t val) |
int aice_cache_ctl | ( | struct aice_port_s * | aice, |
uint32_t | subtype, | ||
uint32_t | address | ||
) |
Definition at line 45 of file nds32_aice.c.
References aice_port::api, aice_port_api_s::cache_ctl, aice_port_s::coreid, ERROR_FAIL, LOG_WARNING, and aice_port_s::port.
Referenced by COMMAND_HANDLER(), and nds32_cache_sync().
int aice_execute | ( | struct aice_port_s * | aice, |
uint32_t * | instructions, | ||
uint32_t | instruction_num | ||
) |
Definition at line 86 of file nds32_aice.c.
References aice_port::api, aice_port_s::coreid, ERROR_FAIL, aice_port_api_s::execute, instructions, LOG_WARNING, and aice_port_s::port.
Referenced by nds32_v3_leave_debug_state().
int aice_profiling | ( | struct aice_port_s * | aice, |
uint32_t | interval, | ||
uint32_t | iteration, | ||
uint32_t | reg_no, | ||
uint32_t * | samples, | ||
uint32_t * | num_samples | ||
) |
Definition at line 137 of file nds32_aice.c.
References aice_port::api, aice_port_s::coreid, ERROR_FAIL, LOG_WARNING, aice_port_s::port, and aice_port_api_s::profiling.
Referenced by nds32_profiling().
int aice_program_edm | ( | struct aice_port_s * | aice, |
char * | command_sequence | ||
) |
Definition at line 65 of file nds32_aice.c.
References aice_port::api, aice_port_s::coreid, ERROR_FAIL, LOG_WARNING, aice_port_s::port, and aice_port_api_s::program_edm.
Referenced by nds32_login().
int aice_read_reg_64 | ( | struct aice_port_s * | aice, |
uint32_t | num, | ||
uint64_t * | val | ||
) |
Definition at line 14 of file nds32_aice.c.
References aice_port::api, aice_port_s::coreid, ERROR_FAIL, LOG_WARNING, aice_port_s::port, and aice_port_api_s::read_reg_64.
Referenced by nds32_get_core_reg_64().
int aice_read_tlb | ( | struct aice_port_s * | aice, |
target_addr_t | virtual_address, | ||
target_addr_t * | physical_address | ||
) |
Definition at line 34 of file nds32_aice.c.
References aice_port::api, aice_port_s::coreid, ERROR_FAIL, LOG_WARNING, aice_port_s::port, and aice_port_api_s::read_tlb.
Referenced by nds32_probe_tlb().
int aice_set_command_mode | ( | struct aice_port_s * | aice, |
enum aice_command_mode | command_mode | ||
) |
Definition at line 75 of file nds32_aice.c.
References aice_port::api, ERROR_FAIL, LOG_WARNING, aice_port_s::port, and aice_port_api_s::set_command_mode.
Referenced by jim_nds32_multi_write().
int aice_set_count_to_check_dbger | ( | struct aice_port_s * | aice, |
uint32_t | count_to_check | ||
) |
Definition at line 127 of file nds32_aice.c.
References aice_port::api, ERROR_FAIL, LOG_WARNING, aice_port_s::port, and aice_port_api_s::set_count_to_check_dbger.
int aice_set_custom_restart_script | ( | struct aice_port_s * | aice, |
const char * | script | ||
) |
Definition at line 117 of file nds32_aice.c.
References aice_port::api, ERROR_FAIL, LOG_WARNING, aice_port_s::port, and aice_port_api_s::set_custom_restart_script.
int aice_set_custom_srst_script | ( | struct aice_port_s * | aice, |
const char * | script | ||
) |
Definition at line 97 of file nds32_aice.c.
References aice_port::api, ERROR_FAIL, LOG_WARNING, aice_port_s::port, and aice_port_api_s::set_custom_srst_script.
int aice_set_custom_trst_script | ( | struct aice_port_s * | aice, |
const char * | script | ||
) |
Definition at line 107 of file nds32_aice.c.
References aice_port::api, ERROR_FAIL, LOG_WARNING, aice_port_s::port, and aice_port_api_s::set_custom_trst_script.
int aice_set_retry_times | ( | struct aice_port_s * | aice, |
uint32_t | a_retry_times | ||
) |
Definition at line 55 of file nds32_aice.c.
References aice_port::api, ERROR_FAIL, LOG_WARNING, aice_port_s::port, and aice_port_api_s::set_retry_times.
int aice_write_reg_64 | ( | struct aice_port_s * | aice, |
uint32_t | num, | ||
uint64_t | val | ||
) |
Definition at line 24 of file nds32_aice.c.
References aice_port::api, aice_port_s::coreid, ERROR_FAIL, LOG_WARNING, aice_port_s::port, and aice_port_api_s::write_reg_64.
Referenced by nds32_restore_context().