OpenOCD
esp_xtensa.h File Reference
Include dependency graph for esp_xtensa.h:
This graph shows which files directly or indirectly include this file:

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_commontarget_to_esp_xtensa (struct target *target)
 

Function Documentation

◆ esp_xtensa_arch_state()

int esp_xtensa_arch_state ( struct target target)

Definition at line 100 of file esp_xtensa.c.

References ERROR_OK.

◆ esp_xtensa_breakpoint_add()

int esp_xtensa_breakpoint_add ( struct target target,
struct breakpoint breakpoint 
)

Definition at line 171 of file esp_xtensa.c.

References xtensa_breakpoint_add().

◆ esp_xtensa_breakpoint_remove()

int esp_xtensa_breakpoint_remove ( struct target target,
struct breakpoint breakpoint 
)

Definition at line 177 of file esp_xtensa.c.

References xtensa_breakpoint_remove().

◆ esp_xtensa_init_arch_info()

◆ esp_xtensa_on_halt()

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().

◆ esp_xtensa_poll()

◆ esp_xtensa_profiling()

int esp_xtensa_profiling ( struct target target,
uint32_t *  samples,
uint32_t  max_num_samples,
uint32_t *  num_samples,
uint32_t  seconds 
)

◆ esp_xtensa_queue_tdi_idle()

void esp_xtensa_queue_tdi_idle ( struct target target)

◆ esp_xtensa_target_deinit()

void esp_xtensa_target_deinit ( struct target target)

◆ esp_xtensa_target_init()

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().

◆ target_to_esp_xtensa()