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.h | |
parent | de3fb2f3bce2de5be44223204ce368216ed85b0f (diff) | |
download | riscv-openocd-74d09617b927ed7011098d5a65087dee1ef1e87a.zip riscv-openocd-74d09617b927ed7011098d5a65087dee1ef1e87a.tar.gz riscv-openocd-74d09617b927ed7011098d5a65087dee1ef1e87a.tar.bz2 |
reg_cache_t -> struct reg_cache
Remove misleading typedef and redundant suffix from struct reg_cache.
Diffstat (limited to 'src/target/etm.h')
-rw-r--r-- | src/target/etm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/etm.h b/src/target/etm.h index 08f9c22..63e31f1 100644 --- a/src/target/etm.h +++ b/src/target/etm.h @@ -155,7 +155,7 @@ struct etmv1_trace_data typedef struct etm { target_t *target; /* target this ETM is connected to */ - reg_cache_t *reg_cache; /* ETM register cache */ + struct reg_cache *reg_cache; /* ETM register cache */ struct etm_capture_driver *capture_driver; /* driver used to access ETM data */ void *capture_driver_priv; /* capture driver private data */ uint32_t trigger_percent; /* how much trace buffer to fill after trigger */ @@ -207,7 +207,7 @@ typedef enum BR_RSVD7 = 0x7, /* reserved */ } etmv1_branch_reason_t; -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); int etm_setup(target_t *target); |