From 178c7580960b4d84fe83ef579250fba1d6ac4f2d Mon Sep 17 00:00:00 2001 From: David Brownell Date: Thu, 5 Nov 2009 22:03:40 -0800 Subject: ARM9TDMI uses the new inheritance/nesting scheme Replace needless pointer traversals and simplify. Also remove most remaining contents from arm9tdmi struct; it's almost removable. Signed-off-by: David Brownell --- src/target/arm9tdmi.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/target/arm9tdmi.h') diff --git a/src/target/arm9tdmi.h b/src/target/arm9tdmi.h index 8f893163..8bf2713e 100644 --- a/src/target/arm9tdmi.h +++ b/src/target/arm9tdmi.h @@ -25,12 +25,11 @@ #include "embeddedice.h" -#define ARM9TDMI_COMMON_MAGIC 0x00a900a9 - +/* FIXME we don't really need a separate arm9tdmi struct any more... + * remove it, the arm7/arm9 common struct suffices. + */ typedef struct arm9tdmi_common_s { - int common_magic; - void *arch_info; arm7_9_common_t arm7_9_common; } arm9tdmi_common_t; -- cgit v1.2.3