aboutsummaryrefslogtreecommitdiff
path: root/src/target/armv4_5_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/armv4_5_cache.h')
-rw-r--r--src/target/armv4_5_cache.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/target/armv4_5_cache.h b/src/target/armv4_5_cache.h
index c529b458..fc5e2c79 100644
--- a/src/target/armv4_5_cache.h
+++ b/src/target/armv4_5_cache.h
@@ -17,6 +17,7 @@
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
+
#ifndef ARMV4_5_CACHE_H
#define ARMV4_5_CACHE_H
@@ -24,16 +25,14 @@
struct command_context;
-struct armv4_5_cachesize
-{
+struct armv4_5_cachesize {
int linelen;
int associativity;
int nsets;
int cachesize;
};
-struct armv4_5_cache_common
-{
+struct armv4_5_cache_common {
int ctype; /* specify supported cache operations */
int separate; /* separate caches or unified cache */
struct armv4_5_cachesize d_u_size; /* data cache */
@@ -50,8 +49,7 @@ int armv4_5_cache_state(uint32_t cp15_control_reg,
int armv4_5_handle_cache_info_command(struct command_context *cmd_ctx,
struct armv4_5_cache_common *armv4_5_cache);
-enum
-{
+enum {
ARMV4_5_D_U_CACHE_ENABLED = 0x4,
ARMV4_5_I_CACHE_ENABLED = 0x1000,
ARMV4_5_WRITE_BUFFER_ENABLED = 0x8,