forked from Imagelibrary/rtems
Misc. "bool" changes.
This commit is contained in:
@@ -115,7 +115,7 @@ extern void exceptionHandler (int, void (*handler) (void));
|
|||||||
/* at least NUMREGBYTES*2 are needed for register packets */
|
/* at least NUMREGBYTES*2 are needed for register packets */
|
||||||
#define BUFMAX 400
|
#define BUFMAX 400
|
||||||
|
|
||||||
static char initialized; /* boolean flag. != 0 means we've been initialized */
|
static bool initialized = false; /* boolean flag. != 0 means we've been initialized */
|
||||||
|
|
||||||
extern int remote_debug;
|
extern int remote_debug;
|
||||||
/* debug > 0 prints ill-formed commands in valid packets & checksum errors */
|
/* debug > 0 prints ill-formed commands in valid packets & checksum errors */
|
||||||
@@ -953,7 +953,7 @@ set_debug_traps (void)
|
|||||||
"$?#xx") sitting there. */
|
"$?#xx") sitting there. */
|
||||||
putDebugChar ('+');
|
putDebugChar ('+');
|
||||||
|
|
||||||
initialized = 1;
|
initialized = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -349,7 +349,7 @@ void _ThreadProcessSignalsFromIrq (CPU_Exception_frame* ctx)
|
|||||||
*/
|
*/
|
||||||
if ( _Thread_Do_post_task_switch_extension ||
|
if ( _Thread_Do_post_task_switch_extension ||
|
||||||
_Thread_Executing->do_post_task_switch_extension ) {
|
_Thread_Executing->do_post_task_switch_extension ) {
|
||||||
_Thread_Executing->do_post_task_switch_extension = FALSE;
|
_Thread_Executing->do_post_task_switch_extension = false;
|
||||||
_API_extensions_Run_postswitch();
|
_API_extensions_Run_postswitch();
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user