X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fcortex_m.h;h=b375d1111d308c3c577e86ee5c1b0cb55e53c1cd;hp=22d9735e5c7ea93b21c1bfad6e17f2f2c2e088cc;hb=351ef7bf3cce048ec854c8d19d8af5aa2b97c3a9;hpb=f426d8dd33797a504f118933c8ff658e5c080809 diff --git a/src/target/cortex_m.h b/src/target/cortex_m.h index 22d9735e5c..b375d1111d 100644 --- a/src/target/cortex_m.h +++ b/src/target/cortex_m.h @@ -136,14 +136,14 @@ #define FPCR_REPLACE_BKPT_BOTH (3 << 30) struct cortex_m_fp_comparator { - int used; + bool used; int type; uint32_t fpcr_value; uint32_t fpcr_address; }; struct cortex_m_dwt_comparator { - int used; + bool used; uint32_t comp; uint32_t mask; uint32_t function; @@ -174,7 +174,7 @@ struct cortex_m_common { int fp_num_code; int fp_code_available; int fp_rev; - int fpb_enabled; + bool fpb_enabled; struct cortex_m_fp_comparator *fp_comparator_list; /* Data Watchpoint and Trace (DWT) */