summaryrefslogtreecommitdiff
path: root/src/target/cortex_m3.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-05 21:59:45 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-05 21:59:45 -0800
commitda739aa25733b5a252a2b0b8ad76a3dc886f1132 (patch)
tree9bde078183e994078843dac44efd909f49e8756f /src/target/cortex_m3.h
parentdb116b1ea3c77a3c5850fccbce9e0795faa21dda (diff)
downloadopenocd+libswd-da739aa25733b5a252a2b0b8ad76a3dc886f1132.tar.gz
openocd+libswd-da739aa25733b5a252a2b0b8ad76a3dc886f1132.tar.bz2
openocd+libswd-da739aa25733b5a252a2b0b8ad76a3dc886f1132.tar.xz
openocd+libswd-da739aa25733b5a252a2b0b8ad76a3dc886f1132.zip
Cortex-M3: use the new inheritance/nesting scheme
Use new target_to_cm3() and target_to_armv7m() inlines, instead of a series of x->arch_info conversions. Remove arch_info, since nothing uses it. Also fix an omission: the Cortex-M3 commands didn't verify that they were operating on that kind of target. Add comment about the ARMv7M version of that omission. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/cortex_m3.h')
-rw-r--r--src/target/cortex_m3.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/target/cortex_m3.h b/src/target/cortex_m3.h
index 629db8e1..9ad9dca7 100644
--- a/src/target/cortex_m3.h
+++ b/src/target/cortex_m3.h
@@ -161,7 +161,6 @@ typedef struct cortex_m3_common_s
struct reg_cache_s *dwt_cache;
armv7m_common_t armv7m;
- void *arch_info;
} cortex_m3_common_t;
static inline struct cortex_m3_common_s *