diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 09:35:48 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:13 -0800 |
commit | d0c19e0a9d51211953a363026c662d290542fe85 (patch) | |
tree | c4b0f25cfcaf15185ebf96895d6ec9199f6047c7 /src/target/etb.c | |
parent | 6421c2075c733d18b7fc9daed847c135b98230b7 (diff) | |
download | riscv-openocd-d0c19e0a9d51211953a363026c662d290542fe85.zip riscv-openocd-d0c19e0a9d51211953a363026c662d290542fe85.tar.gz riscv-openocd-d0c19e0a9d51211953a363026c662d290542fe85.tar.bz2 |
etm_context_t -> struct etm_context
Remove misleading typedef and redundant suffix from struct etm_context.
Diffstat (limited to 'src/target/etb.c')
-rw-r--r-- | src/target/etb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/target/etb.c b/src/target/etb.c index eed961b..6f9562a 100644 --- a/src/target/etb.c +++ b/src/target/etb.c @@ -415,7 +415,7 @@ static int etb_register_commands(struct command_context_s *cmd_ctx) return ERROR_OK; } -static int etb_init(etm_context_t *etm_ctx) +static int etb_init(struct etm_context *etm_ctx) { struct etb *etb = etm_ctx->capture_driver_priv; @@ -432,7 +432,7 @@ static int etb_init(etm_context_t *etm_ctx) return ERROR_OK; } -static trace_status_t etb_status(etm_context_t *etm_ctx) +static trace_status_t etb_status(struct etm_context *etm_ctx) { struct etb *etb = etm_ctx->capture_driver_priv; reg_t *control = &etb->reg_cache->reg_list[ETB_CTRL]; @@ -484,7 +484,7 @@ static trace_status_t etb_status(etm_context_t *etm_ctx) return retval; } -static int etb_read_trace(etm_context_t *etm_ctx) +static int etb_read_trace(struct etm_context *etm_ctx) { struct etb *etb = etm_ctx->capture_driver_priv; int first_frame = 0; @@ -634,7 +634,7 @@ static int etb_read_trace(etm_context_t *etm_ctx) return ERROR_OK; } -static int etb_start_capture(etm_context_t *etm_ctx) +static int etb_start_capture(struct etm_context *etm_ctx) { struct etb *etb = etm_ctx->capture_driver_priv; uint32_t etb_ctrl_value = 0x1; @@ -668,7 +668,7 @@ static int etb_start_capture(etm_context_t *etm_ctx) return ERROR_OK; } -static int etb_stop_capture(etm_context_t *etm_ctx) +static int etb_stop_capture(struct etm_context *etm_ctx) { struct etb *etb = etm_ctx->capture_driver_priv; reg_t *etb_ctrl_reg = &etb->reg_cache->reg_list[ETB_CTRL]; |