aboutsummaryrefslogtreecommitdiff
path: root/src/target/cortex_m.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/cortex_m.h')
-rw-r--r--src/target/cortex_m.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/target/cortex_m.h b/src/target/cortex_m.h
index 54767c5..1686135 100644
--- a/src/target/cortex_m.h
+++ b/src/target/cortex_m.h
@@ -201,6 +201,8 @@ enum cortex_m_isrmasking_mode {
struct cortex_m_common {
unsigned int common_magic;
+ struct armv7m_common armv7m;
+
/* Context information */
uint32_t dcb_dhcsr;
uint32_t dcb_dhcsr_cumulated_sticky;
@@ -226,7 +228,6 @@ struct cortex_m_common {
enum cortex_m_isrmasking_mode isrmasking_mode;
const struct cortex_m_part_info *core_info;
- struct armv7m_common armv7m;
bool slow_register_read; /* A register has not been ready, poll S_REGRDY */