aboutsummaryrefslogtreecommitdiff
path: root/src/target/etb.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 09:27:28 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:13 -0800
commit6421c2075c733d18b7fc9daed847c135b98230b7 (patch)
treece6970a920981c34894ff4200448bc7d0fb5e78f /src/target/etb.h
parent4952eadd8f04ca3755c30013abc3ea85e35d8654 (diff)
downloadriscv-openocd-6421c2075c733d18b7fc9daed847c135b98230b7.zip
riscv-openocd-6421c2075c733d18b7fc9daed847c135b98230b7.tar.gz
riscv-openocd-6421c2075c733d18b7fc9daed847c135b98230b7.tar.bz2
etb_t -> struct etb
Remove misleading typedef and redundant suffix from struct etb.
Diffstat (limited to 'src/target/etb.h')
-rw-r--r--src/target/etb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/etb.h b/src/target/etb.h
index 820d296..e015bad 100644
--- a/src/target/etb.h
+++ b/src/target/etb.h
@@ -34,7 +34,7 @@ enum
ETB_CTRL = 0x08,
};
-typedef struct etb_s
+struct etb
{
etm_context_t *etm_ctx;
struct jtag_tap *tap;
@@ -44,16 +44,16 @@ typedef struct etb_s
/* ETB parameters */
uint32_t ram_depth;
uint32_t ram_width;
-} etb_t;
+};
struct etb_reg
{
uint32_t addr;
- etb_t *etb;
+ struct etb *etb;
};
extern struct etm_capture_driver etb_capture_driver;
-struct reg_cache* etb_build_reg_cache(etb_t *etb);
+struct reg_cache* etb_build_reg_cache(struct etb *etb);
#endif /* ETB_H */