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/etm.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/etm.c')
-rw-r--r-- | src/target/etm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/etm.c b/src/target/etm.c index 9952279d..118fe12d 100644 --- a/src/target/etm.c +++ b/src/target/etm.c @@ -231,7 +231,7 @@ static command_t *etm_cmd; */ static reg_t *etm_reg_lookup(etm_context_t *etm_ctx, unsigned id) { - reg_cache_t *cache = etm_ctx->reg_cache; + struct reg_cache *cache = etm_ctx->reg_cache; int i; for (i = 0; i < cache->num_regs; i++) { @@ -248,7 +248,7 @@ static reg_t *etm_reg_lookup(etm_context_t *etm_ctx, unsigned id) } static void etm_reg_add(unsigned bcd_vers, struct arm_jtag *jtag_info, - reg_cache_t *cache, struct etm_reg *ereg, + struct reg_cache *cache, struct etm_reg *ereg, const struct etm_reg_info *r, unsigned nreg) { reg_t *reg = cache->reg_list; @@ -279,10 +279,10 @@ static void etm_reg_add(unsigned bcd_vers, struct arm_jtag *jtag_info, } } -reg_cache_t *etm_build_reg_cache(target_t *target, +struct reg_cache *etm_build_reg_cache(target_t *target, struct arm_jtag *jtag_info, etm_context_t *etm_ctx) { - reg_cache_t *reg_cache = malloc(sizeof(reg_cache_t)); + struct reg_cache *reg_cache = malloc(sizeof(struct reg_cache)); reg_t *reg_list = NULL; struct etm_reg *arch_info = NULL; unsigned bcd_vers, config; |