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

Go to the source code of this file.

Macros

#define ESP_XTENSA_SMP_EXAMINE_OTHER_CORES   5
 

Functions

 COMMAND_HANDLER (esp_xtensa_smp_cmd_mask_interrupts)
 
 COMMAND_HANDLER (esp_xtensa_smp_cmd_perfmon_dump)
 
 COMMAND_HANDLER (esp_xtensa_smp_cmd_perfmon_enable)
 
 COMMAND_HANDLER (esp_xtensa_smp_cmd_permissive_mode)
 
 COMMAND_HANDLER (esp_xtensa_smp_cmd_smpbreak)
 
 COMMAND_HANDLER (esp_xtensa_smp_cmd_tracedump)
 
 COMMAND_HANDLER (esp_xtensa_smp_cmd_tracestart)
 
 COMMAND_HANDLER (esp_xtensa_smp_cmd_tracestop)
 
 COMMAND_HANDLER (esp_xtensa_smp_cmd_xtdef)
 
 COMMAND_HANDLER (esp_xtensa_smp_cmd_xtmem)
 
 COMMAND_HANDLER (esp_xtensa_smp_cmd_xtmmu)
 
 COMMAND_HANDLER (esp_xtensa_smp_cmd_xtmpu)
 
 COMMAND_HANDLER (esp_xtensa_smp_cmd_xtopt)
 
 COMMAND_HANDLER (esp_xtensa_smp_cmd_xtreg)
 
 COMMAND_HANDLER (esp_xtensa_smp_cmd_xtregfmt)
 
int esp_xtensa_smp_assert_reset (struct target *target)
 
int esp_xtensa_smp_deassert_reset (struct target *target)
 
int esp_xtensa_smp_init_arch_info (struct target *target, struct esp_xtensa_smp_common *esp_xtensa_smp, struct xtensa_debug_module_config *dm_cfg, const struct esp_xtensa_smp_chip_ops *chip_ops, const struct esp_semihost_ops *semihost_ops)
 
int esp_xtensa_smp_on_halt (struct target *target)
 
int esp_xtensa_smp_poll (struct target *target)
 
int esp_xtensa_smp_resume (struct target *target, int current, target_addr_t address, int handle_breakpoints, int debug_execution)
 
static int esp_xtensa_smp_resume_cores (struct target *target, int handle_breakpoints, int debug_execution)
 
int esp_xtensa_smp_run_func_image (struct target *target, struct esp_algorithm_run_data *run, uint32_t num_args,...)
 
int esp_xtensa_smp_run_onboard_func (struct target *target, struct esp_algorithm_run_data *run, uint32_t func_addr, uint32_t num_args,...)
 
static int esp_xtensa_smp_smpbreak_disable (struct target *target, uint32_t *smp_break)
 
static int esp_xtensa_smp_smpbreak_restore (struct target *target, uint32_t smp_break)
 
int esp_xtensa_smp_soft_reset_halt (struct target *target)
 
int esp_xtensa_smp_step (struct target *target, int current, target_addr_t address, int handle_breakpoints)
 
int esp_xtensa_smp_target_init (struct command_context *cmd_ctx, struct target *target)
 
static int esp_xtensa_smp_update_halt_gdb (struct target *target, bool *need_resume)
 
int esp_xtensa_smp_watchpoint_add (struct target *target, struct watchpoint *watchpoint)
 
int esp_xtensa_smp_watchpoint_remove (struct target *target, struct watchpoint *watchpoint)
 
static struct targetget_halted_esp_xtensa_smp (struct target *target, int32_t coreid)
 
static struct esp_xtensa_smp_commontarget_to_esp_xtensa_smp (struct target *target)
 

Variables

const struct command_registration esp_xtensa_smp_command_handlers []
 
const struct command_registration esp_xtensa_smp_xtensa_command_handlers []
 

Macro Definition Documentation

◆ ESP_XTENSA_SMP_EXAMINE_OTHER_CORES

#define ESP_XTENSA_SMP_EXAMINE_OTHER_CORES   5

Definition at line 59 of file esp_xtensa_smp.c.

Function Documentation

◆ COMMAND_HANDLER() [1/15]

COMMAND_HANDLER ( esp_xtensa_smp_cmd_mask_interrupts  )

◆ COMMAND_HANDLER() [2/15]

COMMAND_HANDLER ( esp_xtensa_smp_cmd_perfmon_dump  )

◆ COMMAND_HANDLER() [3/15]

COMMAND_HANDLER ( esp_xtensa_smp_cmd_perfmon_enable  )

◆ COMMAND_HANDLER() [4/15]

COMMAND_HANDLER ( esp_xtensa_smp_cmd_permissive_mode  )

◆ COMMAND_HANDLER() [5/15]

COMMAND_HANDLER ( esp_xtensa_smp_cmd_smpbreak  )

◆ COMMAND_HANDLER() [6/15]

◆ COMMAND_HANDLER() [7/15]

COMMAND_HANDLER ( esp_xtensa_smp_cmd_tracestart  )

◆ COMMAND_HANDLER() [8/15]

COMMAND_HANDLER ( esp_xtensa_smp_cmd_tracestop  )

◆ COMMAND_HANDLER() [9/15]

COMMAND_HANDLER ( esp_xtensa_smp_cmd_xtdef  )

◆ COMMAND_HANDLER() [10/15]

COMMAND_HANDLER ( esp_xtensa_smp_cmd_xtmem  )

◆ COMMAND_HANDLER() [11/15]

COMMAND_HANDLER ( esp_xtensa_smp_cmd_xtmmu  )

◆ COMMAND_HANDLER() [12/15]

COMMAND_HANDLER ( esp_xtensa_smp_cmd_xtmpu  )

◆ COMMAND_HANDLER() [13/15]

COMMAND_HANDLER ( esp_xtensa_smp_cmd_xtopt  )

◆ COMMAND_HANDLER() [14/15]

COMMAND_HANDLER ( esp_xtensa_smp_cmd_xtreg  )

◆ COMMAND_HANDLER() [15/15]

COMMAND_HANDLER ( esp_xtensa_smp_cmd_xtregfmt  )

◆ esp_xtensa_smp_assert_reset()

int esp_xtensa_smp_assert_reset ( struct target target)

Definition at line 68 of file esp_xtensa_smp.c.

References ERROR_OK.

◆ esp_xtensa_smp_deassert_reset()

int esp_xtensa_smp_deassert_reset ( struct target target)

◆ esp_xtensa_smp_init_arch_info()

int esp_xtensa_smp_init_arch_info ( struct target target,
struct esp_xtensa_smp_common esp_xtensa_smp,
struct xtensa_debug_module_config dm_cfg,
const struct esp_xtensa_smp_chip_ops chip_ops,
const struct esp_semihost_ops semihost_ops 
)

◆ esp_xtensa_smp_on_halt()

int esp_xtensa_smp_on_halt ( struct target target)

◆ esp_xtensa_smp_poll()

◆ esp_xtensa_smp_resume()

◆ esp_xtensa_smp_resume_cores()

static int esp_xtensa_smp_resume_cores ( struct target target,
int  handle_breakpoints,
int  debug_execution 
)
static

◆ esp_xtensa_smp_run_func_image()

◆ esp_xtensa_smp_run_onboard_func()

int esp_xtensa_smp_run_onboard_func ( struct target target,
struct esp_algorithm_run_data run,
uint32_t  func_addr,
uint32_t  num_args,
  ... 
)

◆ esp_xtensa_smp_smpbreak_disable()

static int esp_xtensa_smp_smpbreak_disable ( struct target target,
uint32_t *  smp_break 
)
inlinestatic

◆ esp_xtensa_smp_smpbreak_restore()

static int esp_xtensa_smp_smpbreak_restore ( struct target target,
uint32_t  smp_break 
)
inlinestatic

◆ esp_xtensa_smp_soft_reset_halt()

◆ esp_xtensa_smp_step()

◆ esp_xtensa_smp_target_init()

int esp_xtensa_smp_target_init ( struct command_context cmd_ctx,
struct target target 
)

◆ esp_xtensa_smp_update_halt_gdb()

◆ esp_xtensa_smp_watchpoint_add()

◆ esp_xtensa_smp_watchpoint_remove()

int esp_xtensa_smp_watchpoint_remove ( struct target target,
struct watchpoint watchpoint 
)

◆ get_halted_esp_xtensa_smp()

static struct target* get_halted_esp_xtensa_smp ( struct target target,
int32_t  coreid 
)
static

◆ target_to_esp_xtensa_smp()

static struct esp_xtensa_smp_common* target_to_esp_xtensa_smp ( struct target target)
inlinestatic

Variable Documentation

◆ esp_xtensa_smp_command_handlers

const struct command_registration esp_xtensa_smp_command_handlers[]
Initial value:
= {
{
.name = "xtensa",
.usage = "",
},
}
#define COMMAND_REGISTRATION_DONE
Use this as the last entry in an array of command_registration records.
Definition: command.h:253
const struct command_registration esp_xtensa_smp_xtensa_command_handlers[]

Definition at line 880 of file esp_xtensa_smp.c.

◆ esp_xtensa_smp_xtensa_command_handlers

const struct command_registration esp_xtensa_smp_xtensa_command_handlers[]

Definition at line 880 of file esp_xtensa_smp.c.