summaryrefslogtreecommitdiff
path: root/src/target/armv7m.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-03-05 10:39:25 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-03-05 10:39:25 -0800
commitd33a81c549743e13633db9e8749f0e7cb0f7324b (patch)
treec1810fc1947b1ade439604b9388849bdb2e67587 /src/target/armv7m.h
parent57ebf6d3dea85d7c4d712a1ada161d76096fdf23 (diff)
downloadopenocd+libswd-d33a81c549743e13633db9e8749f0e7cb0f7324b.tar.gz
openocd+libswd-d33a81c549743e13633db9e8749f0e7cb0f7324b.tar.bz2
openocd+libswd-d33a81c549743e13633db9e8749f0e7cb0f7324b.tar.xz
openocd+libswd-d33a81c549743e13633db9e8749f0e7cb0f7324b.zip
ADIv5 share DAP command support
Get rid of needless and undesirable code duplication for all the DAP commands (resolving a FIXME) ... there's no need for coreas to have private copies of that stuff. Stick a pointer to the DAP in "struct arm", letting common code get to it. Also rename the "swjdp_info" symbol; just call it "dap". This is an overall code shrink. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/armv7m.h')
-rw-r--r--src/target/armv7m.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/armv7m.h b/src/target/armv7m.h
index 55265054..51d67048 100644
--- a/src/target/armv7m.h
+++ b/src/target/armv7m.h
@@ -106,7 +106,7 @@ struct armv7m_common
struct reg_cache *core_cache;
enum armv7m_mode core_mode;
int exception_number;
- struct adiv5_dap swjdp_info;
+ struct adiv5_dap dap;
uint32_t demcr;