OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | armv4_5_cache_common |
struct | armv4_5_cachesize |
Enumerations | |
enum | { ARMV4_5_D_U_CACHE_ENABLED = 0x4 , ARMV4_5_I_CACHE_ENABLED = 0x1000 , ARMV4_5_WRITE_BUFFER_ENABLED = 0x8 , ARMV4_5_CACHE_RR_BIT = 0x5000 } |
Functions | |
int | armv4_5_cache_state (uint32_t cp15_control_reg, struct armv4_5_cache_common *cache) |
int | armv4_5_handle_cache_info_command (struct command_invocation *cmd, struct armv4_5_cache_common *armv4_5_cache) |
int | armv4_5_identify_cache (uint32_t cache_type_reg, struct armv4_5_cache_common *cache) |
anonymous enum |
Enumerator | |
---|---|
ARMV4_5_D_U_CACHE_ENABLED | |
ARMV4_5_I_CACHE_ENABLED | |
ARMV4_5_WRITE_BUFFER_ENABLED | |
ARMV4_5_CACHE_RR_BIT |
Definition at line 39 of file armv4_5_cache.h.
int armv4_5_cache_state | ( | uint32_t | cp15_control_reg, |
struct armv4_5_cache_common * | cache | ||
) |
int armv4_5_handle_cache_info_command | ( | struct command_invocation * | cmd, |
struct armv4_5_cache_common * | armv4_5_cache | ||
) |
Definition at line 68 of file armv4_5_cache.c.
References armv4_5_cachesize::associativity, armv4_5_cachesize::cachesize, cmd, command_print(), armv4_5_cache_common::ctype, armv4_5_cache_common::d_u_size, ERROR_OK, armv4_5_cache_common::i_size, armv4_5_cachesize::linelen, armv4_5_cachesize::nsets, and armv4_5_cache_common::separate.
Referenced by COMMAND_HANDLER().
int armv4_5_identify_cache | ( | uint32_t | cache_type_reg, |
struct armv4_5_cache_common * | cache | ||
) |
Definition at line 15 of file armv4_5_cache.c.
References armv4_5_cachesize::associativity, armv4_5_cachesize::cachesize, armv4_5_cache_common::ctype, armv4_5_cache_common::d_u_size, ERROR_OK, armv4_5_cache_common::i_size, armv4_5_cachesize::linelen, armv4_5_cachesize::nsets, armv4_5_cache_common::separate, and size.
Referenced by arm920t_post_debug_entry(), arm926ejs_post_debug_entry(), and xscale_debug_entry().