aboutsummaryrefslogtreecommitdiff
path: root/src/target/etm.h
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 04:56:37 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 04:56:37 +0000
commit56504fdd7353732525e34f1e3fbd44346588f979 (patch)
tree1f773aa47f7e8640a859a61c77edbb55aa79dc55 /src/target/etm.h
parent68b05c55759970657c32607b3ce27c42e65cdad0 (diff)
downloadriscv-openocd-56504fdd7353732525e34f1e3fbd44346588f979.zip
riscv-openocd-56504fdd7353732525e34f1e3fbd44346588f979.tar.gz
riscv-openocd-56504fdd7353732525e34f1e3fbd44346588f979.tar.bz2
Audit and eliminate redundant #include directives in other target files.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1715 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/etm.h')
-rw-r--r--src/target/etm.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/target/etm.h b/src/target/etm.h
index 26e0d76..df31600 100644
--- a/src/target/etm.h
+++ b/src/target/etm.h
@@ -23,14 +23,12 @@
#ifndef ETM_H
#define ETM_H
-#include "image.h"
#include "trace.h"
-#include "target.h"
-#include "register.h"
#include "arm_jtag.h"
-
#include "armv4_5.h"
+struct image_s;
+
/* ETM registers (V1.3 protocol) */
enum
{
@@ -152,7 +150,7 @@ typedef struct etm_context_s
etm_portmode_t portmode; /* normal, multiplexed or demultiplexed */
etmv1_tracemode_t tracemode; /* type of information the trace contains (data, addres, contextID, ...) */
armv4_5_state_t core_state; /* current core state (ARM, Thumb, Jazelle) */
- image_t *image; /* source for target opcodes */
+ struct image_s *image; /* source for target opcodes */
u32 pipe_index; /* current trace cycle */
u32 data_index; /* cycle holding next data packet */
int data_half; /* port half on a 16 bit port */