ARMv7-M: make DAP commands verify target is an ARMv7-M
commitff5deeeeaa4f394931e3c5ccfb4cfd33beda0743
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 4 Feb 2010 22:39:51 +0000 (4 14:39 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 4 Feb 2010 22:39:51 +0000 (4 14:39 -0800)
tree83d84ac6b1974dfb6001081ce824ab8830839223
parent3ea9e62189205cfa84a04ec6955aaf1f5184a937
ARMv7-M: make DAP commands verify target is an ARMv7-M

Init the ARMv7-M magic number.  Define predicate verifying it.
Use it to resolve a lurking bug/FIXME:  make sure the ARMv7-M
specific DAP ops reject non-ARMv7-M targets.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/armv7m.c
src/target/armv7m.h