X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fcortex_m3.h;h=db8071110edbc9b25dc73a48cc5059774eb54f40;hp=7ce89014bbbc8eec7ca5705ed769892203f543a5;hb=3c69eee9ef481333eb08e72badc9404e607f861c;hpb=1ca286557a7b41211cae7026c99d41af031af177 diff --git a/src/target/cortex_m3.h b/src/target/cortex_m3.h index 7ce89014bb..db8071110e 100644 --- a/src/target/cortex_m3.h +++ b/src/target/cortex_m3.h @@ -134,6 +134,13 @@ struct cortex_m3_dwt_comparator uint32_t dwt_comparator_address; }; +enum cortex_m3_soft_reset_config +{ + CORTEX_M3_RESET_SRST, + CORTEX_M3_RESET_SYSRESETREQ, + CORTEX_M3_RESET_VECTRESET, +}; + struct cortex_m3_common { int common_magic; @@ -158,6 +165,8 @@ struct cortex_m3_common struct cortex_m3_dwt_comparator *dwt_comparator_list; struct reg_cache *dwt_cache; + enum cortex_m3_soft_reset_config soft_reset_config; + struct armv7m_common armv7m; };