From fec3c4763ad4cf2996fa138c4fd0f555e32e5e9f Mon Sep 17 00:00:00 2001 From: David Brownell Date: Thu, 5 Nov 2009 22:04:04 -0800 Subject: 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 --- src/target/arm7tdmi.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/target/arm7tdmi.h') 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; -- cgit v1.2.3