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/oocd_trace.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/oocd_trace.c')
-rw-r--r-- | src/target/oocd_trace.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/target/oocd_trace.c b/src/target/oocd_trace.c index c5f8b80..6011b68 100644 --- a/src/target/oocd_trace.c +++ b/src/target/oocd_trace.c @@ -96,7 +96,7 @@ static int oocd_trace_read_memory(struct oocd_trace *oocd_trace, uint8_t *data, return ERROR_OK; } -static int oocd_trace_init(etm_context_t *etm_ctx) +static int oocd_trace_init(struct etm_context *etm_ctx) { uint8_t trash[256]; struct oocd_trace *oocd_trace = etm_ctx->capture_driver_priv; @@ -143,7 +143,7 @@ static int oocd_trace_init(etm_context_t *etm_ctx) return ERROR_OK; } -static trace_status_t oocd_trace_status(etm_context_t *etm_ctx) +static trace_status_t oocd_trace_status(struct etm_context *etm_ctx) { struct oocd_trace *oocd_trace = etm_ctx->capture_driver_priv; uint32_t status; @@ -175,7 +175,7 @@ static trace_status_t oocd_trace_status(etm_context_t *etm_ctx) return etm_ctx->capture_status; } -static int oocd_trace_read_trace(etm_context_t *etm_ctx) +static int oocd_trace_read_trace(struct etm_context *etm_ctx) { struct oocd_trace *oocd_trace = etm_ctx->capture_driver_priv; uint32_t status, address; @@ -233,7 +233,7 @@ static int oocd_trace_read_trace(etm_context_t *etm_ctx) return ERROR_OK; } -static int oocd_trace_start_capture(etm_context_t *etm_ctx) +static int oocd_trace_start_capture(struct etm_context *etm_ctx) { struct oocd_trace *oocd_trace = etm_ctx->capture_driver_priv; uint32_t control = 0x1; /* 0x1: enabled */ @@ -266,7 +266,7 @@ static int oocd_trace_start_capture(etm_context_t *etm_ctx) return ERROR_OK; } -static int oocd_trace_stop_capture(etm_context_t *etm_ctx) +static int oocd_trace_stop_capture(struct etm_context *etm_ctx) { struct oocd_trace *oocd_trace = etm_ctx->capture_driver_priv; |