summaryrefslogtreecommitdiff
path: root/src/target/arm7_9_common.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-11 21:57:44 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-11 21:57:44 -0800
commit5723e54fa9875dabe1a183ee59336cebe74d1516 (patch)
tree947cf21c645c866069ca88ca1e13948a37790cc8 /src/target/arm7_9_common.h
parente740536568f5943748f2159f0ef8baa4ab37dcb9 (diff)
downloadopenocd+libswd-5723e54fa9875dabe1a183ee59336cebe74d1516.tar.gz
openocd+libswd-5723e54fa9875dabe1a183ee59336cebe74d1516.tar.bz2
openocd+libswd-5723e54fa9875dabe1a183ee59336cebe74d1516.tar.xz
openocd+libswd-5723e54fa9875dabe1a183ee59336cebe74d1516.zip
ETM: remove old mid-level ETM handle
Now that nothing uses the old ETM handle any more, remove it. Add minimal header tweaks, letting non-ARM7 and non-ARM9 cores access ETM facilities. Now ARM11 could support standard ETM (and ETB) access as soon as it derives from "struct arm" ... its scanchain 6 is used access the ETM, just like ARM7 and ARM9. The Cortex parts (both M3 and A8) will need modified access methods (via ETM init parameters), so they use the DAP. Our first A8 target (OMAP3) needs that for both ETM and ETB, but the M3 ETM isn't very useful without SWO trace support (it's painfully stripped down), so that support won't be worth adding for a while. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm7_9_common.h')
-rw-r--r--src/target/arm7_9_common.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/target/arm7_9_common.h b/src/target/arm7_9_common.h
index c0145d95..a49dab27 100644
--- a/src/target/arm7_9_common.h
+++ b/src/target/arm7_9_common.h
@@ -30,7 +30,7 @@
#define ARM7_9_COMMON_H
#include "breakpoints.h"
-#include "etm.h"
+#include "armv4_5.h"
#define ARM7_9_COMMON_MAGIC 0x0a790a79 /**< */
@@ -39,7 +39,7 @@
*/
typedef struct arm7_9_common_s
{
- armv4_5_common_t armv4_5_common;
+ struct arm armv4_5_common;
uint32_t common_magic;
arm_jtag_t jtag_info; /**< JTAG information for target */
@@ -69,8 +69,6 @@ typedef struct arm7_9_common_s
bool fast_memory_access;
bool dcc_downloads;
- etm_context_t *etm_ctx;
-
struct working_area_s *dcc_working_area;
int (*examine_debug_reason)(target_t *target); /**< Function for determining why debug state was entered */