diff options
-rw-r--r-- | src/target/armv4_5_cache.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/armv4_5_cache.h b/src/target/armv4_5_cache.h index 71e3203c..9a06090d 100644 --- a/src/target/armv4_5_cache.h +++ b/src/target/armv4_5_cache.h @@ -24,20 +24,20 @@ struct command_context_s; -typedef struct armv4_5_cachesize_s +struct armv4_5_cachesize { int linelen; int associativity; int nsets; int cachesize; -} armv4_5_cachesize_t; +}; typedef struct armv4_5_cache_common_s { int ctype; /* specify supported cache operations */ int separate; /* separate caches or unified cache */ - armv4_5_cachesize_t d_u_size; /* data cache */ - armv4_5_cachesize_t i_size; /* instruction cache */ + struct armv4_5_cachesize d_u_size; /* data cache */ + struct armv4_5_cachesize i_size; /* instruction cache */ int i_cache_enabled; int d_u_cache_enabled; } armv4_5_cache_common_t; |