summaryrefslogtreecommitdiff
path: root/src/target/arm7tdmi.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-05 22:04:04 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-05 22:04:04 -0800
commitfec3c4763ad4cf2996fa138c4fd0f555e32e5e9f (patch)
tree73f2f427b0b7fcfceff89c02a02525cbedaa67bb /src/target/arm7tdmi.h
parent11fe2ec62e30e4b580ace6821ac4293ed91d53f1 (diff)
downloadopenocd+libswd-fec3c4763ad4cf2996fa138c4fd0f555e32e5e9f.tar.gz
openocd+libswd-fec3c4763ad4cf2996fa138c4fd0f555e32e5e9f.tar.bz2
openocd+libswd-fec3c4763ad4cf2996fa138c4fd0f555e32e5e9f.tar.xz
openocd+libswd-fec3c4763ad4cf2996fa138c4fd0f555e32e5e9f.zip
ARM7TDMI uses the new inheritance/nesting scheme
Use target_to_arm7_9(), replacing needless pointer traversals. Also: remove now-useless contents of arm7tdmi struct; it's almost ready to be removed. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm7tdmi.h')
-rw-r--r--src/target/arm7tdmi.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/target/arm7tdmi.h b/src/target/arm7tdmi.h
index da5c0401..f69ba49e 100644
--- a/src/target/arm7tdmi.h
+++ b/src/target/arm7tdmi.h
@@ -25,12 +25,11 @@
#include "embeddedice.h"
-#define ARM7TDMI_COMMON_MAGIC 0x00a700a7
-
+/* FIXME we don't really need a separate arm7tdmi struct any more...
+ * remove it, the arm7/arm9 common struct suffices.
+ */
typedef struct arm7tdmi_common_s
{
- int common_magic;
- void *arch_info;
arm7_9_common_t arm7_9_common;
} arm7tdmi_common_t;