aboutsummaryrefslogtreecommitdiff
path: root/src/target/cortex_m3.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/cortex_m3.h')
-rw-r--r--src/target/cortex_m3.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/target/cortex_m3.h b/src/target/cortex_m3.h
index e1f8ef80..e16aa89f 100644
--- a/src/target/cortex_m3.h
+++ b/src/target/cortex_m3.h
@@ -140,6 +140,13 @@ enum cortex_m3_soft_reset_config
CORTEX_M3_RESET_VECTRESET,
};
+enum cortex_m3_isrmasking_mode
+{
+ CORTEX_M3_ISRMASK_AUTO,
+ CORTEX_M3_ISRMASK_OFF,
+ CORTEX_M3_ISRMASK_ON,
+};
+
struct cortex_m3_common
{
int common_magic;
@@ -166,6 +173,8 @@ struct cortex_m3_common
enum cortex_m3_soft_reset_config soft_reset_config;
+ enum cortex_m3_isrmasking_mode isrmasking_mode;
+
struct armv7m_common armv7m;
};