target/cortex_m: Use 'bool' instead of 'int'
Change-Id: I273d24997e2c844015e144a15981f8f0af522261 Signed-off-by: Marc Schink <openocd-dev@marcschink.de> Reviewed-on: http://openocd.zylin.com/4950 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
@@ -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) */
|
||||
|
||||
Reference in New Issue
Block a user