]> git.sur5r.net Git - openocd/commit
ARMv7-A: use standard ARM core states
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 19 Nov 2009 10:33:01 +0000 (02:33 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 19 Nov 2009 10:33:01 +0000 (02:33 -0800)
commit195ce5eb273983dbeabeea41cc18b77e4f30ab41
tree65d5308f74ba5d7a569445e230fe1dec090c6514
parentf320b1228932e33292207d89778125c03379de5d
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>
src/target/armv4_5.c
src/target/armv4_5.h
src/target/armv7a.c
src/target/armv7a.h
src/target/cortex_a8.c