OpenOCD
|
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 [] |
|
static |
Definition at line 166 of file armv7a_cache_l2x.c.
References armv7a_l2x_cache::base, cmd, command_print(), ERROR_OK, armv7a_cache_common::info, armv7a_cache_common::outer_cache, and armv7a_l2x_cache::way.
Referenced by COMMAND_HANDLER().
int arm7a_l2x_flush_all_data | ( | struct target * | target | ) |
Definition at line 42 of file armv7a_cache_l2x.c.
References arm7a_l2x_sanity_check(), armv7a_mmu_common::armv7a_cache, armv7a_common::armv7a_mmu, armv7a_l2x_cache::base, L2X0_CLEAN_INV_WAY, armv7a_cache_common::outer_cache, target_to_armv7a(), target_write_phys_u32(), and armv7a_l2x_cache::way.
Referenced by armv7a_cache_flush_all_data(), and COMMAND_HANDLER().
|
static |
Definition at line 21 of file armv7a_cache_l2x.c.
References armv7a_mmu_common::armv7a_cache, armv7a_common::armv7a_mmu, armv7a_l2x_cache::base, ERROR_FAIL, ERROR_OK, ERROR_TARGET_NOT_HALTED, LOG_DEBUG, LOG_ERROR, armv7a_cache_common::outer_cache, target::state, TARGET_HALTED, and target_to_armv7a().
Referenced by arm7a_l2x_flush_all_data(), armv7a_l2x_cache_clean_virt(), armv7a_l2x_cache_flush_virt(), armv7a_l2x_cache_inval_virt(), and COMMAND_HANDLER().
|
static |
Definition at line 131 of file armv7a_cache_l2x.c.
References arm7a_l2x_sanity_check(), armv7a_mmu_common::armv7a_cache, armv7a_common::armv7a_mmu, armv7a_l2x_cache::base, ERROR_OK, L2X0_CLEAN_LINE_PA, LOG_ERROR, armv7a_cache_common::outer_cache, size, target_to_armv7a(), target_write_phys_u32(), target::type, and target_type::virt2phys.
Referenced by COMMAND_HANDLER().
int armv7a_l2x_cache_flush_virt | ( | struct target * | target, |
target_addr_t | virt, | ||
uint32_t | size | ||
) |
Definition at line 61 of file armv7a_cache_l2x.c.
References arm7a_l2x_sanity_check(), armv7a_mmu_common::armv7a_cache, armv7a_common::armv7a_mmu, armv7a_l2x_cache::base, ERROR_OK, L2X0_CLEAN_INV_LINE_PA, LOG_ERROR, armv7a_cache_common::outer_cache, size, target_to_armv7a(), target_write_phys_u32(), target::type, and target_type::virt2phys.
Referenced by armv7a_cache_flush_virt(), and COMMAND_HANDLER().
|
static |
Definition at line 184 of file armv7a_cache_l2x.c.
References armv7a_mmu_common::armv7a_cache, armv7a_common::armv7a_mmu, armv7a_l2x_cache::base, ERROR_FAIL, ERROR_OK, foreach_smp_target, LOG_ERROR, armv7a_cache_common::outer_cache, target::smp_targets, target_list::target, target_to_armv7a(), and armv7a_l2x_cache::way.
|
static |
Definition at line 96 of file armv7a_cache_l2x.c.
References arm7a_l2x_sanity_check(), armv7a_mmu_common::armv7a_cache, armv7a_common::armv7a_mmu, armv7a_l2x_cache::base, ERROR_OK, L2X0_INV_LINE_PA, LOG_ERROR, armv7a_cache_common::outer_cache, size, target_to_armv7a(), target_write_phys_u32(), target::type, and target_type::virt2phys.
Referenced by COMMAND_HANDLER().
COMMAND_HANDLER | ( | arm7a_l2x_cache_clean_virt_cmd | ) |
Definition at line 275 of file armv7a_cache_l2x.c.
References armv7a_l2x_cache_clean_virt(), CMD_ARGC, CMD_ARGV, CMD_CTX, COMMAND_PARSE_ADDRESS, COMMAND_PARSE_NUMBER, ERROR_COMMAND_SYNTAX_ERROR, get_current_target(), and size.
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 | ( | arm7a_l2x_cache_flush_virt_cmd | ) |
Definition at line 237 of file armv7a_cache_l2x.c.
References armv7a_l2x_cache_flush_virt(), CMD_ARGC, CMD_ARGV, CMD_CTX, COMMAND_PARSE_ADDRESS, COMMAND_PARSE_NUMBER, ERROR_COMMAND_SYNTAX_ERROR, get_current_target(), and size.
COMMAND_HANDLER | ( | arm7a_l2x_cache_info_command | ) |
Definition at line 216 of file armv7a_cache_l2x.c.
References arm7a_handle_l2x_cache_info_command(), arm7a_l2x_sanity_check(), armv7a_mmu_common::armv7a_cache, armv7a_common::armv7a_mmu, CMD, CMD_CTX, get_current_target(), and target_to_armv7a().
COMMAND_HANDLER | ( | arm7a_l2x_cache_inval_virt_cmd | ) |
Definition at line 256 of file armv7a_cache_l2x.c.
References armv7a_l2x_cache_inval_virt(), CMD_ARGC, CMD_ARGV, CMD_CTX, COMMAND_PARSE_ADDRESS, COMMAND_PARSE_NUMBER, ERROR_COMMAND_SYNTAX_ERROR, get_current_target(), and size.
COMMAND_HANDLER | ( | armv7a_l2x_cache_conf_cmd | ) |
Definition at line 295 of file armv7a_cache_l2x.c.
const struct command_registration arm7a_l2x_cache_command_handler[] |
Definition at line 295 of file armv7a_cache_l2x.c.
|
static |
Definition at line 295 of file armv7a_cache_l2x.c.