OpenOCD
|
Go to the source code of this file.
Variables | |
struct target_type | avr32_ap7k_target |
static const char *const | avr32_core_reg_list [] |
static const struct avr32_core_reg | avr32_core_reg_list_arch_info [AVR32NUMCOREREGS] |
static const struct reg_arch_type | avr32_reg_type |
|
static |
Definition at line 393 of file avr32_ap7k.c.
|
static |
Definition at line 408 of file avr32_ap7k.c.
|
static |
Definition at line 547 of file avr32_ap7k.c.
References debug_reason_name(), avr32_jtag::dpc, ERROR_OK, avr32_ap7k_common::jtag, LOG_USER, and target_to_ap7k().
|
static |
Definition at line 289 of file avr32_ap7k.c.
|
static |
Definition at line 296 of file avr32_ap7k.c.
|
static |
Definition at line 197 of file avr32_ap7k.c.
References avr32_ap7k_save_context(), avr32_jtag_nexus_read(), AVR32_OCDREG_DINST, AVR32_OCDREG_DPC, avr32_jtag::dpc, ERROR_OK, avr32_ap7k_common::jtag, and target_to_ap7k().
Referenced by avr32_ap7k_poll().
|
static |
Definition at line 524 of file avr32_ap7k.c.
References avr32_jtag_nexus_read(), avr32_ocd_setbits(), AVR32_OCDREG_DC, AVR32_OCDREG_DID, AVR32_OCDREG_DS, ERROR_OK, avr32_ap7k_common::jtag, LOG_INFO, OCDREG_DC_DBE, OCDREG_DS_DBA, target::state, TARGET_HALTED, TARGET_RUNNING, target_set_examined(), target_to_ap7k(), and target_was_examined().
|
static |
Definition at line 557 of file avr32_ap7k.c.
References AVR32NUMCOREREGS, ERROR_FAIL, and LOG_ERROR.
|
static |
Definition at line 256 of file avr32_ap7k.c.
References avr32_ocd_setbits(), AVR32_OCDREG_DC, DBG_REASON_DBGRQ, target::debug_reason, ERROR_OK, ERROR_TARGET_FAILURE, avr32_ap7k_common::jtag, jtag_get_reset_config(), jtag_get_srst(), LOG_DEBUG, LOG_ERROR, LOG_WARNING, OCDREG_DC_DBR, RESET_SRST_PULLS_TRST, target::state, TARGET_HALTED, TARGET_RESET, target_state_name(), target_to_ap7k(), and TARGET_UNKNOWN.
|
static |
Definition at line 503 of file avr32_ap7k.c.
References avr32_build_reg_cache(), ERROR_OK, avr32_ap7k_common::jtag, avr32_jtag::tap, target::tap, and target_to_ap7k().
|
static |
Definition at line 220 of file avr32_ap7k.c.
References avr32_ap7k_debug_entry(), avr32_jtag_nexus_read(), AVR32_OCDREG_DS, ERROR_OK, avr32_ap7k_common::jtag, OCDREG_DS_DBA, target::state, target_call_event_callbacks(), TARGET_DEBUG_RUNNING, TARGET_EVENT_DEBUG_HALTED, TARGET_EVENT_HALTED, TARGET_HALTED, TARGET_RESET, TARGET_RUNNING, and target_to_ap7k().
|
static |
Definition at line 423 of file avr32_ap7k.c.
References avr32_jtag_read_memory16(), avr32_jtag_read_memory32(), avr32_jtag_read_memory8(), buffer, count, ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, ERROR_TARGET_NOT_HALTED, ERROR_TARGET_UNALIGNED_ACCESS, avr32_ap7k_common::jtag, LOG_DEBUG, LOG_TARGET_ERROR, size, target::state, TARGET_HALTED, TARGET_PRIxADDR, and target_to_ap7k().
|
static |
Definition at line 400 of file avr32_ap7k.c.
|
static |
Definition at line 415 of file avr32_ap7k.c.
|
static |
Definition at line 72 of file avr32_ap7k.c.
References avr32_jtag_write_regs(), avr32_write_core_reg(), AVR32NUMCOREREGS, avr32_ap7k_common::core_cache, avr32_ap7k_common::core_regs, reg::dirty, ERROR_OK, avr32_ap7k_common::jtag, reg_cache::reg_list, and target_to_ap7k().
Referenced by avr32_ap7k_resume().
|
static |
Definition at line 303 of file avr32_ap7k.c.
References breakpoint::address, avr32_ap7k_restore_context(), avr32_jtag_exec(), avr32_ocd_clearbits(), AVR32_OCDREG_DC, AVR32_REG_PC, breakpoint_find(), buf_get_u32(), avr32_ap7k_common::core_cache, DBG_REASON_NOTHALTED, target::debug_reason, ERROR_OK, ERROR_TARGET_NOT_HALTED, avr32_ap7k_common::jtag, LOG_DEBUG, LOG_TARGET_ERROR, mips_ejtag_exit_debug(), NULL, OCDREG_DC_DBR, reg_cache::reg_list, register_cache_invalidate(), RETD, target::state, target_call_event_callbacks(), TARGET_DEBUG_RUNNING, TARGET_EVENT_DEBUG_RESUMED, TARGET_EVENT_RESUMED, target_free_all_working_areas(), TARGET_HALTED, TARGET_PRIxADDR, TARGET_RUNNING, target_to_ap7k(), and reg::value.
|
static |
Definition at line 55 of file avr32_ap7k.c.
References avr32_jtag_read_regs(), avr32_read_core_reg(), AVR32NUMCOREREGS, avr32_ap7k_common::core_cache, avr32_ap7k_common::core_regs, ERROR_OK, avr32_ap7k_common::jtag, reg_cache::reg_list, target_to_ap7k(), and reg::valid.
Referenced by avr32_ap7k_debug_entry().
|
static |
Definition at line 385 of file avr32_ap7k.c.
|
static |
Definition at line 513 of file avr32_ap7k.c.
References AP7K_COMMON_MAGIC, target::arch_info, avr32_ap7k_common::common_magic, and ERROR_OK.
|
static |
Definition at line 463 of file avr32_ap7k.c.
References avr32_jtag_write_memory16(), avr32_jtag_write_memory32(), avr32_jtag_write_memory8(), buffer, count, ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, ERROR_TARGET_NOT_HALTED, ERROR_TARGET_UNALIGNED_ACCESS, avr32_ap7k_common::jtag, LOG_DEBUG, LOG_TARGET_ERROR, size, target::state, TARGET_HALTED, TARGET_PRIxADDR, and target_to_ap7k().
Definition at line 162 of file avr32_ap7k.c.
References reg::arch_info, avr32_core_reg::avr32_common, avr32_core_reg_list, avr32_core_reg_list_arch_info, avr32_reg_type, AVR32NUMCOREREGS, avr32_ap7k_common::core_cache, reg::dirty, reg::name, reg_cache::name, reg_cache::next, NULL, reg_cache::num_regs, target::reg_cache, reg_cache::reg_list, register_get_last_cache_p(), reg::size, target, avr32_core_reg::target, target_to_ap7k(), reg::type, reg::valid, and reg::value.
Referenced by avr32_ap7k_init_target().
|
static |
Definition at line 127 of file avr32_ap7k.c.
References reg::arch_info, avr32_read_core_reg(), ERROR_TARGET_NOT_HALTED, avr32_core_reg::num, target::state, avr32_core_reg::target, and TARGET_HALTED.
|
static |
Definition at line 90 of file avr32_ap7k.c.
References AVR32NUMCOREREGS, buf_set_u32(), avr32_ap7k_common::core_cache, avr32_ap7k_common::core_regs, reg::dirty, ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, reg_cache::reg_list, target_to_ap7k(), reg::valid, and reg::value.
Referenced by avr32_ap7k_save_context(), and avr32_get_core_reg().
|
static |
Definition at line 141 of file avr32_ap7k.c.
|
static |
Definition at line 108 of file avr32_ap7k.c.
References AVR32NUMCOREREGS, buf_get_u32(), avr32_ap7k_common::core_cache, avr32_ap7k_common::core_regs, reg::dirty, ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, LOG_DEBUG, reg_cache::reg_list, target_to_ap7k(), reg::valid, and reg::value.
Referenced by avr32_ap7k_restore_context().
struct target_type avr32_ap7k_target |
Definition at line 557 of file avr32_ap7k.c.
|
static |
Definition at line 25 of file avr32_ap7k.c.
Referenced by avr32_build_reg_cache().
|
static |
Definition at line 25 of file avr32_ap7k.c.
Referenced by avr32_build_reg_cache().
|
static |
Definition at line 141 of file avr32_ap7k.c.
Referenced by avr32_build_reg_cache().