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

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...
 

Function Documentation

◆ arm720_mmu()

static int arm720_mmu ( struct target target,
int *  enabled 
)
static

◆ arm720_virt2phys()

static int arm720_virt2phys ( struct target target,
target_addr_t  virtual,
target_addr_t physical 
)
static

◆ arm720t_arch_state()

◆ arm720t_deinit_target()

static void arm720t_deinit_target ( struct target target)
static

Definition at line 373 of file arm720t.c.

References arm7tdmi_deinit_target().

◆ arm720t_disable_mmu_caches()

static int arm720t_disable_mmu_caches ( struct target target,
int  mmu,
int  d_u_cache,
int  i_cache 
)
static

◆ arm720t_enable_mmu_caches()

static int arm720t_enable_mmu_caches ( struct target target,
int  mmu,
int  d_u_cache,
int  i_cache 
)
static

◆ arm720t_get_ttb()

static int arm720t_get_ttb ( struct target target,
uint32_t *  result 
)
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().

◆ arm720t_init_arch_info()

◆ arm720t_init_target()

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

Definition at line 368 of file arm720t.c.

References arm7tdmi_init_target().

◆ arm720t_mcr()

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

Definition at line 440 of file arm720t.c.

Referenced by arm720t_init_arch_info().

◆ arm720t_mrc()

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

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().

◆ arm720t_post_debug_entry()

◆ arm720t_pre_restore_context()

static void arm720t_pre_restore_context ( struct target target)
static

◆ arm720t_read_cp15()

static int arm720t_read_cp15 ( struct target target,
uint32_t  opcode,
uint32_t *  value 
)
static

◆ arm720t_read_memory()

static int arm720t_read_memory ( struct target target,
target_addr_t  address,
uint32_t  size,
uint32_t  count,
uint8_t *  buffer 
)
static

◆ arm720t_read_phys_memory()

static int arm720t_read_phys_memory ( struct target target,
target_addr_t  address,
uint32_t  size,
uint32_t  count,
uint8_t *  buffer 
)
static

◆ arm720t_scan_cp15()

◆ arm720t_soft_reset_halt()

◆ arm720t_target_create()

static int arm720t_target_create ( struct target target,
Jim_Interp *  interp 
)
static

◆ arm720t_write_cp15()

static int arm720t_write_cp15 ( struct target target,
uint32_t  opcode,
uint32_t  value 
)
static

◆ arm720t_write_phys_memory()

static int arm720t_write_phys_memory ( struct target target,
target_addr_t  address,
uint32_t  size,
uint32_t  count,
const uint8_t *  buffer 
)
static

Variable Documentation

◆ arm720t_command_handlers

const struct command_registration arm720t_command_handlers[]
static
Initial value:
= {
{
},
}
const struct command_registration arm7_9_command_handlers[]
#define COMMAND_REGISTRATION_DONE
Use this as the last entry in an array of command_registration records.
Definition: command.h:247

Definition at line 440 of file arm720t.c.

◆ arm720t_target

struct target_type arm720t_target

Holds methods for ARM720 targets.

Definition at line 440 of file arm720t.c.