OpenOCD
arm9tdmi.h File Reference
Include dependency graph for arm9tdmi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void arm9tdmi_branch_resume (struct target *target)
 
int arm9tdmi_clock_data_in (struct arm_jtag *jtag_info, uint32_t *in)
 
int arm9tdmi_clock_data_in_endianness (struct arm_jtag *jtag_info, void *in, int size, int be)
 
int arm9tdmi_clock_out (struct arm_jtag *jtag_info, uint32_t instr, uint32_t out, uint32_t *in, int sysspeed)
 
void arm9tdmi_deinit_target (struct target *target)
 
void arm9tdmi_disable_single_step (struct target *target)
 
void arm9tdmi_enable_single_step (struct target *target, uint32_t next_pc)
 
int arm9tdmi_examine_debug_reason (struct target *target)
 
int arm9tdmi_init_arch_info (struct target *target, struct arm7_9_common *arm7_9, struct jtag_tap *tap)
 
int arm9tdmi_init_target (struct command_context *cmd_ctx, struct target *target)
 
void arm9tdmi_load_byte_reg (struct target *target, int num)
 
void arm9tdmi_load_hword_reg (struct target *target, int num)
 
void arm9tdmi_load_word_regs (struct target *target, uint32_t mask)
 
void arm9tdmi_read_core_regs (struct target *target, uint32_t mask, uint32_t *core_regs[16])
 
void arm9tdmi_store_byte_reg (struct target *target, int num)
 
void arm9tdmi_store_hword_reg (struct target *target, int num)
 
void arm9tdmi_store_word_regs (struct target *target, uint32_t mask)
 
void arm9tdmi_write_core_regs (struct target *target, uint32_t mask, uint32_t core_regs[16])
 

Variables

const struct command_registration arm9tdmi_command_handlers []
 

Function Documentation

◆ arm9tdmi_branch_resume()

void arm9tdmi_branch_resume ( struct target target)

◆ arm9tdmi_clock_data_in()

◆ arm9tdmi_clock_data_in_endianness()

◆ arm9tdmi_clock_out()

◆ arm9tdmi_deinit_target()

void arm9tdmi_deinit_target ( struct target target)

Definition at line 778 of file arm9tdmi.c.

References arm7_9_deinit(), arm_free_reg_cache(), target_to_arm(), and target_to_arm7_9().

Referenced by feroceon_deinit_target().

◆ arm9tdmi_disable_single_step()

◆ arm9tdmi_enable_single_step()

void arm9tdmi_enable_single_step ( struct target target,
uint32_t  next_pc 
)

◆ arm9tdmi_examine_debug_reason()

◆ arm9tdmi_init_arch_info()

int arm9tdmi_init_arch_info ( struct target target,
struct arm7_9_common arm7_9,
struct jtag_tap tap 
)

Definition at line 711 of file arm9tdmi.c.

References arm7_9_bulk_write_memory(), arm7_9_init_arch_info(), arm7_9_write_memory(), arm9tdmi_branch_resume(), arm9tdmi_branch_resume_thumb(), arm9tdmi_change_to_arm(), 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_read_core_regs(), arm9tdmi_read_core_regs_target_buffer(), arm9tdmi_read_xpsr(), arm9tdmi_store_byte_reg(), arm9tdmi_store_hword_reg(), arm9tdmi_store_word_regs(), arm9tdmi_write_core_regs(), arm9tdmi_write_pc(), arm9tdmi_write_xpsr(), arm9tdmi_write_xpsr_im8(), 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, 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 arm920t_init_arch_info(), arm926ejs_init_arch_info(), arm946e_init_arch_info(), arm966e_init_arch_info(), and arm9tdmi_target_create().

◆ arm9tdmi_init_target()

int arm9tdmi_init_target ( struct command_context cmd_ctx,
struct target target 
)

Definition at line 703 of file arm9tdmi.c.

References arm9tdmi_build_reg_cache(), arm_semihosting_init(), and ERROR_OK.

Referenced by feroceon_init_target().

◆ arm9tdmi_load_byte_reg()

void arm9tdmi_load_byte_reg ( struct target target,
int  num 
)

◆ arm9tdmi_load_hword_reg()

void arm9tdmi_load_hword_reg ( struct target target,
int  num 
)

◆ arm9tdmi_load_word_regs()

void arm9tdmi_load_word_regs ( struct target target,
uint32_t  mask 
)

◆ arm9tdmi_read_core_regs()

void arm9tdmi_read_core_regs ( struct target target,
uint32_t  mask,
uint32_t *  core_regs[16] 
)

◆ arm9tdmi_store_byte_reg()

void arm9tdmi_store_byte_reg ( struct target target,
int  num 
)

◆ arm9tdmi_store_hword_reg()

void arm9tdmi_store_hword_reg ( struct target target,
int  num 
)

◆ arm9tdmi_store_word_regs()

void arm9tdmi_store_word_regs ( struct target target,
uint32_t  mask 
)

◆ arm9tdmi_write_core_regs()

void arm9tdmi_write_core_regs ( struct target target,
uint32_t  mask,
uint32_t  core_regs[16] 
)

Variable Documentation

◆ arm9tdmi_command_handlers

const struct command_registration arm9tdmi_command_handlers[]
extern

Definition at line 788 of file arm9tdmi.c.