diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 10:11:13 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:14 -0800 |
commit | 0f1163e823c6ca3c2a81fa296157f5dde0635fea (patch) | |
tree | 60551098bba500cd8b7fc4bd669d64fd3ed8f061 /src/target/etm.h | |
parent | d0dee7ccafcf87259fadf6c5de43df8583b0e885 (diff) | |
download | riscv-openocd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.zip riscv-openocd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.gz riscv-openocd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.bz2 |
target_t -> struct target
Remove misleading typedef and redundant suffix from struct target.
Diffstat (limited to 'src/target/etm.h')
-rw-r--r-- | src/target/etm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/etm.h b/src/target/etm.h index 531206c..1ca9b93 100644 --- a/src/target/etm.h +++ b/src/target/etm.h @@ -154,7 +154,7 @@ struct etmv1_trace_data */ struct etm_context { - target_t *target; /* target this ETM is connected to */ + struct target *target; /* target this ETM is connected to */ 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 */ @@ -207,10 +207,10 @@ typedef enum BR_RSVD7 = 0x7, /* reserved */ } etmv1_branch_reason_t; -struct reg_cache* etm_build_reg_cache(target_t *target, +struct reg_cache* etm_build_reg_cache(struct target *target, struct arm_jtag *jtag_info, struct etm_context *etm_ctx); -int etm_setup(target_t *target); +int etm_setup(struct target *target); int etm_register_commands(struct command_context_s *cmd_ctx); |