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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user