aboutsummaryrefslogtreecommitdiff
path: root/src/target/etm.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 10:11:13 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:14 -0800
commit0f1163e823c6ca3c2a81fa296157f5dde0635fea (patch)
tree60551098bba500cd8b7fc4bd669d64fd3ed8f061 /src/target/etm.h
parentd0dee7ccafcf87259fadf6c5de43df8583b0e885 (diff)
downloadriscv-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.h6
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);