X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Fcortex_m3.h;h=e1f8ef8039018f642c068cb5216f6f7dfacb6bfc;hb=796086cd49f769a55bebcdd43d2d348672c87371;hp=ed08323758d8ab279bd0de191f4cccc6ea94f16d;hpb=0f1163e823c6ca3c2a81fa296157f5dde0635fea;p=openocd.git diff --git a/src/target/cortex_m3.h b/src/target/cortex_m3.h index ed08323758..e1f8ef8039 100644 --- a/src/target/cortex_m3.h +++ b/src/target/cortex_m3.h @@ -26,8 +26,6 @@ #ifndef CORTEX_M3_H #define CORTEX_M3_H -#include "register.h" -#include "target.h" #include "armv7m.h" @@ -136,6 +134,12 @@ struct cortex_m3_dwt_comparator uint32_t dwt_comparator_address; }; +enum cortex_m3_soft_reset_config +{ + CORTEX_M3_RESET_SYSRESETREQ, + CORTEX_M3_RESET_VECTRESET, +}; + struct cortex_m3_common { int common_magic; @@ -160,6 +164,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; };