OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | esp_xtensa_common |
Functions | |
int | esp_xtensa_arch_state (struct target *target) |
int | esp_xtensa_breakpoint_add (struct target *target, struct breakpoint *breakpoint) |
int | esp_xtensa_breakpoint_remove (struct target *target, struct breakpoint *breakpoint) |
int | esp_xtensa_init_arch_info (struct target *target, struct esp_xtensa_common *esp_xtensa, struct xtensa_debug_module_config *dm_cfg, const struct esp_semihost_ops *semihost_ops) |
int | esp_xtensa_on_halt (struct target *target) |
int | esp_xtensa_poll (struct target *target) |
int | esp_xtensa_profiling (struct target *target, uint32_t *samples, uint32_t max_num_samples, uint32_t *num_samples, uint32_t seconds) |
void | esp_xtensa_queue_tdi_idle (struct target *target) |
void | esp_xtensa_target_deinit (struct target *target) |
int | esp_xtensa_target_init (struct command_context *cmd_ctx, struct target *target) |
static struct esp_xtensa_common * | target_to_esp_xtensa (struct target *target) |
int esp_xtensa_arch_state | ( | struct target * | target | ) |
Definition at line 100 of file esp_xtensa.c.
References ERROR_OK.
int esp_xtensa_breakpoint_add | ( | struct target * | target, |
struct breakpoint * | breakpoint | ||
) |
Definition at line 171 of file esp_xtensa.c.
References xtensa_breakpoint_add().
int esp_xtensa_breakpoint_remove | ( | struct target * | target, |
struct breakpoint * | breakpoint | ||
) |
Definition at line 177 of file esp_xtensa.c.
References xtensa_breakpoint_remove().
int esp_xtensa_init_arch_info | ( | struct target * | target, |
struct esp_xtensa_common * | esp_xtensa, | ||
struct xtensa_debug_module_config * | dm_cfg, | ||
const struct esp_semihost_ops * | semihost_ops | ||
) |
Definition at line 65 of file esp_xtensa.c.
References esp_xtensa_common::apptrace, ERROR_OK, esp_xtensa_common::esp, esp_common_init(), esp_xtensa_apptrace_hw, esp_xtensa_apptrace_info::hw, esp_semihost_data::ops, esp_xtensa_common::semihost, esp_xtensa_common::xtensa, xtensa_algo_hw, and xtensa_init_arch_info().
Referenced by esp_xtensa_smp_init_arch_info().
int esp_xtensa_on_halt | ( | struct target * | target | ) |
Definition at line 58 of file esp_xtensa.c.
References ERROR_OK, and esp_xtensa_dbgstubs_info_update().
Referenced by esp32s2_on_halt(), and esp_xtensa_smp_on_halt().
int esp_xtensa_poll | ( | struct target * | target | ) |
Definition at line 105 of file esp_xtensa.c.
References xtensa::dbg_mod, esp_common::dbg_stubs, esp_xtensa_common::esp, esp_xtensa_dbgstubs_addr_check(), LOG_TARGET_DEBUG, PWRSTAT_COREWASRESET, target::state, TARGET_DEBUG_RUNNING, target_to_esp_xtensa(), target_to_xtensa(), xtensa_dm_power_status_get(), and xtensa_poll().
Referenced by esp32s2_poll(), and esp_xtensa_smp_poll().
int esp_xtensa_profiling | ( | struct target * | target, |
uint32_t * | samples, | ||
uint32_t | max_num_samples, | ||
uint32_t * | num_samples, | ||
uint32_t | seconds | ||
) |
Definition at line 183 of file esp_xtensa.c.
References buf_get_u32(), xtensa::dbg_mod, ERROR_OK, gettimeofday(), LOG_TARGET_ERROR, LOG_TARGET_INFO, MAX_PASS, MIN_PASS, NULL, target::state, TARGET_HALTED, target_poll(), target_profiling_default(), target_resume(), target_to_xtensa(), timeval_add_time(), timeval_compare(), XDMREG_DEBUGPC, xtensa_dm_queue_execute(), and xtensa_queue_dbg_reg_read().
void esp_xtensa_queue_tdi_idle | ( | struct target * | target | ) |
void esp_xtensa_target_deinit | ( | struct target * | target | ) |
Definition at line 87 of file esp_xtensa.c.
References ERROR_OK, esp_xtensa_dbgstubs_restore(), LOG_DEBUG, target_to_esp_xtensa(), target_was_examined(), and xtensa_target_deinit().
int esp_xtensa_target_init | ( | struct command_context * | cmd_ctx, |
struct target * | target | ||
) |
Definition at line 82 of file esp_xtensa.c.
References xtensa_target_init().
Referenced by esp_xtensa_smp_target_init().
|
inlinestatic |
Definition at line 24 of file esp_xtensa.h.
References target::arch_info, and container_of.
Referenced by __attribute__(), esp32_apptrace_cmd_ctx_init(), esp32s2_poll(), esp_xtensa_dbgstubs_addr_check(), esp_xtensa_dbgstubs_info_update(), esp_xtensa_dbgstubs_restore(), esp_xtensa_poll(), esp_xtensa_semihosting(), esp_xtensa_smp_poll(), esp_xtensa_smp_update_halt_gdb(), and esp_xtensa_target_deinit().