ARM: misc generic cleanup

Remove an undesirable use of the CPSR symbol ... it needs to vanish.
Flag mode-to-number stuff as obsolete; say why ... should also vanish.

Get rid of no-longer-used mode and state typedefs.

Comment a few of the implicit ties to "classic ARM".

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
David Brownell
2009-12-04 20:14:46 -08:00
parent e51b9a4ac7
commit 340e2eb762
4 changed files with 28 additions and 13 deletions

View File

@@ -79,7 +79,7 @@ struct xscale_trace
int buffer_fill; /* maximum number of trace runs to read (-1 for wrap-around) */
int pc_ok;
uint32_t current_pc;
arm_state_t core_state; /* current core state (ARM, Thumb, Jazelle) */
enum arm_state core_state; /* current core state (ARM, Thumb) */
};
struct xscale_common