diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:44:08 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:12 -0800 |
commit | 74d09617b927ed7011098d5a65087dee1ef1e87a (patch) | |
tree | b73fe576548030923a72944b8f8a9e31bb9a342c /src/target/armv7m.c | |
parent | de3fb2f3bce2de5be44223204ce368216ed85b0f (diff) |
reg_cache_t -> struct reg_cache
Remove misleading typedef and redundant suffix from struct reg_cache.
Diffstat (limited to 'src/target/armv7m.c')
-rw-r--r-- | src/target/armv7m.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/armv7m.c b/src/target/armv7m.c index 9319bf25..05668880 100644 --- a/src/target/armv7m.c +++ b/src/target/armv7m.c @@ -524,12 +524,12 @@ int armv7m_arch_state(struct target_s *target) } /** Builds cache of architecturally defined registers. */ -reg_cache_t *armv7m_build_reg_cache(target_t *target) +struct reg_cache *armv7m_build_reg_cache(target_t *target) { struct armv7m_common *armv7m = target_to_armv7m(target); int num_regs = ARMV7M_NUM_REGS; - reg_cache_t **cache_p = register_get_last_cache_p(&target->reg_cache); - reg_cache_t *cache = malloc(sizeof(reg_cache_t)); + struct reg_cache **cache_p = register_get_last_cache_p(&target->reg_cache); + struct reg_cache *cache = malloc(sizeof(struct reg_cache)); reg_t *reg_list = calloc(num_regs, sizeof(reg_t)); struct armv7m_core_reg *arch_info = calloc(num_regs, sizeof(struct armv7m_core_reg)); int i; |