summaryrefslogtreecommitdiff
path: root/src/target/etm.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 09:46:21 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:13 -0800
commitdfecfd5fd471708ac15af08b52964e8f8da9f4be (patch)
treedf19af79ef4f26cb88e94657bc9db4aa604c7ac8 /src/target/etm.h
parentaf949b2531d2a8863d077025db40cbb170d13a63 (diff)
downloadopenocd+libswd-dfecfd5fd471708ac15af08b52964e8f8da9f4be.tar.gz
openocd+libswd-dfecfd5fd471708ac15af08b52964e8f8da9f4be.tar.bz2
openocd+libswd-dfecfd5fd471708ac15af08b52964e8f8da9f4be.tar.xz
openocd+libswd-dfecfd5fd471708ac15af08b52964e8f8da9f4be.zip
image_t -> struct image
Remove misleading typedef and redundant suffix from struct image. Also removes the typedef from enum image_type, as it is used in image.h only.
Diffstat (limited to 'src/target/etm.h')
-rw-r--r--src/target/etm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/etm.h b/src/target/etm.h
index 3de54eef..531206cc 100644
--- a/src/target/etm.h
+++ b/src/target/etm.h
@@ -26,7 +26,7 @@
#include "trace.h"
#include "arm_jtag.h"
-struct image_s;
+struct image;
/* ETM registers (JTAG protocol) */
enum
@@ -165,7 +165,7 @@ struct etm_context
etm_portmode_t portmode; /* normal, multiplexed or demultiplexed */
etmv1_tracemode_t tracemode; /* type of info trace contains */
int /*armv4_5_state_t*/ core_state; /* current core state */
- struct image_s *image; /* source for target opcodes */
+ struct image *image; /* source for target opcodes */
uint32_t pipe_index; /* current trace cycle */
uint32_t data_index; /* cycle holding next data packet */
bool data_half; /* port half on a 16 bit port */