aboutsummaryrefslogtreecommitdiff
path: root/src/target/embeddedice.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 03:19:35 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:04 -0800
commit42ef503d37b18d907da16d26e99167566d5aabd1 (patch)
tree9349f3f4e101d334db57ec0f85fb88c93d187ca9 /src/target/embeddedice.h
parent9f212b01be20da43ba534ad33b20419779c89335 (diff)
downloadriscv-openocd-42ef503d37b18d907da16d26e99167566d5aabd1.zip
riscv-openocd-42ef503d37b18d907da16d26e99167566d5aabd1.tar.gz
riscv-openocd-42ef503d37b18d907da16d26e99167566d5aabd1.tar.bz2
jtag_tap_t -> struct jtag_tap
Search and destroy the jtag_tap_t typedef. This also cleans up a layering violation, removing the declaration from types.h.
Diffstat (limited to 'src/target/embeddedice.h')
-rw-r--r--src/target/embeddedice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/embeddedice.h b/src/target/embeddedice.h
index b1ba989..c27a1b5 100644
--- a/src/target/embeddedice.h
+++ b/src/target/embeddedice.h
@@ -116,7 +116,7 @@ int embeddedice_handshake(arm_jtag_t *jtag_info, int hsbit, uint32_t timeout);
/* If many embeddedice_write_reg() follow eachother, then the >1 invocations can be this faster version of
* embeddedice_write_reg
*/
-static __inline__ void embeddedice_write_reg_inner(jtag_tap_t *tap, int reg_addr, uint32_t value)
+static __inline__ void embeddedice_write_reg_inner(struct jtag_tap *tap, int reg_addr, uint32_t value)
{
static const int embeddedice_num_bits[]={32,5,1};
uint32_t values[3];
@@ -132,6 +132,6 @@ static __inline__ void embeddedice_write_reg_inner(jtag_tap_t *tap, int reg_addr
jtag_get_end_state());
}
-void embeddedice_write_dcc(jtag_tap_t *tap, int reg_addr, uint8_t *buffer, int little, int count);
+void embeddedice_write_dcc(struct jtag_tap *tap, int reg_addr, uint8_t *buffer, int little, int count);
#endif /* EMBEDDED_ICE_H */