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

Go to the source code of this file.

Functions

static void arm966e_deinit_target (struct target *target)
 
int arm966e_init_arch_info (struct target *target, struct arm966e_common *arm966e, struct jtag_tap *tap)
 
static int arm966e_read_cp15 (struct target *target, int reg_addr, uint32_t *value)
 
static int arm966e_target_create (struct target *target, Jim_Interp *interp)
 
static int arm966e_verify_pointer (struct command_invocation *cmd, struct arm966e_common *arm966e)
 
int arm966e_write_cp15 (struct target *target, int reg_addr, uint32_t value)
 
 COMMAND_HANDLER (arm966e_handle_cp15_command)
 

Variables

const struct command_registration arm966e_command_handlers []
 
static const struct command_registration arm966e_exec_command_handlers []
 
struct target_type arm966e_target
 Holds methods for ARM966 targets. More...
 

Function Documentation

◆ arm966e_deinit_target()

static void arm966e_deinit_target ( struct target target)
static

Definition at line 48 of file arm966e.c.

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

◆ arm966e_init_arch_info()

◆ arm966e_read_cp15()

◆ arm966e_target_create()

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

Definition at line 41 of file arm966e.c.

References arm966e_init_arch_info(), and target::tap.

◆ arm966e_verify_pointer()

static int arm966e_verify_pointer ( struct command_invocation cmd,
struct arm966e_common arm966e 
)
static

◆ arm966e_write_cp15()

◆ COMMAND_HANDLER()

COMMAND_HANDLER ( arm966e_handle_cp15_command  )

Definition at line 166 of file arm966e.c.

Variable Documentation

◆ arm966e_command_handlers

const struct command_registration arm966e_command_handlers[]
Initial value:
= {
{
},
{
.name = "arm966e",
.mode = COMMAND_ANY,
.help = "arm966e command group",
.usage = "",
},
}
static const struct command_registration arm966e_exec_command_handlers[]
Definition: arm966e.c:219
const struct command_registration arm9tdmi_command_handlers[]
Definition: arm9tdmi.c:873
#define COMMAND_REGISTRATION_DONE
Use this as the last entry in an array of command_registration records.
Definition: command.h:247
@ COMMAND_ANY
Definition: command.h:42
const char * name
Definition: command.h:229

Definition at line 166 of file arm966e.c.

◆ arm966e_exec_command_handlers

const struct command_registration arm966e_exec_command_handlers[]
static
Initial value:
= {
{
.name = "cp15",
.handler = arm966e_handle_cp15_command,
.mode = COMMAND_EXEC,
.usage = "regnum [value]",
.help = "display/modify cp15 register",
},
}
@ COMMAND_EXEC
Definition: command.h:40

Definition at line 166 of file arm966e.c.

◆ arm966e_target

struct target_type arm966e_target

Holds methods for ARM966 targets.

Definition at line 166 of file arm966e.c.