OpenOCD
|
Go to the source code of this file.
Functions | |
static void | fa526_branch_resume_thumb (struct target *target) |
static void | fa526_change_to_arm (struct target *target, uint32_t *r0, uint32_t *pc) |
static void | fa526_deinit_target (struct target *target) |
static int | fa526_init_arch_info (struct target *target, struct arm920t_common *arm920t, struct jtag_tap *tap) |
static int | fa526_init_arch_info_2 (struct target *target, struct arm7_9_common *arm7_9, struct jtag_tap *tap) |
static void | fa526_read_core_regs (struct target *target, uint32_t mask, uint32_t *core_regs[16]) |
static void | fa526_read_core_regs_target_buffer (struct target *target, uint32_t mask, void *buffer, int size) |
static void | fa526_read_xpsr (struct target *target, uint32_t *xpsr, int spsr) |
static int | fa526_target_create (struct target *target, Jim_Interp *interp) |
static void | fa526_write_core_regs (struct target *target, uint32_t mask, uint32_t core_regs[16]) |
static void | fa526_write_pc (struct target *target, uint32_t pc) |
static void | fa526_write_xpsr (struct target *target, uint32_t xpsr, int spsr) |
static void | fa526_write_xpsr_im8 (struct target *target, uint8_t xpsr_im, int rot, int spsr) |
Variables | |
struct target_type | fa526_target |
Holds methods for FA526 targets. More... | |
|
static |
Definition at line 236 of file fa526.c.
References LOG_ERROR.
Referenced by fa526_init_arch_info_2().
|
static |
Definition at line 25 of file fa526.c.
References LOG_ERROR.
Referenced by fa526_init_arch_info_2().
|
static |
Definition at line 339 of file fa526.c.
References arm7_9_deinit(), arm_free_reg_cache(), target_to_arm(), and target_to_arm920().
|
static |
Definition at line 298 of file fa526.c.
References arm920t_common::arm7_9_common, arm7_9_read_memory(), arm7_9_write_memory(), ARM920T_COMMON_MAGIC, arm920t_disable_mmu_caches(), arm920t_enable_mmu_caches(), arm920t_get_ttb(), arm920t_post_debug_entry(), arm920t_pre_restore_context(), armv4_5_mmu_common::armv4_5_cache, arm920t_common::armv4_5_mmu, arm920t_common::common_magic, armv4_5_cache_common::ctype, armv4_5_mmu_common::disable_mmu_caches, armv4_5_mmu_common::enable_mmu_caches, ERROR_OK, fa526_init_arch_info_2(), armv4_5_mmu_common::get_ttb, arm7_9_common::has_single_step, armv4_5_mmu_common::has_tiny_pages, armv4_5_mmu_common::mmu_enabled, arm7_9_common::post_debug_entry, arm7_9_common::pre_restore_context, arm920t_common::preserve_cache, armv4_5_mmu_common::read_memory, and armv4_5_mmu_common::write_memory.
Referenced by fa526_target_create().
|
static |
Definition at line 241 of file fa526.c.
References arm7_9_bulk_write_memory(), arm7_9_init_arch_info(), arm920t_write_memory(), arm9tdmi_branch_resume(), arm9tdmi_disable_single_step(), arm9tdmi_enable_single_step(), arm9tdmi_examine_debug_reason(), arm9tdmi_load_byte_reg(), arm9tdmi_load_hword_reg(), arm9tdmi_load_word_regs(), arm9tdmi_store_byte_reg(), arm9tdmi_store_hword_reg(), arm9tdmi_store_word_regs(), arm7_9_common::arm_bkpt, arm7_9_common::branch_resume, arm7_9_common::branch_resume_thumb, arm7_9_common::bulk_write_memory, arm7_9_common::change_to_arm, arm7_9_common::dbgreq_adjust_pc, arm7_9_common::disable_single_step, arm7_9_common::enable_single_step, ERROR_OK, arm7_9_common::examine_debug_reason, fa526_branch_resume_thumb(), fa526_change_to_arm(), fa526_read_core_regs(), fa526_read_core_regs_target_buffer(), fa526_read_xpsr(), fa526_write_core_regs(), fa526_write_pc(), fa526_write_xpsr(), fa526_write_xpsr_im8(), arm7_9_common::has_vector_catch, arm7_9_common::jtag_info, arm7_9_common::load_byte_reg, arm7_9_common::load_hword_reg, arm7_9_common::load_word_regs, NULL, arm7_9_common::post_debug_entry, arm7_9_common::pre_restore_context, arm7_9_common::read_core_regs, arm7_9_common::read_core_regs_target_buffer, arm7_9_common::read_xpsr, arm_jtag::scann_size, arm7_9_common::store_byte_reg, arm7_9_common::store_hword_reg, arm7_9_common::store_word_regs, arm_jtag::tap, arm7_9_common::thumb_bkpt, arm7_9_common::use_dbgrq, arm7_9_common::write_core_regs, arm7_9_common::write_memory, arm7_9_common::write_pc, arm7_9_common::write_xpsr, and arm7_9_common::write_xpsr_im8.
Referenced by fa526_init_arch_info().
|
static |
Definition at line 30 of file fa526.c.
References arm9tdmi_clock_data_in(), arm9tdmi_clock_out(), ARMV4_5_NOP, ARMV4_5_STMIA, arm7_9_common::jtag_info, mask, NULL, and target_to_arm7_9().
Referenced by fa526_init_arch_info_2().
|
static |
Definition at line 56 of file fa526.c.
References arm9tdmi_clock_data_in_endianness(), arm9tdmi_clock_out(), ARMV4_5_NOP, ARMV4_5_STMIA, buffer, target::endianness, arm7_9_common::jtag_info, mask, NULL, size, TARGET_BIG_ENDIAN, and target_to_arm7_9().
Referenced by fa526_init_arch_info_2().
|
static |
Definition at line 96 of file fa526.c.
References arm9tdmi_clock_out(), ARMV4_5_MRS, ARMV4_5_NOP, ARMV4_5_STR, arm7_9_common::jtag_info, NULL, and target_to_arm7_9().
Referenced by fa526_init_arch_info_2().
|
static |
Definition at line 332 of file fa526.c.
References fa526_init_arch_info(), and target::tap.
|
static |
Definition at line 183 of file fa526.c.
References arm9tdmi_clock_out(), ARMV4_5_LDMIA, ARMV4_5_NOP, arm7_9_common::jtag_info, mask, NULL, and target_to_arm7_9().
Referenced by fa526_init_arch_info_2().
|
static |
Definition at line 210 of file fa526.c.
References arm9tdmi_clock_out(), ARMV4_5_LDMIA, ARMV4_5_NOP, arm7_9_common::jtag_info, NULL, and target_to_arm7_9().
Referenced by fa526_init_arch_info_2().
|
static |
Definition at line 121 of file fa526.c.
References arm9tdmi_clock_out(), ARMV4_5_MSR_IM, ARMV4_5_NOP, arm7_9_common::jtag_info, LOG_DEBUG, NULL, and target_to_arm7_9().
Referenced by fa526_init_arch_info_2().
|
static |
Definition at line 157 of file fa526.c.
References arm9tdmi_clock_out(), ARMV4_5_MSR_IM, ARMV4_5_NOP, arm7_9_common::jtag_info, LOG_DEBUG, NULL, and target_to_arm7_9().
Referenced by fa526_init_arch_info_2().
struct target_type fa526_target |