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 <dbrownell@users.sourceforge.net>
This commit is contained in:
David Brownell
2009-11-05 22:03:40 -08:00
parent 865ed6ed81
commit 178c758096
2 changed files with 33 additions and 109 deletions

View File

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