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>
This commit is contained in:
David Brownell
2009-11-05 22:04:04 -08:00
parent 11fe2ec62e
commit fec3c4763a
2 changed files with 28 additions and 70 deletions

View File

@@ -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;