summaryrefslogtreecommitdiff
path: root/src/target/armv4_5.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-19 02:33:01 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-19 02:33:01 -0800
commit195ce5eb273983dbeabeea41cc18b77e4f30ab41 (patch)
tree65d5308f74ba5d7a569445e230fe1dec090c6514 /src/target/armv4_5.c
parentf320b1228932e33292207d89778125c03379de5d (diff)
downloadopenocd+libswd-195ce5eb273983dbeabeea41cc18b77e4f30ab41.tar.gz
openocd+libswd-195ce5eb273983dbeabeea41cc18b77e4f30ab41.tar.bz2
openocd+libswd-195ce5eb273983dbeabeea41cc18b77e4f30ab41.tar.xz
openocd+libswd-195ce5eb273983dbeabeea41cc18b77e4f30ab41.zip
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 <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/armv4_5.c')
-rw-r--r--src/target/armv4_5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/armv4_5.c b/src/target/armv4_5.c
index 6c6f2bfe..5e882e67 100644
--- a/src/target/armv4_5.c
+++ b/src/target/armv4_5.c
@@ -227,7 +227,7 @@ enum armv4_5_mode armv4_5_number_to_mode(int number)
char* armv4_5_state_strings[] =
{
- "ARM", "Thumb", "Jazelle"
+ "ARM", "Thumb", "Jazelle", "ThumbEE",
};
static const struct armv4_5_core_reg armv4_5_core_reg_list_arch_info[] =