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

Go to the source code of this file.

Functions

static int arm7a_handle_l2x_cache_info_command (struct command_invocation *cmd, struct armv7a_cache_common *armv7a_cache)
 
int arm7a_l2x_flush_all_data (struct target *target)
 
static int arm7a_l2x_sanity_check (struct target *target)
 
static int armv7a_l2x_cache_clean_virt (struct target *target, target_addr_t virt, unsigned int size)
 
int armv7a_l2x_cache_flush_virt (struct target *target, target_addr_t virt, uint32_t size)
 
static int armv7a_l2x_cache_init (struct target *target, uint32_t base, uint32_t way)
 
static int armv7a_l2x_cache_inval_virt (struct target *target, target_addr_t virt, uint32_t size)
 
 COMMAND_HANDLER (arm7a_l2x_cache_clean_virt_cmd)
 
 COMMAND_HANDLER (arm7a_l2x_cache_flush_all_command)
 
 COMMAND_HANDLER (arm7a_l2x_cache_flush_virt_cmd)
 
 COMMAND_HANDLER (arm7a_l2x_cache_info_command)
 
 COMMAND_HANDLER (arm7a_l2x_cache_inval_virt_cmd)
 
 COMMAND_HANDLER (armv7a_l2x_cache_conf_cmd)
 

Variables

const struct command_registration arm7a_l2x_cache_command_handler []
 
static const struct command_registration arm7a_l2x_cache_commands []
 

Function Documentation

◆ arm7a_handle_l2x_cache_info_command()

static int arm7a_handle_l2x_cache_info_command ( struct command_invocation cmd,
struct armv7a_cache_common armv7a_cache 
)
static

◆ arm7a_l2x_flush_all_data()

◆ arm7a_l2x_sanity_check()

◆ armv7a_l2x_cache_clean_virt()

◆ armv7a_l2x_cache_flush_virt()

◆ armv7a_l2x_cache_init()

◆ armv7a_l2x_cache_inval_virt()

◆ COMMAND_HANDLER() [1/6]

COMMAND_HANDLER ( arm7a_l2x_cache_clean_virt_cmd  )

◆ COMMAND_HANDLER() [2/6]

COMMAND_HANDLER ( arm7a_l2x_cache_flush_all_command  )

Definition at line 230 of file armv7a_cache_l2x.c.

References arm7a_l2x_flush_all_data(), CMD_CTX, and get_current_target().

◆ COMMAND_HANDLER() [3/6]

COMMAND_HANDLER ( arm7a_l2x_cache_flush_virt_cmd  )

◆ COMMAND_HANDLER() [4/6]

◆ COMMAND_HANDLER() [5/6]

COMMAND_HANDLER ( arm7a_l2x_cache_inval_virt_cmd  )

◆ COMMAND_HANDLER() [6/6]

COMMAND_HANDLER ( armv7a_l2x_cache_conf_cmd  )

Definition at line 295 of file armv7a_cache_l2x.c.

Variable Documentation

◆ arm7a_l2x_cache_command_handler

const struct command_registration arm7a_l2x_cache_command_handler[]
Initial value:
= {
{
.name = "l2x",
.mode = COMMAND_ANY,
.help = "l2x cache command group",
.usage = "",
},
}
static const struct command_registration arm7a_l2x_cache_commands[]
#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

Definition at line 295 of file armv7a_cache_l2x.c.

◆ arm7a_l2x_cache_commands

const struct command_registration arm7a_l2x_cache_commands[]
static

Definition at line 295 of file armv7a_cache_l2x.c.