OpenOCD
feroceon.c File Reference
Include dependency graph for feroceon.c:

Go to the source code of this file.

Functions

static int dragonite_target_create (struct target *target, Jim_Interp *interp)
 
static int feroceon_assert_reset (struct target *target)
 
static void feroceon_branch_resume (struct target *target)
 
static void feroceon_branch_resume_thumb (struct target *target)
 
static int feroceon_bulk_write_memory (struct target *target, target_addr_t address, uint32_t count, const uint8_t *buffer)
 
static void feroceon_change_to_arm (struct target *target, uint32_t *r0, uint32_t *pc)
 
static void feroceon_common_setup (struct target *target)
 
static void feroceon_disable_single_step (struct target *target)
 
static int feroceon_dummy_clock_out (struct arm_jtag *jtag_info, uint32_t instr)
 
static void feroceon_enable_single_step (struct target *target, uint32_t next_pc)
 
static int feroceon_examine (struct target *target)
 
static int feroceon_examine_debug_reason (struct target *target)
 
static int feroceon_init_target (struct command_context *cmd_ctx, struct target *target)
 
static void feroceon_read_core_regs (struct target *target, uint32_t mask, uint32_t *core_regs[16])
 
static void feroceon_read_core_regs_target_buffer (struct target *target, uint32_t mask, void *buffer, int size)
 
static int feroceon_read_cp15 (struct target *target, uint32_t op1, uint32_t op2, uint32_t CRn, uint32_t CRm, uint32_t *value)
 
static void feroceon_read_xpsr (struct target *target, uint32_t *xpsr, int spsr)
 
static void feroceon_set_dbgrq (struct target *target)
 
static int feroceon_target_create (struct target *target, Jim_Interp *interp)
 
static void feroceon_write_core_regs (struct target *target, uint32_t mask, uint32_t core_regs[16])
 
static int feroceon_write_cp15 (struct target *target, uint32_t op1, uint32_t op2, uint32_t CRn, uint32_t CRm, uint32_t value)
 
static void feroceon_write_xpsr (struct target *target, uint32_t xpsr, int spsr)
 
static void feroceon_write_xpsr_im8 (struct target *target, uint8_t xpsr_im, int rot, int spsr)
 

Variables

struct target_type dragonite_target
 
struct target_type feroceon_target
 

Function Documentation

static int dragonite_target_create ( struct target target,
Jim_Interp *  interp 
)
static
static int feroceon_assert_reset ( struct target target)
static
static void feroceon_branch_resume ( struct target target)
static
static void feroceon_change_to_arm ( struct target target,
uint32_t *  r0,
uint32_t *  pc 
)
static
static int feroceon_dummy_clock_out ( struct arm_jtag jtag_info,
uint32_t  instr 
)
static
static void feroceon_enable_single_step ( struct target target,
uint32_t  next_pc 
)
static
static int feroceon_examine_debug_reason ( struct target target)
static

Definition at line 453 of file feroceon.c.

References DBG_REASON_DBGRQ, DBG_REASON_SINGLESTEP, target::debug_reason, and ERROR_OK.

Referenced by feroceon_common_setup().

static int feroceon_init_target ( struct command_context cmd_ctx,
struct target target 
)
static

Definition at line 589 of file feroceon.c.

References arm9tdmi_init_target(), and ERROR_OK.

static void feroceon_read_core_regs ( struct target target,
uint32_t  mask,
uint32_t *  core_regs[16] 
)
static
static void feroceon_read_core_regs_target_buffer ( struct target target,
uint32_t  mask,
void *  buffer,
int  size 
)
static
static int feroceon_read_cp15 ( struct target target,
uint32_t  op1,
uint32_t  op2,
uint32_t  CRn,
uint32_t  CRm,
uint32_t *  value 
)
static
static void feroceon_read_xpsr ( struct target target,
uint32_t *  xpsr,
int  spsr 
)
static
static void feroceon_set_dbgrq ( struct target target)
static
static void feroceon_write_core_regs ( struct target target,
uint32_t  mask,
uint32_t  core_regs[16] 
)
static
static int feroceon_write_cp15 ( struct target target,
uint32_t  op1,
uint32_t  op2,
uint32_t  CRn,
uint32_t  CRm,
uint32_t  value 
)
static
static void feroceon_write_xpsr ( struct target target,
uint32_t  xpsr,
int  spsr 
)
static
static void feroceon_write_xpsr_im8 ( struct target target,
uint8_t  xpsr_im,
int  rot,
int  spsr 
)
static

Variable Documentation

struct target_type dragonite_target

Definition at line 734 of file feroceon.c.

struct target_type feroceon_target

Definition at line 697 of file feroceon.c.