From 195ce5eb273983dbeabeea41cc18b77e4f30ab41 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Thu, 19 Nov 2009 02:33:01 -0800 Subject: ARMv7-A: use standard ARM core states We don't want an ARMv7-specific core state enumeration just to add ThumbEE state. Update the generic stuff to handle that, and replace the V7-specific bits with it. For Cortex-A8: on debug entry, check both the T and J bits instead of just the T bit. When the J bit is set, set the right state and warn appropriately. (And while we're at it, move the generic arm struct to the front of the v7a structure, for somewhat better code generation.) Signed-off-by: David Brownell --- src/target/armv4_5.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/target/armv4_5.h') diff --git a/src/target/armv4_5.h b/src/target/armv4_5.h index e3d053c9..6b1dd769 100644 --- a/src/target/armv4_5.h +++ b/src/target/armv4_5.h @@ -52,6 +52,7 @@ typedef enum armv4_5_state ARMV4_5_STATE_ARM, ARMV4_5_STATE_THUMB, ARMV4_5_STATE_JAZELLE, + ARM_STATE_THUMB_EE, } armv4_5_state_t; extern char* armv4_5_state_strings[]; -- cgit v1.2.3