OpenOCD
|
Go to the source code of this file.
Functions | |
static int | arm720_mmu (struct target *target, int *enabled) |
static int | arm720_virt2phys (struct target *target, target_addr_t virtual, target_addr_t *physical) |
static int | arm720t_arch_state (struct target *target) |
static void | arm720t_deinit_target (struct target *target) |
static int | arm720t_disable_mmu_caches (struct target *target, int mmu, int d_u_cache, int i_cache) |
static int | arm720t_enable_mmu_caches (struct target *target, int mmu, int d_u_cache, int i_cache) |
static int | arm720t_get_ttb (struct target *target, uint32_t *result) |
static int | arm720t_init_arch_info (struct target *target, struct arm720t_common *arm720t, struct jtag_tap *tap) |
static int | arm720t_init_target (struct command_context *cmd_ctx, struct target *target) |
static int | arm720t_mcr (struct target *target, int cpnum, uint32_t op1, uint32_t op2, uint32_t crn, uint32_t crm, uint32_t value) |
static int | arm720t_mrc (struct target *target, int cpnum, uint32_t op1, uint32_t op2, uint32_t crn, uint32_t crm, uint32_t *value) |
static int | arm720t_post_debug_entry (struct target *target) |
static void | arm720t_pre_restore_context (struct target *target) |
static int | arm720t_read_cp15 (struct target *target, uint32_t opcode, uint32_t *value) |
static int | arm720t_read_memory (struct target *target, target_addr_t address, uint32_t size, uint32_t count, uint8_t *buffer) |
static int | arm720t_read_phys_memory (struct target *target, target_addr_t address, uint32_t size, uint32_t count, uint8_t *buffer) |
static int | arm720t_scan_cp15 (struct target *target, uint32_t out, uint32_t *in, int instruction, int clock_arg) |
static int | arm720t_soft_reset_halt (struct target *target) |
static int | arm720t_target_create (struct target *target, Jim_Interp *interp) |
static int | arm720t_write_cp15 (struct target *target, uint32_t opcode, uint32_t value) |
static int | arm720t_write_phys_memory (struct target *target, target_addr_t address, uint32_t size, uint32_t count, const uint8_t *buffer) |
Variables | |
static const struct command_registration | arm720t_command_handlers [] |
struct target_type | arm720t_target |
Holds methods for ARM720 targets. More... | |
|
static |
Definition at line 241 of file arm720t.c.
References arm720t_common::armv4_5_mmu, ERROR_OK, ERROR_TARGET_NOT_HALTED, LOG_TARGET_ERROR, armv4_5_mmu_common::mmu_enabled, target::state, TARGET_HALTED, and target_to_arm720().
|
static |
Definition at line 252 of file arm720t.c.
References arm720t_common::armv4_5_mmu, armv4_5_mmu_translate_va(), ERROR_OK, and target_to_arm720().
|
static |
Definition at line 225 of file arm720t.c.
References arm_arch_state(), armv4_5_mmu_common::armv4_5_cache, arm720t_common::armv4_5_mmu, armv4_5_cache_common::d_u_cache_enabled, ERROR_OK, LOG_USER, armv4_5_mmu_common::mmu_enabled, state, and target_to_arm720().
|
static |
Definition at line 373 of file arm720t.c.
References arm7tdmi_deinit_target().
|
static |
Definition at line 139 of file arm720t.c.
References arm720t_read_cp15(), arm720t_write_cp15(), ERROR_OK, and jtag_execute_queue().
Referenced by arm720t_init_arch_info(), arm720t_read_memory(), and arm720t_soft_reset_halt().
|
static |
Definition at line 163 of file arm720t.c.
References arm720t_read_cp15(), arm720t_write_cp15(), ERROR_OK, and jtag_execute_queue().
Referenced by arm720t_init_arch_info(), and arm720t_read_memory().
|
static |
Definition at line 119 of file arm720t.c.
References arm720t_read_cp15(), ERROR_OK, and jtag_execute_queue().
Referenced by arm720t_init_arch_info().
|
static |
Definition at line 388 of file arm720t.c.
References arm7_9_common::arm, ARM720T_COMMON_MAGIC, arm720t_disable_mmu_caches(), arm720t_enable_mmu_caches(), arm720t_get_ttb(), arm720t_mcr(), arm720t_mrc(), arm720t_post_debug_entry(), arm720t_pre_restore_context(), arm720t_common::arm7_9_common, arm7_9_read_memory(), arm7_9_write_memory(), arm7tdmi_init_arch_info(), armv4_5_mmu_common::armv4_5_cache, arm720t_common::armv4_5_mmu, arm720t_common::common_magic, armv4_5_cache_common::ctype, armv4_5_mmu_common::disable_mmu_caches, armv4_5_mmu_common::enable_mmu_caches, ERROR_OK, armv4_5_mmu_common::get_ttb, armv4_5_mmu_common::has_tiny_pages, arm::mcr, armv4_5_mmu_common::mmu_enabled, arm::mrc, arm7_9_common::post_debug_entry, arm7_9_common::pre_restore_context, armv4_5_mmu_common::read_memory, and armv4_5_mmu_common::write_memory.
Referenced by arm720t_target_create().
|
static |
Definition at line 368 of file arm720t.c.
References arm7tdmi_init_target().
|
static |
Definition at line 440 of file arm720t.c.
Referenced by arm720t_init_arch_info().
|
static |
Definition at line 423 of file arm720t.c.
References arm720t_read_cp15(), ARMV4_5_MRC, ERROR_FAIL, and LOG_ERROR.
Referenced by arm720t_init_arch_info().
|
static |
Definition at line 187 of file arm720t.c.
References arm720t_read_cp15(), armv4_5_mmu_common::armv4_5_cache, arm720t_common::armv4_5_mmu, arm720t_common::cp15_control_reg, armv4_5_cache_common::d_u_cache_enabled, ERROR_OK, arm720t_common::far_reg, arm720t_common::fsr_reg, armv4_5_cache_common::i_cache_enabled, jtag_execute_queue(), LOG_DEBUG, armv4_5_mmu_common::mmu_enabled, and target_to_arm720().
Referenced by arm720t_init_arch_info().
|
static |
Definition at line 216 of file arm720t.c.
References arm720t_write_cp15(), arm720t_common::far_reg, arm720t_common::fsr_reg, and target_to_arm720().
Referenced by arm720t_init_arch_info().
|
static |
Definition at line 86 of file arm720t.c.
References arm720t_scan_cp15(), ARMV4_5_NOP, ERROR_OK, and NULL.
Referenced by arm720t_disable_mmu_caches(), arm720t_enable_mmu_caches(), arm720t_get_ttb(), arm720t_mrc(), and arm720t_post_debug_entry().
|
static |
Definition at line 267 of file arm720t.c.
References arm720t_disable_mmu_caches(), arm720t_enable_mmu_caches(), arm7_9_read_memory(), armv4_5_mmu_common::armv4_5_cache, arm720t_common::armv4_5_mmu, buffer, count, armv4_5_cache_common::d_u_cache_enabled, ERROR_OK, size, and target_to_arm720().
|
static |
Definition at line 290 of file arm720t.c.
References arm720t_common::armv4_5_mmu, armv4_5_mmu_read_physical(), buffer, count, size, and target_to_arm720().
|
static |
Definition at line 31 of file arm720t.c.
References arm720t_common::arm7_9_common, arm7flip32(), arm_jtag_scann(), arm_jtag_set_instr(), buf_set_u32(), ERROR_OK, flip_u32(), scan_field::in_value, arm_jtag::intest_instr, jtag_add_callback(), jtag_add_dr_scan(), jtag_add_runtest(), jtag_execute_queue(), arm7_9_common::jtag_info, LOG_DEBUG, NULL, scan_field::num_bits, scan_field::out_value, arm_jtag::tap, TAP_DRPAUSE, and target_to_arm720().
Referenced by arm720t_read_cp15(), and arm720t_write_cp15().
|
static |
Definition at line 306 of file arm720t.c.
References alive_sleep(), arm7_9_common::arm, arm720t_disable_mmu_caches(), arm720t_common::arm7_9_common, arm_set_cpsr(), armv4_5_mmu_common::armv4_5_cache, arm720t_common::armv4_5_mmu, buf_get_u32(), buf_set_u32(), arm::cpsr, armv4_5_cache_common::d_u_cache_enabled, debug_level, reg::dirty, arm7_9_common::eice_cache, EICE_DBG_STAT, EICE_DBG_STATUS_DBGACK, embeddedice_read_reg(), ERROR_OK, ERROR_TARGET_TIMEOUT, armv4_5_cache_common::i_cache_enabled, jtag_execute_queue(), keep_alive(), LOG_ERROR, armv4_5_mmu_common::mmu_enabled, arm::pc, reg_cache::reg_list, target::state, target_call_event_callbacks(), TARGET_EVENT_HALTED, target_halt(), TARGET_HALTED, target_to_arm720(), timeval_ms(), reg::valid, and reg::value.
|
static |
Definition at line 415 of file arm720t.c.
References arm::arch, arm7_9_common::arm, arm720t_init_arch_info(), arm720t_common::arm7_9_common, ARM_ARCH_V4, and target::tap.
|
static |
Definition at line 103 of file arm720t.c.
References arm720t_scan_cp15(), ARMV4_5_NOP, ERROR_OK, and NULL.
Referenced by arm720t_disable_mmu_caches(), arm720t_enable_mmu_caches(), and arm720t_pre_restore_context().
|
static |
Definition at line 298 of file arm720t.c.
References arm720t_common::armv4_5_mmu, armv4_5_mmu_write_physical(), buffer, count, size, and target_to_arm720().
|
static |
struct target_type arm720t_target |