OpenOCD
|
Go to the source code of this file.
Functions | |
int | xtensa_chip_arch_state (struct target *target) |
static int | xtensa_chip_examine (struct target *target) |
int | xtensa_chip_init_arch_info (struct target *target, void *arch_info, struct xtensa_debug_module_config *dm_cfg) |
static int | xtensa_chip_jim_configure (struct target *target, struct jim_getopt_info *goi) |
static int | xtensa_chip_poll (struct target *target) |
static int | xtensa_chip_target_create (struct target *target, Jim_Interp *interp) |
static void | xtensa_chip_target_deinit (struct target *target) |
int | xtensa_chip_target_init (struct command_context *cmd_ctx, struct target *target) |
static int | xtensa_chip_virt2phys (struct target *target, target_addr_t virtual, target_addr_t *physical) |
Variables | |
static const struct xtensa_debug_ops | xtensa_chip_dm_dbg_ops |
static const struct xtensa_power_ops | xtensa_chip_dm_pwr_ops |
struct target_type | xtensa_chip_target |
Methods for generic example of Xtensa-based chip-level targets. More... | |
int xtensa_chip_arch_state | ( | struct target * | target | ) |
Definition at line 36 of file xtensa_chip.c.
References ERROR_OK.
|
static |
Definition at line 130 of file xtensa_chip.c.
References xtensa::dbg_mod, ERROR_OK, target_to_xtensa(), xtensa_dm_examine(), and xtensa_examine().
int xtensa_chip_init_arch_info | ( | struct target * | target, |
void * | arch_info, | ||
struct xtensa_debug_module_config * | dm_cfg | ||
) |
Definition at line 19 of file xtensa_chip.c.
References ERROR_OK, xtensa_chip_common::xtensa, xtensa::xtensa_chip, and xtensa_init_arch_info().
Referenced by xtensa_chip_target_create().
|
static |
Definition at line 139 of file xtensa_chip.c.
References adiv5_jim_configure(), target::has_dap, and LOG_DEBUG.
|
static |
Definition at line 41 of file xtensa_chip.c.
References target::state, target_call_event_callbacks(), TARGET_DEBUG_RUNNING, TARGET_EVENT_DEBUG_HALTED, TARGET_EVENT_HALTED, TARGET_HALTED, and xtensa_poll().
|
static |
Definition at line 78 of file xtensa_chip.c.
References jtag_tap::abs_chain_position, adiv5_verify_config(), adiv5_private_config::ap_num, xtensa_debug_module_config::ap_offset, jtag_tap::chip, adiv5_private_config::dap, xtensa_debug_module_config::dap, xtensa_debug_module_config::dbg_ops, DBG_REASON_NOTHALTED, target::dbgbase, xtensa_debug_module_config::debug_apsel, target::debug_reason, DP_APSEL_INVALID, ERROR_FAIL, ERROR_OK, LOG_DEBUG, LOG_ERROR, NULL, target::private_config, target::state, target::tap, xtensa_debug_module_config::tap, jtag_tap::tapname, TARGET_RUNNING, xtensa_chip_dm_dbg_ops, xtensa_chip_dm_pwr_ops, and xtensa_chip_init_arch_info().
|
static |
Definition at line 123 of file xtensa_chip.c.
References target_to_xtensa(), xtensa::xtensa_chip, and xtensa_target_deinit().
int xtensa_chip_target_init | ( | struct command_context * | cmd_ctx, |
struct target * | target | ||
) |
Definition at line 31 of file xtensa_chip.c.
References xtensa_target_init().
|
static |
Definition at line 57 of file xtensa_chip.c.
|
static |
Definition at line 57 of file xtensa_chip.c.
Referenced by xtensa_chip_target_create().
|
static |
Definition at line 57 of file xtensa_chip.c.
Referenced by xtensa_chip_target_create().
struct target_type xtensa_chip_target |
Methods for generic example of Xtensa-based chip-level targets.
Definition at line 139 of file xtensa_chip.c.