OpenOCD
aice_port_api_s Struct Reference

Data Fields

int(* assert_srst )(uint32_t coreid, enum aice_srst_type_s srst)
 
int(* cache_ctl )(uint32_t coreid, uint32_t subtype, uint32_t address)
 
int(* close )(void)
 
int(* execute )(uint32_t coreid, uint32_t *instructions, uint32_t instruction_num)
 
int(* halt )(uint32_t coreid)
 
int(* idcode )(uint32_t *idcode, uint8_t *num_of_idcode)
 
int(* memory_access )(uint32_t coreid, enum nds_memory_access a_access)
 
int(* memory_mode )(uint32_t coreid, enum nds_memory_select mem_select)
 
int(* open )(struct aice_port_param_s *param)
 
int(* profiling )(uint32_t coreid, uint32_t interval, uint32_t iteration, uint32_t reg_no, uint32_t *samples, uint32_t *num_samples)
 
int(* program_edm )(uint32_t coreid, char *command_sequence)
 
int(* read_debug_reg )(uint32_t coreid, uint32_t addr, uint32_t *val)
 
int(* read_mem_bulk )(uint32_t coreid, uint32_t addr, uint32_t length, uint8_t *buffer)
 
int(* read_mem_unit )(uint32_t coreid, uint32_t addr, uint32_t size, uint32_t count, uint8_t *buffer)
 
int(* read_reg )(uint32_t coreid, uint32_t num, uint32_t *val)
 
int(* read_reg_64 )(uint32_t coreid, uint32_t num, uint64_t *val)
 
int(* read_tlb )(uint32_t coreid, target_addr_t virtual_address, target_addr_t *physical_address)
 
int(* reset )(void)
 
int(* run )(uint32_t coreid)
 
int(* set_command_mode )(enum aice_command_mode command_mode)
 
int(* set_count_to_check_dbger )(uint32_t count_to_check)
 
int(* set_custom_restart_script )(const char *script)
 
int(* set_custom_srst_script )(const char *script)
 
int(* set_custom_trst_script )(const char *script)
 
int(* set_data_endian )(uint32_t coreid, enum aice_target_endian target_data_endian)
 
int(* set_jtag_clock )(uint32_t a_clock)
 
int(* set_retry_times )(uint32_t a_retry_times)
 
int(* state )(uint32_t coreid, enum aice_target_state_s *state)
 
int(* step )(uint32_t coreid)
 
int(* write_debug_reg )(uint32_t coreid, uint32_t addr, const uint32_t val)
 
int(* write_mem_bulk )(uint32_t coreid, uint32_t addr, uint32_t length, const uint8_t *buffer)
 
int(* write_mem_unit )(uint32_t coreid, uint32_t addr, uint32_t size, uint32_t count, const uint8_t *buffer)
 
int(* write_reg )(uint32_t coreid, uint32_t num, uint32_t val)
 
int(* write_reg_64 )(uint32_t coreid, uint32_t num, uint64_t val)
 

Detailed Description

Definition at line 117 of file aice_port.h.

Field Documentation

◆ assert_srst

int(* aice_port_api_s::assert_srst) (uint32_t coreid, enum aice_srst_type_s srst)

Definition at line 129 of file aice_port.h.

Referenced by aice_assert_srst().

◆ cache_ctl

int(* aice_port_api_s::cache_ctl) (uint32_t coreid, uint32_t subtype, uint32_t address)

Definition at line 173 of file aice_port.h.

Referenced by aice_cache_ctl().

◆ close

int(* aice_port_api_s::close) (void)

Definition at line 121 of file aice_port.h.

Referenced by aice_close(), and aice_quit().

◆ execute

int(* aice_port_api_s::execute) (uint32_t coreid, uint32_t *instructions, uint32_t instruction_num)

Definition at line 185 of file aice_port.h.

Referenced by aice_execute().

◆ halt

int(* aice_port_api_s::halt) (uint32_t coreid)

Definition at line 133 of file aice_port.h.

Referenced by aice_halt().

◆ idcode

int(* aice_port_api_s::idcode) (uint32_t *idcode, uint8_t *num_of_idcode)

Definition at line 125 of file aice_port.h.

Referenced by aice_idcode(), aice_init_targets(), and aice_scan_jtag_chain().

◆ memory_access

int(* aice_port_api_s::memory_access) (uint32_t coreid, enum nds_memory_access a_access)

Definition at line 165 of file aice_port.h.

Referenced by aice_memory_access().

◆ memory_mode

int(* aice_port_api_s::memory_mode) (uint32_t coreid, enum nds_memory_select mem_select)

Definition at line 167 of file aice_port.h.

Referenced by aice_memory_mode().

◆ open

int(* aice_port_api_s::open) (struct aice_port_param_s *param)

Definition at line 119 of file aice_port.h.

Referenced by aice_init(), and aice_open().

◆ profiling

int(* aice_port_api_s::profiling) (uint32_t coreid, uint32_t interval, uint32_t iteration, uint32_t reg_no, uint32_t *samples, uint32_t *num_samples)

Definition at line 203 of file aice_port.h.

Referenced by aice_profiling().

◆ program_edm

int(* aice_port_api_s::program_edm) (uint32_t coreid, char *command_sequence)

Definition at line 179 of file aice_port.h.

Referenced by aice_program_edm().

◆ read_debug_reg

int(* aice_port_api_s::read_debug_reg) (uint32_t coreid, uint32_t addr, uint32_t *val)

Definition at line 157 of file aice_port.h.

Referenced by aice_read_debug_reg().

◆ read_mem_bulk

int(* aice_port_api_s::read_mem_bulk) (uint32_t coreid, uint32_t addr, uint32_t length, uint8_t *buffer)

Definition at line 151 of file aice_port.h.

Referenced by aice_read_mem_bulk().

◆ read_mem_unit

int(* aice_port_api_s::read_mem_unit) (uint32_t coreid, uint32_t addr, uint32_t size, uint32_t count, uint8_t *buffer)

Definition at line 145 of file aice_port.h.

Referenced by aice_read_mem_unit().

◆ read_reg

int(* aice_port_api_s::read_reg) (uint32_t coreid, uint32_t num, uint32_t *val)

Definition at line 137 of file aice_port.h.

Referenced by aice_read_register().

◆ read_reg_64

int(* aice_port_api_s::read_reg_64) (uint32_t coreid, uint32_t num, uint64_t *val)

Definition at line 141 of file aice_port.h.

Referenced by aice_read_reg_64().

◆ read_tlb

int(* aice_port_api_s::read_tlb) (uint32_t coreid, target_addr_t virtual_address, target_addr_t *physical_address)

Definition at line 170 of file aice_port.h.

Referenced by aice_read_tlb().

◆ reset

int(* aice_port_api_s::reset) (void)

Definition at line 123 of file aice_port.h.

Referenced by aice_execute_reset(), and aice_reset().

◆ run

int(* aice_port_api_s::run) (uint32_t coreid)

Definition at line 131 of file aice_port.h.

Referenced by aice_run().

◆ set_command_mode

int(* aice_port_api_s::set_command_mode) (enum aice_command_mode command_mode)

Definition at line 182 of file aice_port.h.

Referenced by aice_set_command_mode().

◆ set_count_to_check_dbger

int(* aice_port_api_s::set_count_to_check_dbger) (uint32_t count_to_check)

Definition at line 197 of file aice_port.h.

Referenced by aice_init(), and aice_set_count_to_check_dbger().

◆ set_custom_restart_script

int(* aice_port_api_s::set_custom_restart_script) (const char *script)

Definition at line 194 of file aice_port.h.

Referenced by aice_set_custom_restart_script(), and COMMAND_HANDLER().

◆ set_custom_srst_script

int(* aice_port_api_s::set_custom_srst_script) (const char *script)

Definition at line 188 of file aice_port.h.

Referenced by aice_set_custom_srst_script(), and COMMAND_HANDLER().

◆ set_custom_trst_script

int(* aice_port_api_s::set_custom_trst_script) (const char *script)

Definition at line 191 of file aice_port.h.

Referenced by aice_set_custom_trst_script(), and COMMAND_HANDLER().

◆ set_data_endian

int(* aice_port_api_s::set_data_endian) (uint32_t coreid, enum aice_target_endian target_data_endian)

Definition at line 200 of file aice_port.h.

Referenced by aice_set_data_endian().

◆ set_jtag_clock

int(* aice_port_api_s::set_jtag_clock) (uint32_t a_clock)

Definition at line 127 of file aice_port.h.

Referenced by aice_set_jtag_clock(), and aice_speed().

◆ set_retry_times

int(* aice_port_api_s::set_retry_times) (uint32_t a_retry_times)

Definition at line 176 of file aice_port.h.

Referenced by aice_init(), and aice_set_retry_times().

◆ state

int(* aice_port_api_s::state) (uint32_t coreid, enum aice_target_state_s *state)

Definition at line 162 of file aice_port.h.

Referenced by aice_state().

◆ step

int(* aice_port_api_s::step) (uint32_t coreid)

Definition at line 135 of file aice_port.h.

Referenced by aice_step().

◆ write_debug_reg

int(* aice_port_api_s::write_debug_reg) (uint32_t coreid, uint32_t addr, const uint32_t val)

Definition at line 159 of file aice_port.h.

Referenced by aice_write_debug_reg().

◆ write_mem_bulk

int(* aice_port_api_s::write_mem_bulk) (uint32_t coreid, uint32_t addr, uint32_t length, const uint8_t *buffer)

Definition at line 154 of file aice_port.h.

Referenced by aice_write_mem_bulk().

◆ write_mem_unit

int(* aice_port_api_s::write_mem_unit) (uint32_t coreid, uint32_t addr, uint32_t size, uint32_t count, const uint8_t *buffer)

Definition at line 148 of file aice_port.h.

Referenced by aice_write_mem_unit().

◆ write_reg

int(* aice_port_api_s::write_reg) (uint32_t coreid, uint32_t num, uint32_t val)

Definition at line 139 of file aice_port.h.

Referenced by aice_write_register().

◆ write_reg_64

int(* aice_port_api_s::write_reg_64) (uint32_t coreid, uint32_t num, uint64_t val)

Definition at line 143 of file aice_port.h.

Referenced by aice_write_reg_64().


The documentation for this struct was generated from the following file: