OpenOCD
nds32_aice.c File Reference
Include dependency graph for nds32_aice.c:

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)
 

Function Documentation

◆ aice_cache_ctl()

int aice_cache_ctl ( struct aice_port_s aice,
uint32_t  subtype,
uint32_t  address 
)

◆ aice_execute()

int aice_execute ( struct aice_port_s aice,
uint32_t *  instructions,
uint32_t  instruction_num 
)

◆ aice_profiling()

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 
)

◆ aice_program_edm()

int aice_program_edm ( struct aice_port_s aice,
char *  command_sequence 
)

◆ aice_read_reg_64()

int aice_read_reg_64 ( struct aice_port_s aice,
uint32_t  num,
uint64_t *  val 
)

◆ aice_read_tlb()

int aice_read_tlb ( struct aice_port_s aice,
target_addr_t  virtual_address,
target_addr_t physical_address 
)

◆ aice_set_command_mode()

int aice_set_command_mode ( struct aice_port_s aice,
enum aice_command_mode  command_mode 
)

◆ aice_set_count_to_check_dbger()

int aice_set_count_to_check_dbger ( struct aice_port_s aice,
uint32_t  count_to_check 
)

◆ aice_set_custom_restart_script()

int aice_set_custom_restart_script ( struct aice_port_s aice,
const char *  script 
)

◆ aice_set_custom_srst_script()

int aice_set_custom_srst_script ( struct aice_port_s aice,
const char *  script 
)

◆ aice_set_custom_trst_script()

int aice_set_custom_trst_script ( struct aice_port_s aice,
const char *  script 
)

◆ aice_set_retry_times()

int aice_set_retry_times ( struct aice_port_s aice,
uint32_t  a_retry_times 
)

◆ aice_write_reg_64()

int aice_write_reg_64 ( struct aice_port_s aice,
uint32_t  num,
uint64_t  val 
)