diff options
Diffstat (limited to 'cpukit/score')
81 files changed, 207 insertions, 208 deletions
diff --git a/cpukit/score/include/rtems/debug.h b/cpukit/score/include/rtems/debug.h index abdb6200d0..dddafec8a6 100644 --- a/cpukit/score/include/rtems/debug.h +++ b/cpukit/score/include/rtems/debug.h @@ -67,7 +67,7 @@ void rtems_debug_disable ( * This routine returns TRUE if the requested debug level is * enabled, and FALSE otherwise. */ -boolean _Debug_Is_enabled( +bool _Debug_Is_enabled( rtems_debug_control level ); diff --git a/cpukit/score/include/rtems/score/context.h b/cpukit/score/include/rtems/score/context.h index 46ecff3686..40b06a4e0c 100644 --- a/cpukit/score/include/rtems/score/context.h +++ b/cpukit/score/include/rtems/score/context.h @@ -48,7 +48,7 @@ extern "C" { * currently executing thread and given to the heir thread. */ -SCORE_EXTERN volatile boolean _Context_Switch_necessary; +SCORE_EXTERN volatile bool _Context_Switch_necessary; /** * @brief Initialize Context Area diff --git a/cpukit/score/include/rtems/score/corebarrier.h b/cpukit/score/include/rtems/score/corebarrier.h index ec1dd946fd..b66d95aaf6 100644 --- a/cpukit/score/include/rtems/score/corebarrier.h +++ b/cpukit/score/include/rtems/score/corebarrier.h @@ -150,7 +150,7 @@ void _CORE_barrier_Initialize( void _CORE_barrier_Wait( CORE_barrier_Control *the_barrier, Objects_Id id, - boolean wait, + bool wait, Watchdog_Interval timeout, CORE_barrier_API_mp_support_callout api_barrier_mp_support ); diff --git a/cpukit/score/include/rtems/score/coremsg.h b/cpukit/score/include/rtems/score/coremsg.h index f34eecee50..74a9c2beea 100644 --- a/cpukit/score/include/rtems/score/coremsg.h +++ b/cpukit/score/include/rtems/score/coremsg.h @@ -27,16 +27,16 @@ */ /**@{*/ -#ifdef __cplusplus -extern "C" { -#endif - #include <limits.h> #include <rtems/score/thread.h> #include <rtems/score/threadq.h> #include <rtems/score/priority.h> #include <rtems/score/watchdog.h> +#ifdef __cplusplus +extern "C" { +#endif + /** * @brief Message Queue MP Callback Prototype * @@ -240,7 +240,7 @@ typedef struct { * FALSE will only be returned if memory for the pending * messages cannot be allocated. */ -boolean _CORE_message_queue_Initialize( +bool _CORE_message_queue_Initialize( CORE_message_queue_Control *the_message_queue, CORE_message_queue_Attributes *the_message_queue_attributes, uint32_t maximum_pending_messages, @@ -365,7 +365,7 @@ CORE_message_queue_Status _CORE_message_queue_Submit( Objects_Id id, CORE_message_queue_API_mp_support_callout api_message_queue_mp_support, CORE_message_queue_Submit_types submit_type, - boolean wait, + bool wait, Watchdog_Interval timeout ); @@ -397,7 +397,7 @@ void _CORE_message_queue_Seize( Objects_Id id, void *buffer, size_t *size_p, - boolean wait, + bool wait, Watchdog_Interval timeout ); diff --git a/cpukit/score/include/rtems/score/coremutex.h b/cpukit/score/include/rtems/score/coremutex.h index f63a5b60c8..01414e0914 100644 --- a/cpukit/score/include/rtems/score/coremutex.h +++ b/cpukit/score/include/rtems/score/coremutex.h @@ -181,7 +181,7 @@ typedef struct { /** When this field is TRUE, then only the thread that locked the mutex * is allowed to unlock it. */ - boolean only_owner_release; + bool only_owner_release; /** This field indicates whether threads waiting on the mutex block in * FIFO or priority order. */ @@ -402,7 +402,7 @@ void _CORE_mutex_Seize_interrupt_blocking( void _CORE_mutex_Seize( CORE_mutex_Control *_the_mutex, Objects_Id _id, - boolean _wait, + bool _wait, Watchdog_Interval _timeout, ISR_Level _level ); diff --git a/cpukit/score/include/rtems/score/corerwlock.h b/cpukit/score/include/rtems/score/corerwlock.h index ac57a02baa..7e1e3d8994 100644 --- a/cpukit/score/include/rtems/score/corerwlock.h +++ b/cpukit/score/include/rtems/score/corerwlock.h @@ -151,7 +151,7 @@ void _CORE_RWLock_Initialize( void _CORE_RWLock_Obtain_for_reading( CORE_RWLock_Control *the_rwlock, Objects_Id id, - boolean wait, + bool wait, Watchdog_Interval timeout, CORE_RWLock_API_mp_support_callout api_rwlock_mp_support ); @@ -172,7 +172,7 @@ void _CORE_RWLock_Obtain_for_reading( void _CORE_RWLock_Obtain_for_writing( CORE_RWLock_Control *the_rwlock, Objects_Id id, - boolean wait, + bool wait, Watchdog_Interval timeout, CORE_RWLock_API_mp_support_callout api_rwlock_mp_support ); diff --git a/cpukit/score/include/rtems/score/coresem.h b/cpukit/score/include/rtems/score/coresem.h index fc2f979ff5..3614643615 100644 --- a/cpukit/score/include/rtems/score/coresem.h +++ b/cpukit/score/include/rtems/score/coresem.h @@ -151,7 +151,7 @@ void _CORE_semaphore_Initialize( void _CORE_semaphore_Seize( CORE_semaphore_Control *the_semaphore, Objects_Id id, - boolean wait, + bool wait, Watchdog_Interval timeout ); diff --git a/cpukit/score/include/rtems/score/corespinlock.h b/cpukit/score/include/rtems/score/corespinlock.h index 58012c8add..fa5e851696 100644 --- a/cpukit/score/include/rtems/score/corespinlock.h +++ b/cpukit/score/include/rtems/score/corespinlock.h @@ -136,7 +136,7 @@ void _CORE_spinlock_Initialize( */ CORE_spinlock_Status _CORE_spinlock_Wait( CORE_spinlock_Control *the_spinlock, - boolean wait, + bool wait, Watchdog_Interval timeout ); diff --git a/cpukit/score/include/rtems/score/heap.h b/cpukit/score/include/rtems/score/heap.h index db7e32355c..0587852d78 100644 --- a/cpukit/score/include/rtems/score/heap.h +++ b/cpukit/score/include/rtems/score/heap.h @@ -333,7 +333,7 @@ void *_Heap_Allocate_aligned( * @return TRUE if successfully able to determine the size, FALSE otherwise * @return *size filled in with the size of the user area for this block */ -boolean _Heap_Size_of_user_area( +bool _Heap_Size_of_user_area( Heap_Control *the_heap, void *starting_address, size_t *size @@ -379,7 +379,7 @@ Heap_Resize_status _Heap_Resize_block( * to free * @return TRUE if successfully freed, FALSE otherwise */ -boolean _Heap_Free( +bool _Heap_Free( Heap_Control *the_heap, void *start_address ); @@ -393,10 +393,10 @@ boolean _Heap_Free( * @param[in] do_dump is set to TRUE if errors should be printed * @return TRUE if the test passed fine, FALSE otherwise. */ -boolean _Heap_Walk( +bool _Heap_Walk( Heap_Control *the_heap, int source, - boolean do_dump + bool do_dump ); /** diff --git a/cpukit/score/include/rtems/score/interr.h b/cpukit/score/include/rtems/score/interr.h index 97ce4f415c..e432911716 100644 --- a/cpukit/score/include/rtems/score/interr.h +++ b/cpukit/score/include/rtems/score/interr.h @@ -75,7 +75,7 @@ typedef struct { /** This is the source of the error. */ Internal_errors_Source the_source; /** This indicates if the error is internal of external. */ - boolean is_internal; + bool is_internal; /** This is the error code. */ uint32_t the_error; } Internal_errors_Information; @@ -92,7 +92,7 @@ SCORE_EXTERN Internal_errors_Information _Internal_errors_What_happened; */ void _Internal_error_Occurred( Internal_errors_Source the_source, - boolean is_internal, + bool is_internal, uint32_t the_error ) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; diff --git a/cpukit/score/include/rtems/score/isr.h b/cpukit/score/include/rtems/score/isr.h index 7d8f12b223..d81bef5766 100644 --- a/cpukit/score/include/rtems/score/isr.h +++ b/cpukit/score/include/rtems/score/isr.h @@ -79,7 +79,7 @@ typedef ISR_Handler ( *ISR_Handler_entry )( * The following is TRUE if signals have been sent to the currently * executing thread by an ISR handler. */ -SCORE_EXTERN boolean _ISR_Signals_to_thread_executing; +SCORE_EXTERN bool _ISR_Signals_to_thread_executing; /** * The following contains the interrupt service routine nest level. @@ -201,7 +201,7 @@ void _ISR_Dispatch( void ); * that the caller is an interrupt service routine, NOT a thread. The */ #if (CPU_PROVIDES_ISR_IS_IN_PROGRESS == TRUE) -boolean _ISR_Is_in_progress( void ); +bool _ISR_Is_in_progress( void ); #else #define _ISR_Is_in_progress() \ (_ISR_Nest_level != 0) diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h index 2abe12cead..f1203bc8d5 100644 --- a/cpukit/score/include/rtems/score/object.h +++ b/cpukit/score/include/rtems/score/object.h @@ -50,7 +50,7 @@ typedef union { /** * Functions which compare names are prototyped like this. */ -typedef boolean (*Objects_Name_comparators)( +typedef bool (*Objects_Name_comparators)( void * /* name_1 */, void * /* name_2 */, uint16_t /* length */ @@ -334,7 +334,7 @@ typedef struct { /** This is the maximum number of objects in this class. */ Objects_Maximum maximum; /** This is the TRUE if unlimited objects in this class. */ - boolean auto_extend; + bool auto_extend; /** This is the number of objects in a block. */ uint32_t allocation_size; /** This is the size in bytes of each object instance. */ @@ -349,8 +349,8 @@ typedef struct { uint32_t *inactive_per_block; /** This is a table to the chain of inactive object memory blocks. */ void **object_blocks; - /** This is the TRUE if names are strings. */ - boolean is_string; + /** This is true if names are strings. */ + bool is_string; /** This is the maximum length of names. */ uint16_t name_length; /** This is this object class' method called when extracting a thread. */ @@ -498,11 +498,11 @@ void _Objects_Initialize_information ( uint32_t the_class, uint32_t maximum, uint16_t size, - boolean is_string, + bool is_string, uint32_t maximum_name_length #if defined(RTEMS_MULTIPROCESSING) , - boolean supports_global, + bool supports_global, Objects_Thread_queue_Extract_callout extract #endif ); @@ -859,7 +859,7 @@ char *_Objects_Get_name_as_string( * * @return If successful, TRUE is returned. Otherwise FALSE is returned. */ -boolean _Objects_Set_name( +bool _Objects_Set_name( Objects_Information *information, Objects_Control *the_object, const char *name diff --git a/cpukit/score/include/rtems/score/objectmp.h b/cpukit/score/include/rtems/score/objectmp.h index 6275304012..ec449ea0e6 100644 --- a/cpukit/score/include/rtems/score/objectmp.h +++ b/cpukit/score/include/rtems/score/objectmp.h @@ -100,11 +100,11 @@ void _Objects_MP_Open ( * @todo This method only works for object types with 4 byte object names. * It does not support variable length object names. */ -boolean _Objects_MP_Allocate_and_open ( +bool _Objects_MP_Allocate_and_open ( Objects_Information *information, uint32_t the_name, Objects_Id the_id, - boolean is_fatal_error + bool is_fatal_error ); /** @brief Objects MP Close diff --git a/cpukit/score/include/rtems/score/protectedheap.h b/cpukit/score/include/rtems/score/protectedheap.h index 8870262b33..78c2abc3d2 100644 --- a/cpukit/score/include/rtems/score/protectedheap.h +++ b/cpukit/score/include/rtems/score/protectedheap.h @@ -71,7 +71,7 @@ static inline uint32_t _Protected_heap_Initialize( * @param[in] size is the size in bytes of the memory area to add * @return a status indicating success or the reason for failure */ -boolean _Protected_heap_Extend( +bool _Protected_heap_Extend( Heap_Control *the_heap, void *starting_address, size_t size @@ -125,7 +125,7 @@ void *_Protected_heap_Allocate_aligned( * @return TRUE if successfully able to determine the size, FALSE otherwise * @return *size filled in with the size of the user area for this block */ -boolean _Protected_heap_Get_block_size( +bool _Protected_heap_Get_block_size( Heap_Control *the_heap, void *starting_address, size_t *size @@ -143,7 +143,7 @@ boolean _Protected_heap_Get_block_size( * @return TRUE if successfully able to resize the block. * FALSE if the block can't be resized in place. */ -boolean _Protected_heap_Resize_block( +bool _Protected_heap_Resize_block( Heap_Control *the_heap, void *starting_address, size_t size @@ -159,7 +159,7 @@ boolean _Protected_heap_Resize_block( * to free * @return TRUE if successfully freed, FALSE otherwise */ -boolean _Protected_heap_Free( +bool _Protected_heap_Free( Heap_Control *the_heap, void *start_address ); @@ -173,10 +173,10 @@ boolean _Protected_heap_Free( * @param[in] do_dump is set to TRUE if errors should be printed * @return TRUE if the test passed fine, FALSE otherwise. */ -boolean _Protected_heap_Walk( +bool _Protected_heap_Walk( Heap_Control *the_heap, int source, - boolean do_dump + bool do_dump ); /** diff --git a/cpukit/score/include/rtems/score/sysstate.h b/cpukit/score/include/rtems/score/sysstate.h index 31b1eab084..8d4a8e313e 100644 --- a/cpukit/score/include/rtems/score/sysstate.h +++ b/cpukit/score/include/rtems/score/sysstate.h @@ -69,7 +69,7 @@ typedef enum { * The following variable indicates whether or not this is * an multiprocessing system. */ -SCORE_EXTERN boolean _System_state_Is_multiprocessing; +SCORE_EXTERN bool _System_state_Is_multiprocessing; #endif /** diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index ee00424b07..fbfd971b23 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -191,7 +191,7 @@ typedef struct { /** This field indicates whether the thread was preemptible when * it started. */ - boolean is_preemptible; + bool is_preemptible; /** This field indicates the CPU budget algorith. */ Thread_CPU_budget_algorithms budget_algorithm; /** This field is the routine to invoke when the CPU allotment is @@ -203,7 +203,7 @@ typedef struct { /** This field is the initial priority. */ Priority_Control initial_priority; /** This field indicates whether the SuperCore allocated the stack. */ - boolean core_allocated_stack; + bool core_allocated_stack; /** This field is the stack information. */ Stack_Control Initial_stack; #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) @@ -351,13 +351,13 @@ struct Thread_Control_struct { /** This field is the number of nested suspend calls. */ uint32_t suspend_count; /** This field is true if the thread is offered globally */ - boolean is_global; + bool is_global; /** This field is is true if the post task context switch should be * executed for this thread at the next context switch. */ - boolean do_post_task_switch_extension; + bool do_post_task_switch_extension; /** This field is true if the thread is preemptible. */ - boolean is_preemptible; + bool is_preemptible; #if __RTEMS_ADA__ /** This field is the GNAT self context pointer. */ void *rtems_ada_self; @@ -570,14 +570,14 @@ void _Thread_Stack_Free( * @note If the stack is allocated from the workspace, then it is * guaranteed to be of at least minimum size. */ -boolean _Thread_Initialize( +bool _Thread_Initialize( Objects_Information *information, Thread_Control *the_thread, void *stack_area, size_t stack_size, - boolean is_fp, + bool is_fp, Priority_Control priority, - boolean is_preemptible, + bool is_preemptible, Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, @@ -589,7 +589,7 @@ boolean _Thread_Initialize( * and makes it ready to execute. After this routine executes, the * thread competes with all other threads for CPU time. */ -boolean _Thread_Start( +bool _Thread_Start( Thread_Control *the_thread, Thread_Start_types the_prototype, void *entry_point, @@ -604,7 +604,7 @@ boolean _Thread_Start( * * TODO: multiple task arg profiles */ -boolean _Thread_Restart( +bool _Thread_Restart( Thread_Control *the_thread, void *pointer_argument, Thread_Entry_numeric_type numeric_argument @@ -735,7 +735,7 @@ void _Thread_Delay_ended( void _Thread_Change_priority ( Thread_Control *the_thread, Priority_Control new_priority, - boolean prepend_it + bool prepend_it ); /** @@ -762,7 +762,7 @@ void _Thread_Suspend( */ void _Thread_Resume( Thread_Control *the_thread, - boolean force + bool force ); /** @@ -771,7 +771,7 @@ void _Thread_Resume( * is usually called after changing an execution mode such as preemptability * for a thread. */ -boolean _Thread_Evaluate_mode( void ); +bool _Thread_Evaluate_mode( void ); #if (CPU_PROVIDES_IDLE_THREAD_BODY == FALSE) /** diff --git a/cpukit/score/include/rtems/score/threadq.h b/cpukit/score/include/rtems/score/threadq.h index d3a7679d7e..3995107b76 100644 --- a/cpukit/score/include/rtems/score/threadq.h +++ b/cpukit/score/include/rtems/score/threadq.h @@ -124,7 +124,7 @@ void _Thread_queue_Extract( * and ensures that if there is a proxy for this task on * another node, it is also dealt with. */ -boolean _Thread_queue_Extract_with_proxy( +bool _Thread_queue_Extract_with_proxy( Thread_Control *the_thread ); @@ -192,7 +192,7 @@ Thread_blocking_operation_States _Thread_queue_Enqueue_priority ( void _Thread_queue_Extract_priority_helper( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread, - boolean requeuing + bool requeuing ); /** diff --git a/cpukit/score/include/rtems/score/timespec.h b/cpukit/score/include/rtems/score/timespec.h index 9a27f708bd..e7b17e871d 100644 --- a/cpukit/score/include/rtems/score/timespec.h +++ b/cpukit/score/include/rtems/score/timespec.h @@ -43,7 +43,7 @@ extern "C" { * @return This method returns true if @a time is valid and * false otherwise. */ -boolean _Timespec_Is_valid( +bool _Timespec_Is_valid( const struct timespec *time ); @@ -57,7 +57,7 @@ boolean _Timespec_Is_valid( * @return This method returns true if @a lhs is less than the @a rhs and * false otherwise. */ -boolean _Timespec_Less_than( +bool _Timespec_Less_than( const struct timespec *lhs, const struct timespec *rhs ); @@ -72,7 +72,7 @@ boolean _Timespec_Less_than( * @return This method returns true if @a lhs is greater than the @a rhs and * false otherwise. */ -boolean _Timespec_Greater_than( +bool _Timespec_Greater_than( const struct timespec *lhs, const struct timespec *rhs ); diff --git a/cpukit/score/include/rtems/score/tod.h b/cpukit/score/include/rtems/score/tod.h index b0ff31fa80..6038b686d5 100644 --- a/cpukit/score/include/rtems/score/tod.h +++ b/cpukit/score/include/rtems/score/tod.h @@ -129,7 +129,7 @@ extern "C" { * This is TRUE if the application has set the current * time of day, and FALSE otherwise. */ -SCORE_EXTERN boolean _TOD_Is_set; +SCORE_EXTERN bool _TOD_Is_set; /** @brief Current Time of Day (Timespec) * The following contains the current time of day. diff --git a/cpukit/score/include/rtems/score/userext.h b/cpukit/score/include/rtems/score/userext.h index b8bcc0c2ff..8fa1d30deb 100644 --- a/cpukit/score/include/rtems/score/userext.h +++ b/cpukit/score/include/rtems/score/userext.h @@ -56,7 +56,7 @@ typedef void User_extensions_routine; * This type defines the prototype of a thread creation extension handler. * The handler is passed the thread executing and the thread being created. */ -typedef boolean ( *User_extensions_thread_create_extension )( +typedef bool ( *User_extensions_thread_create_extension )( Thread_Control *, Thread_Control * ); @@ -130,7 +130,7 @@ typedef User_extensions_routine ( *User_extensions_thread_exitted_extension )( */ typedef User_extensions_routine ( *User_extensions_fatal_extension )( Internal_errors_Source /* the_source */, - boolean /* is_internal */, + bool /* is_internal */, uint32_t /* the_error */ ); @@ -253,7 +253,7 @@ void _User_extensions_Remove_set ( * @return This method returns TRUE if the user extension executed * successfully. */ -boolean _User_extensions_Thread_create ( +bool _User_extensions_Thread_create ( Thread_Control *the_thread ); @@ -337,7 +337,7 @@ void _User_extensions_Thread_exitted ( */ void _User_extensions_Fatal ( Internal_errors_Source the_source, - boolean is_internal, + bool is_internal, uint32_t the_error ); diff --git a/cpukit/score/include/rtems/score/wkspace.h b/cpukit/score/include/rtems/score/wkspace.h index b210000d41..b4047c56fa 100644 --- a/cpukit/score/include/rtems/score/wkspace.h +++ b/cpukit/score/include/rtems/score/wkspace.h @@ -80,7 +80,7 @@ void *_Workspace_Allocate( * @return TRUE if the free was successful. */ -boolean _Workspace_Free( +bool _Workspace_Free( void *block ); diff --git a/cpukit/score/inline/rtems/score/address.inl b/cpukit/score/inline/rtems/score/address.inl index f1a0dd6cc7..3394a52388 100644 --- a/cpukit/score/inline/rtems/score/address.inl +++ b/cpukit/score/inline/rtems/score/address.inl @@ -99,7 +99,7 @@ RTEMS_INLINE_ROUTINE uint32_t _Addresses_Subtract ( * @return This method returns TRUE if the address is aligned and * FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Addresses_Is_aligned ( +RTEMS_INLINE_ROUTINE bool _Addresses_Is_aligned ( void *address ) { @@ -125,7 +125,7 @@ RTEMS_INLINE_ROUTINE boolean _Addresses_Is_aligned ( * @return This method returns TRUE if the given @a address is within the * memory range specified and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Addresses_Is_in_range ( +RTEMS_INLINE_ROUTINE bool _Addresses_Is_in_range ( void *address, void *base, void *limit diff --git a/cpukit/score/inline/rtems/score/chain.inl b/cpukit/score/inline/rtems/score/chain.inl index 4ae8e8da4f..ca9b3d3c42 100644 --- a/cpukit/score/inline/rtems/score/chain.inl +++ b/cpukit/score/inline/rtems/score/chain.inl @@ -43,7 +43,7 @@ * @return This function returns TRUE if @a left and @a right are equal, * and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Chain_Are_nodes_equal( +RTEMS_INLINE_ROUTINE bool _Chain_Are_nodes_equal( const Chain_Node *left, const Chain_Node *right ) @@ -59,7 +59,7 @@ RTEMS_INLINE_ROUTINE boolean _Chain_Are_nodes_equal( * * @return This method returns TRUE if the_chain is NULL and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Chain_Is_null( +RTEMS_INLINE_ROUTINE bool _Chain_Is_null( const Chain_Control *the_chain ) { @@ -74,7 +74,7 @@ RTEMS_INLINE_ROUTINE boolean _Chain_Is_null( * * @return This method returns TRUE if the_node is NULL and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Chain_Is_null_node( +RTEMS_INLINE_ROUTINE bool _Chain_Is_null_node( const Chain_Node *the_node ) { @@ -121,7 +121,7 @@ RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail( * @return This function returns TRUE if there a no nodes on @a the_chain and * FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Chain_Is_empty( +RTEMS_INLINE_ROUTINE bool _Chain_Is_empty( Chain_Control *the_chain ) { @@ -139,7 +139,7 @@ RTEMS_INLINE_ROUTINE boolean _Chain_Is_empty( * @return This function returns TRUE if @a the_node is the first node on * a chain and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Chain_Is_first( +RTEMS_INLINE_ROUTINE bool _Chain_Is_first( const Chain_Node *the_node ) { @@ -156,7 +156,7 @@ RTEMS_INLINE_ROUTINE boolean _Chain_Is_first( * @return This function returns TRUE if @a the_node is the last node on * a chain and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Chain_Is_last( +RTEMS_INLINE_ROUTINE bool _Chain_Is_last( const Chain_Node *the_node ) { @@ -173,7 +173,7 @@ RTEMS_INLINE_ROUTINE boolean _Chain_Is_last( * @return This function returns TRUE if there is only one node on * @a the_chain and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Chain_Has_only_one_node( +RTEMS_INLINE_ROUTINE bool _Chain_Has_only_one_node( const Chain_Control *the_chain ) { @@ -191,7 +191,7 @@ RTEMS_INLINE_ROUTINE boolean _Chain_Has_only_one_node( * @return This function returns TRUE if @a the_node is the head of * @a the_chain and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Chain_Is_head( +RTEMS_INLINE_ROUTINE bool _Chain_Is_head( Chain_Control *the_chain, const Chain_Node *the_node ) @@ -207,7 +207,7 @@ RTEMS_INLINE_ROUTINE boolean _Chain_Is_head( * @param[in] the_chain is the chain to be operated upon. * @param[in] the_node is the node to check for being the Chain Tail. */ -RTEMS_INLINE_ROUTINE boolean _Chain_Is_tail( +RTEMS_INLINE_ROUTINE bool _Chain_Is_tail( Chain_Control *the_chain, const Chain_Node *the_node ) diff --git a/cpukit/score/inline/rtems/score/corebarrier.inl b/cpukit/score/inline/rtems/score/corebarrier.inl index db40ccc180..bec57d9387 100644 --- a/cpukit/score/inline/rtems/score/corebarrier.inl +++ b/cpukit/score/inline/rtems/score/corebarrier.inl @@ -38,7 +38,7 @@ * @param[in] the_attribute is the attribute set to test * @return TRUE if the priority attribute is enabled */ -RTEMS_INLINE_ROUTINE boolean _CORE_barrier_Is_automatic( +RTEMS_INLINE_ROUTINE bool _CORE_barrier_Is_automatic( CORE_barrier_Attributes *the_attribute ) { diff --git a/cpukit/score/inline/rtems/score/coremsg.inl b/cpukit/score/inline/rtems/score/coremsg.inl index 4387a27ad7..92d10ca6e2 100644 --- a/cpukit/score/inline/rtems/score/coremsg.inl +++ b/cpukit/score/inline/rtems/score/coremsg.inl @@ -40,7 +40,7 @@ RTEMS_INLINE_ROUTINE CORE_message_queue_Status _CORE_message_queue_Send( size_t size, Objects_Id id, CORE_message_queue_API_mp_support_callout api_message_queue_mp_support, - boolean wait, + bool wait, Watchdog_Interval timeout ) { @@ -70,7 +70,7 @@ RTEMS_INLINE_ROUTINE CORE_message_queue_Status _CORE_message_queue_Urgent( size_t size, Objects_Id id, CORE_message_queue_API_mp_support_callout api_message_queue_mp_support, - boolean wait, + bool wait, Watchdog_Interval timeout ) { @@ -150,7 +150,7 @@ RTEMS_INLINE_ROUTINE * enabled in the attribute_set and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _CORE_message_queue_Is_priority( +RTEMS_INLINE_ROUTINE bool _CORE_message_queue_Is_priority( CORE_message_queue_Attributes *the_attribute ) { @@ -193,7 +193,7 @@ RTEMS_INLINE_ROUTINE void _CORE_message_queue_Prepend_unprotected ( * This function returns TRUE if the_message_queue is TRUE and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _CORE_message_queue_Is_null ( +RTEMS_INLINE_ROUTINE bool _CORE_message_queue_Is_null ( CORE_message_queue_Control *the_message_queue ) { @@ -205,7 +205,7 @@ RTEMS_INLINE_ROUTINE boolean _CORE_message_queue_Is_null ( * queue and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _CORE_message_queue_Is_notify_enabled ( +RTEMS_INLINE_ROUTINE bool _CORE_message_queue_Is_notify_enabled ( CORE_message_queue_Control *the_message_queue ) { diff --git a/cpukit/score/inline/rtems/score/coremutex.inl b/cpukit/score/inline/rtems/score/coremutex.inl index 0e2db744f3..eed2393abe 100644 --- a/cpukit/score/inline/rtems/score/coremutex.inl +++ b/cpukit/score/inline/rtems/score/coremutex.inl @@ -38,7 +38,7 @@ * * @return This method returns TRUE if the mutex is locked. */ -RTEMS_INLINE_ROUTINE boolean _CORE_mutex_Is_locked( +RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_locked( CORE_mutex_Control *the_mutex ) { @@ -55,7 +55,7 @@ RTEMS_INLINE_ROUTINE boolean _CORE_mutex_Is_locked( * * @return This method returns TRUE if the mutex is using FIFO blocking order. */ -RTEMS_INLINE_ROUTINE boolean _CORE_mutex_Is_fifo( +RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_fifo( CORE_mutex_Attributes *the_attribute ) { @@ -73,7 +73,7 @@ RTEMS_INLINE_ROUTINE boolean _CORE_mutex_Is_fifo( * @return This method returns TRUE if the mutex is using * priority blocking order. */ -RTEMS_INLINE_ROUTINE boolean _CORE_mutex_Is_priority( +RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_priority( CORE_mutex_Attributes *the_attribute ) { @@ -91,7 +91,7 @@ RTEMS_INLINE_ROUTINE boolean _CORE_mutex_Is_priority( * @return This method returns TRUE if the mutex is using priority * inheritance. */ -RTEMS_INLINE_ROUTINE boolean _CORE_mutex_Is_inherit_priority( +RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_inherit_priority( CORE_mutex_Attributes *the_attribute ) { @@ -108,7 +108,7 @@ RTEMS_INLINE_ROUTINE boolean _CORE_mutex_Is_inherit_priority( * @return This method returns TRUE if the mutex is using priority * ceiling. */ -RTEMS_INLINE_ROUTINE boolean _CORE_mutex_Is_priority_ceiling( +RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_priority_ceiling( CORE_mutex_Attributes *the_attribute ) { diff --git a/cpukit/score/inline/rtems/score/coresem.inl b/cpukit/score/inline/rtems/score/coresem.inl index 4ea256777a..b44db663f9 100644 --- a/cpukit/score/inline/rtems/score/coresem.inl +++ b/cpukit/score/inline/rtems/score/coresem.inl @@ -38,7 +38,7 @@ * @param[in] the_attribute is the attribute set to test * @return TRUE if the priority attribute is enabled */ -RTEMS_INLINE_ROUTINE boolean _CORE_semaphore_Is_priority( +RTEMS_INLINE_ROUTINE bool _CORE_semaphore_Is_priority( CORE_semaphore_Attributes *the_attribute ) { @@ -76,7 +76,7 @@ RTEMS_INLINE_ROUTINE uint32_t _CORE_semaphore_Get_count( RTEMS_INLINE_ROUTINE void _CORE_semaphore_Seize_isr_disable( CORE_semaphore_Control *the_semaphore, Objects_Id id, - boolean wait, + bool wait, Watchdog_Interval timeout, ISR_Level *level_p ) diff --git a/cpukit/score/inline/rtems/score/corespinlock.inl b/cpukit/score/inline/rtems/score/corespinlock.inl index 2a86ecd484..e1c86ef5a7 100644 --- a/cpukit/score/inline/rtems/score/corespinlock.inl +++ b/cpukit/score/inline/rtems/score/corespinlock.inl @@ -37,7 +37,7 @@ * @return This method will return TRUE if the spinlock is busy * and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _CORE_spinlock_Is_busy( +RTEMS_INLINE_ROUTINE bool _CORE_spinlock_Is_busy( CORE_spinlock_Control *the_spinlock ) { diff --git a/cpukit/score/inline/rtems/score/heap.inl b/cpukit/score/inline/rtems/score/heap.inl index a32143a5cf..7b8701bdc8 100644 --- a/cpukit/score/inline/rtems/score/heap.inl +++ b/cpukit/score/inline/rtems/score/heap.inl @@ -163,7 +163,7 @@ RTEMS_INLINE_ROUTINE void _Heap_Block_insert_after ( * @return This method returns TRUE if the address is aligned and false * otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Heap_Is_aligned ( +RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned ( uint32_t value, uint32_t alignment ) @@ -217,7 +217,7 @@ RTEMS_INLINE_ROUTINE void _Heap_Align_down ( * @return This method returns TRUE if @a ptr is aligned at @a alignment * boundary, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Heap_Is_aligned_ptr ( +RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned_ptr ( void *ptr, uint32_t alignment ) @@ -329,7 +329,7 @@ RTEMS_INLINE_ROUTINE void _Heap_Start_of_block ( * @return This method returns TRUE if the previous block is used and FALSE * if the previous block is free. */ -RTEMS_INLINE_ROUTINE boolean _Heap_Is_prev_used ( +RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used ( Heap_Block *the_block ) { @@ -360,7 +360,7 @@ RTEMS_INLINE_ROUTINE uint32_t _Heap_Block_size ( * @return This method returns TRUE if @a the_block appears to have been * allocated from @a the_heap, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Heap_Is_block_in ( +RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in ( Heap_Control *the_heap, Heap_Block *the_block ) diff --git a/cpukit/score/inline/rtems/score/isr.inl b/cpukit/score/inline/rtems/score/isr.inl index 49fdea521a..c1641dd21f 100644 --- a/cpukit/score/inline/rtems/score/isr.inl +++ b/cpukit/score/inline/rtems/score/isr.inl @@ -33,7 +33,7 @@ * for this processor and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _ISR_Is_vector_number_valid ( +RTEMS_INLINE_ROUTINE bool _ISR_Is_vector_number_valid ( uint32_t vector ) { @@ -45,7 +45,7 @@ RTEMS_INLINE_ROUTINE boolean _ISR_Is_vector_number_valid ( * use interrupt service routine and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _ISR_Is_valid_user_handler ( +RTEMS_INLINE_ROUTINE bool _ISR_Is_valid_user_handler ( void *handler ) { diff --git a/cpukit/score/inline/rtems/score/mppkt.inl b/cpukit/score/inline/rtems/score/mppkt.inl index d1ab8c07e6..26fb98618f 100644 --- a/cpukit/score/inline/rtems/score/mppkt.inl +++ b/cpukit/score/inline/rtems/score/mppkt.inl @@ -36,7 +36,7 @@ * because this enum starts at lower bound of zero. */ -RTEMS_INLINE_ROUTINE boolean _Mp_packet_Is_valid_packet_class ( +RTEMS_INLINE_ROUTINE bool _Mp_packet_Is_valid_packet_class ( MP_packet_Classes the_packet_class ) { @@ -48,7 +48,7 @@ RTEMS_INLINE_ROUTINE boolean _Mp_packet_Is_valid_packet_class ( * and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Mp_packet_Is_null ( +RTEMS_INLINE_ROUTINE bool _Mp_packet_Is_null ( MP_packet_Prefix *the_packet ) { diff --git a/cpukit/score/inline/rtems/score/object.inl b/cpukit/score/inline/rtems/score/object.inl index 0e8feb02b2..f3b1730f18 100644 --- a/cpukit/score/inline/rtems/score/object.inl +++ b/cpukit/score/inline/rtems/score/object.inl @@ -112,7 +112,7 @@ RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_index( * @return This method returns TRUE if the specified api value is valid * and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Objects_Is_api_valid( +RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid( uint32_t the_api ) { @@ -131,7 +131,7 @@ RTEMS_INLINE_ROUTINE boolean _Objects_Is_api_valid( * @return This method returns TRUE if the specified node is the local node * and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Objects_Is_local_node( +RTEMS_INLINE_ROUTINE bool _Objects_Is_local_node( uint32_t node ) { @@ -149,7 +149,7 @@ RTEMS_INLINE_ROUTINE boolean _Objects_Is_local_node( * * @note On a single processor configuration, this always returns TRUE. */ -RTEMS_INLINE_ROUTINE boolean _Objects_Is_local_id( +RTEMS_INLINE_ROUTINE bool _Objects_Is_local_id( Objects_Id id ) { @@ -170,7 +170,7 @@ RTEMS_INLINE_ROUTINE boolean _Objects_Is_local_id( * @return This method returns TRUE if the specified object IDs are equal * and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Objects_Are_ids_equal( +RTEMS_INLINE_ROUTINE bool _Objects_Are_ids_equal( Objects_Id left, Objects_Id right ) diff --git a/cpukit/score/inline/rtems/score/objectmp.inl b/cpukit/score/inline/rtems/score/objectmp.inl index 7ea4efd77c..53db23621a 100644 --- a/cpukit/score/inline/rtems/score/objectmp.inl +++ b/cpukit/score/inline/rtems/score/objectmp.inl @@ -58,7 +58,7 @@ RTEMS_INLINE_ROUTINE void _Objects_MP_Free_global_object ( * This function returns whether the global object is NULL or not. */ -RTEMS_INLINE_ROUTINE boolean _Objects_MP_Is_null_global_object ( +RTEMS_INLINE_ROUTINE bool _Objects_MP_Is_null_global_object ( Objects_MP_Control *the_object ) { diff --git a/cpukit/score/inline/rtems/score/priority.inl b/cpukit/score/inline/rtems/score/priority.inl index 162d42d0e1..660c17a291 100644 --- a/cpukit/score/inline/rtems/score/priority.inl +++ b/cpukit/score/inline/rtems/score/priority.inl @@ -48,7 +48,7 @@ RTEMS_INLINE_ROUTINE void _Priority_Handler_initialization( void ) * user task, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Priority_Is_valid ( +RTEMS_INLINE_ROUTINE bool _Priority_Is_valid ( Priority_Control the_priority ) { @@ -192,7 +192,7 @@ RTEMS_INLINE_ROUTINE void _Priority_Initialize_information( * FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Priority_Is_group_empty ( +RTEMS_INLINE_ROUTINE bool _Priority_Is_group_empty ( Priority_Control the_priority ) { diff --git a/cpukit/score/inline/rtems/score/stack.inl b/cpukit/score/inline/rtems/score/stack.inl index 8f0fc87147..0c16b8d98b 100644 --- a/cpukit/score/inline/rtems/score/stack.inl +++ b/cpukit/score/inline/rtems/score/stack.inl @@ -62,7 +62,7 @@ RTEMS_INLINE_ROUTINE uint32_t _Stack_Minimum (void) * * @return This method returns TRUE if the stack is large enough. */ -RTEMS_INLINE_ROUTINE boolean _Stack_Is_enough ( +RTEMS_INLINE_ROUTINE bool _Stack_Is_enough ( size_t size ) { diff --git a/cpukit/score/inline/rtems/score/states.inl b/cpukit/score/inline/rtems/score/states.inl index 212f2eaf48..1d358ded2d 100644 --- a/cpukit/score/inline/rtems/score/states.inl +++ b/cpukit/score/inline/rtems/score/states.inl @@ -59,7 +59,7 @@ RTEMS_INLINE_ROUTINE States_Control _States_Clear ( * state is READY, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_ready ( +RTEMS_INLINE_ROUTINE bool _States_Is_ready ( States_Control the_states ) { @@ -71,7 +71,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_ready ( * set in the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_only_dormant ( +RTEMS_INLINE_ROUTINE bool _States_Is_only_dormant ( States_Control the_states ) { @@ -83,7 +83,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_only_dormant ( * the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_dormant ( +RTEMS_INLINE_ROUTINE bool _States_Is_dormant ( States_Control the_states ) { @@ -95,7 +95,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_dormant ( * the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_suspended ( +RTEMS_INLINE_ROUTINE bool _States_Is_suspended ( States_Control the_states ) { @@ -107,7 +107,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_suspended ( * the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_transient ( +RTEMS_INLINE_ROUTINE bool _States_Is_transient ( States_Control the_states ) { @@ -119,7 +119,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_transient ( * the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_delaying ( +RTEMS_INLINE_ROUTINE bool _States_Is_delaying ( States_Control the_states ) { @@ -131,7 +131,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_delaying ( * the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_buffer ( +RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_buffer ( States_Control the_states ) { @@ -143,7 +143,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_buffer ( * the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_segment ( +RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_segment ( States_Control the_states ) { @@ -155,7 +155,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_segment ( * the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_message ( +RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_message ( States_Control the_states ) { @@ -167,7 +167,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_message ( * the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_event ( +RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_event ( States_Control the_states ) { @@ -179,7 +179,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_event ( * is set in the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_mutex ( +RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_mutex ( States_Control the_states ) { @@ -191,7 +191,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_mutex ( * is set in the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_semaphore ( +RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_semaphore ( States_Control the_states ) { @@ -203,7 +203,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_semaphore ( * the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_time ( +RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_time ( States_Control the_states ) { @@ -215,7 +215,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_time ( * the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_rpc_reply ( +RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_rpc_reply ( States_Control the_states ) { @@ -227,7 +227,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_rpc_reply ( * the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_period ( +RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_period ( States_Control the_states ) { @@ -240,7 +240,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_for_period ( * the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_locally_blocked ( +RTEMS_INLINE_ROUTINE bool _States_Is_locally_blocked ( States_Control the_states ) { @@ -253,7 +253,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_locally_blocked ( * the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_on_thread_queue ( +RTEMS_INLINE_ROUTINE bool _States_Is_waiting_on_thread_queue ( States_Control the_states ) { @@ -265,7 +265,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_waiting_on_thread_queue ( * that a task is blocked is set in the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Is_blocked ( +RTEMS_INLINE_ROUTINE bool _States_Is_blocked ( States_Control the_states ) { @@ -277,7 +277,7 @@ RTEMS_INLINE_ROUTINE boolean _States_Is_blocked ( * are set in the_states, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _States_Are_set ( +RTEMS_INLINE_ROUTINE bool _States_Are_set ( States_Control the_states, States_Control mask ) diff --git a/cpukit/score/inline/rtems/score/sysstate.inl b/cpukit/score/inline/rtems/score/sysstate.inl index 072244f05a..0f60a31f57 100644 --- a/cpukit/score/inline/rtems/score/sysstate.inl +++ b/cpukit/score/inline/rtems/score/sysstate.inl @@ -33,7 +33,7 @@ */ RTEMS_INLINE_ROUTINE void _System_state_Handler_initialization ( - boolean is_multiprocessing + bool is_multiprocessing ) { _System_state_Current = SYSTEM_STATE_BEFORE_INITIALIZATION; @@ -68,7 +68,7 @@ RTEMS_INLINE_ROUTINE System_state_Codes _System_state_Get ( void ) * "before initialization" state, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _System_state_Is_before_initialization ( +RTEMS_INLINE_ROUTINE bool _System_state_Is_before_initialization ( System_state_Codes state ) { @@ -80,7 +80,7 @@ RTEMS_INLINE_ROUTINE boolean _System_state_Is_before_initialization ( * "before multitasking" state, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _System_state_Is_before_multitasking ( +RTEMS_INLINE_ROUTINE bool _System_state_Is_before_multitasking ( System_state_Codes state ) { @@ -92,7 +92,7 @@ RTEMS_INLINE_ROUTINE boolean _System_state_Is_before_multitasking ( * "begin multitasking" state, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _System_state_Is_begin_multitasking ( +RTEMS_INLINE_ROUTINE bool _System_state_Is_begin_multitasking ( System_state_Codes state ) { @@ -104,7 +104,7 @@ RTEMS_INLINE_ROUTINE boolean _System_state_Is_begin_multitasking ( * "up" state, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _System_state_Is_up ( +RTEMS_INLINE_ROUTINE bool _System_state_Is_up ( System_state_Codes state ) { @@ -116,7 +116,7 @@ RTEMS_INLINE_ROUTINE boolean _System_state_Is_up ( * "failed" state, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _System_state_Is_failed ( +RTEMS_INLINE_ROUTINE bool _System_state_Is_failed ( System_state_Codes state ) { diff --git a/cpukit/score/inline/rtems/score/thread.inl b/cpukit/score/inline/rtems/score/thread.inl index e6d4b4800e..d70d5330b3 100644 --- a/cpukit/score/inline/rtems/score/thread.inl +++ b/cpukit/score/inline/rtems/score/thread.inl @@ -52,7 +52,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Stop_multitasking( void ) * thread, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Thread_Is_executing ( +RTEMS_INLINE_ROUTINE bool _Thread_Is_executing ( const Thread_Control *the_thread ) { @@ -64,7 +64,7 @@ RTEMS_INLINE_ROUTINE boolean _Thread_Is_executing ( * thread, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Thread_Is_heir ( +RTEMS_INLINE_ROUTINE bool _Thread_Is_heir ( const Thread_Control *the_thread ) { @@ -76,7 +76,7 @@ RTEMS_INLINE_ROUTINE boolean _Thread_Is_heir ( * is also the heir thread, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Thread_Is_executing_also_the_heir( void ) +RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void ) { return ( _Thread_Executing == _Thread_Heir ); } @@ -127,7 +127,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void ) */ #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) -RTEMS_INLINE_ROUTINE boolean _Thread_Is_allocated_fp ( +RTEMS_INLINE_ROUTINE bool _Thread_Is_allocated_fp ( const Thread_Control *the_thread ) { @@ -235,7 +235,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void ) * otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Thread_Is_dispatching_enabled( void ) +RTEMS_INLINE_ROUTINE bool _Thread_Is_dispatching_enabled( void ) { return ( _Thread_Dispatch_disable_level == 0 ); } @@ -245,7 +245,7 @@ RTEMS_INLINE_ROUTINE boolean _Thread_Is_dispatching_enabled( void ) * otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Thread_Is_context_switch_necessary( void ) +RTEMS_INLINE_ROUTINE bool _Thread_Is_context_switch_necessary( void ) { return ( _Context_Switch_necessary ); } @@ -263,7 +263,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Dispatch_initialization( void ) * This function returns TRUE if the_thread is NULL and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Thread_Is_null ( +RTEMS_INLINE_ROUTINE bool _Thread_Is_null ( const Thread_Control *the_thread ) { @@ -274,7 +274,7 @@ RTEMS_INLINE_ROUTINE boolean _Thread_Is_null ( * * status which indicates that a proxy is blocking, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Thread_Is_proxy_blocking ( +RTEMS_INLINE_ROUTINE bool _Thread_Is_proxy_blocking ( uint32_t code ) { diff --git a/cpukit/score/inline/rtems/score/threadmp.inl b/cpukit/score/inline/rtems/score/threadmp.inl index c9cdb97c3f..c54a22ba3b 100644 --- a/cpukit/score/inline/rtems/score/threadmp.inl +++ b/cpukit/score/inline/rtems/score/threadmp.inl @@ -35,7 +35,7 @@ * multiprocessing receive thread. */ -RTEMS_INLINE_ROUTINE boolean _Thread_MP_Is_receive ( +RTEMS_INLINE_ROUTINE bool _Thread_MP_Is_receive ( Thread_Control *the_thread ) { diff --git a/cpukit/score/inline/rtems/score/tqdata.inl b/cpukit/score/inline/rtems/score/tqdata.inl index 617eb69375..ed4c950868 100644 --- a/cpukit/score/inline/rtems/score/tqdata.inl +++ b/cpukit/score/inline/rtems/score/tqdata.inl @@ -46,7 +46,7 @@ RTEMS_INLINE_ROUTINE uint32_t _Thread_queue_Header_number ( * group chain, and FALSE if the search should start at the rear. */ -RTEMS_INLINE_ROUTINE boolean _Thread_queue_Is_reverse_search ( +RTEMS_INLINE_ROUTINE bool _Thread_queue_Is_reverse_search ( Priority_Control the_priority ) { diff --git a/cpukit/score/inline/rtems/score/watchdog.inl b/cpukit/score/inline/rtems/score/watchdog.inl index 966bf7338c..c97a5359ac 100644 --- a/cpukit/score/inline/rtems/score/watchdog.inl +++ b/cpukit/score/inline/rtems/score/watchdog.inl @@ -52,7 +52,7 @@ RTEMS_INLINE_ROUTINE void _Watchdog_Initialize( * state, and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _Watchdog_Is_active( +RTEMS_INLINE_ROUTINE bool _Watchdog_Is_active( Watchdog_Control *the_watchdog ) { diff --git a/cpukit/score/src/corebarrierwait.c b/cpukit/score/src/corebarrierwait.c index f00b3d73d5..4112d9b44d 100644 --- a/cpukit/score/src/corebarrierwait.c +++ b/cpukit/score/src/corebarrierwait.c @@ -50,7 +50,7 @@ void _CORE_barrier_Wait( CORE_barrier_Control *the_barrier, Objects_Id id, - boolean wait, + bool wait, Watchdog_Interval timeout, CORE_barrier_API_mp_support_callout api_barrier_mp_support ) diff --git a/cpukit/score/src/coremsg.c b/cpukit/score/src/coremsg.c index 8163df96e5..e7e722ac0c 100644 --- a/cpukit/score/src/coremsg.c +++ b/cpukit/score/src/coremsg.c @@ -52,7 +52,7 @@ * FALSE - if the message queue is NOT initialized */ -boolean _CORE_message_queue_Initialize( +bool _CORE_message_queue_Initialize( CORE_message_queue_Control *the_message_queue, CORE_message_queue_Attributes *the_message_queue_attributes, uint32_t maximum_pending_messages, @@ -79,7 +79,7 @@ boolean _CORE_message_queue_Initialize( } if (allocated_message_size < maximum_message_size) - return FALSE; + return false; /* * Calculate how much total memory is required for message buffering and @@ -89,7 +89,7 @@ boolean _CORE_message_queue_Initialize( (allocated_message_size + sizeof(CORE_message_queue_Buffer_control)); if (message_buffering_required < allocated_message_size) - return FALSE; + return false; /* * Attempt to allocate the message memory @@ -98,7 +98,7 @@ boolean _CORE_message_queue_Initialize( _Workspace_Allocate( message_buffering_required ); if (the_message_queue->message_buffers == 0) - return FALSE; + return false; /* * Initialize the pool of inactive messages, pending messages, @@ -121,5 +121,5 @@ boolean _CORE_message_queue_Initialize( CORE_MESSAGE_QUEUE_STATUS_TIMEOUT ); - return TRUE; + return true; } diff --git a/cpukit/score/src/coremsginsert.c b/cpukit/score/src/coremsginsert.c index 2402755447..5c30fd7ee8 100644 --- a/cpukit/score/src/coremsginsert.c +++ b/cpukit/score/src/coremsginsert.c @@ -59,7 +59,7 @@ void _CORE_message_queue_Insert_message( ) { ISR_Level level; - boolean notify = FALSE; + bool notify = false; the_message->priority = submit_type; @@ -67,14 +67,14 @@ void _CORE_message_queue_Insert_message( case CORE_MESSAGE_QUEUE_SEND_REQUEST: _ISR_Disable( level ); if ( the_message_queue->number_of_pending_messages++ == 0 ) - notify = TRUE; + notify = true; _CORE_message_queue_Append_unprotected(the_message_queue, the_message); _ISR_Enable( level ); break; case CORE_MESSAGE_QUEUE_URGENT_REQUEST: _ISR_Disable( level ); if ( the_message_queue->number_of_pending_messages++ == 0 ) - notify = TRUE; + notify = true; _CORE_message_queue_Prepend_unprotected(the_message_queue, the_message); _ISR_Enable( level ); break; @@ -99,7 +99,7 @@ void _CORE_message_queue_Insert_message( } _ISR_Disable( level ); if ( the_message_queue->number_of_pending_messages++ == 0 ) - notify = TRUE; + notify = true; _Chain_Insert_unprotected( the_node->previous, &the_message->Node ); _ISR_Enable( level ); } diff --git a/cpukit/score/src/coremsgseize.c b/cpukit/score/src/coremsgseize.c index 48c4d7ecb4..70ea8dd4a7 100644 --- a/cpukit/score/src/coremsgseize.c +++ b/cpukit/score/src/coremsgseize.c @@ -64,7 +64,7 @@ void _CORE_message_queue_Seize( Objects_Id id, void *buffer, size_t *size_p, - boolean wait, + bool wait, Watchdog_Interval timeout ) { diff --git a/cpukit/score/src/coremsgsubmit.c b/cpukit/score/src/coremsgsubmit.c index 9882d1c811..9c00c15816 100644 --- a/cpukit/score/src/coremsgsubmit.c +++ b/cpukit/score/src/coremsgsubmit.c @@ -64,7 +64,7 @@ CORE_message_queue_Status _CORE_message_queue_Submit( Objects_Id id, CORE_message_queue_API_mp_support_callout api_message_queue_mp_support, CORE_message_queue_Submit_types submit_type, - boolean wait, + bool wait, Watchdog_Interval timeout ) { diff --git a/cpukit/score/src/coremutexseize.c b/cpukit/score/src/coremutexseize.c index 3dc3a70c5b..b8f6c3831e 100644 --- a/cpukit/score/src/coremutexseize.c +++ b/cpukit/score/src/coremutexseize.c @@ -31,7 +31,7 @@ void _CORE_mutex_Seize( CORE_mutex_Control *_the_mutex, Objects_Id _id, - boolean _wait, + bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) diff --git a/cpukit/score/src/corerwlockobtainread.c b/cpukit/score/src/corerwlockobtainread.c index 21429a5658..59d984907c 100644 --- a/cpukit/score/src/corerwlockobtainread.c +++ b/cpukit/score/src/corerwlockobtainread.c @@ -39,7 +39,7 @@ void _CORE_RWLock_Obtain_for_reading( CORE_RWLock_Control *the_rwlock, Objects_Id id, - boolean wait, + bool wait, Watchdog_Interval timeout, CORE_RWLock_API_mp_support_callout api_rwlock_mp_support ) diff --git a/cpukit/score/src/corerwlockobtainwrite.c b/cpukit/score/src/corerwlockobtainwrite.c index 2d1ff2aa3a..339f257397 100644 --- a/cpukit/score/src/corerwlockobtainwrite.c +++ b/cpukit/score/src/corerwlockobtainwrite.c @@ -39,7 +39,7 @@ void _CORE_RWLock_Obtain_for_writing( CORE_RWLock_Control *the_rwlock, Objects_Id id, - boolean wait, + bool wait, Watchdog_Interval timeout, CORE_RWLock_API_mp_support_callout api_rwlock_mp_support ) diff --git a/cpukit/score/src/coresemseize.c b/cpukit/score/src/coresemseize.c index 1db77199ba..9d69ec4bd5 100644 --- a/cpukit/score/src/coresemseize.c +++ b/cpukit/score/src/coresemseize.c @@ -53,7 +53,7 @@ void _CORE_semaphore_Seize( CORE_semaphore_Control *the_semaphore, Objects_Id id, - boolean wait, + bool wait, Watchdog_Interval timeout ) { diff --git a/cpukit/score/src/corespinlockwait.c b/cpukit/score/src/corespinlockwait.c index bdb2d408de..ef3bb43fb8 100644 --- a/cpukit/score/src/corespinlockwait.c +++ b/cpukit/score/src/corespinlockwait.c @@ -38,7 +38,7 @@ CORE_spinlock_Status _CORE_spinlock_Wait( CORE_spinlock_Control *the_spinlock, - boolean wait, + bool wait, Watchdog_Interval timeout ) { diff --git a/cpukit/score/src/heapfree.c b/cpukit/score/src/heapfree.c index 30667036d6..db66023bc1 100644 --- a/cpukit/score/src/heapfree.c +++ b/cpukit/score/src/heapfree.c @@ -35,7 +35,7 @@ * FALSE - if starting_address is invalid heap address */ -boolean _Heap_Free( +bool _Heap_Free( Heap_Control *the_heap, void *starting_address ) @@ -45,7 +45,7 @@ boolean _Heap_Free( uint32_t the_size; uint32_t next_size; Heap_Statistics *const stats = &the_heap->stats; - boolean next_is_free; + bool next_is_free; if ( !_Addresses_Is_in_range( starting_address, (void *)the_heap->start, (void *)the_heap->final ) ) { diff --git a/cpukit/score/src/heapresizeblock.c b/cpukit/score/src/heapresizeblock.c index 5598954a2d..49460f9767 100644 --- a/cpukit/score/src/heapresizeblock.c +++ b/cpukit/score/src/heapresizeblock.c @@ -55,7 +55,7 @@ Heap_Resize_status _Heap_Resize_block( Heap_Block *the_block; Heap_Block *next_block; uint32_t next_block_size; - boolean next_is_used; + bool next_is_used; Heap_Block *next_next_block; uint32_t old_block_size; uint32_t old_user_size; diff --git a/cpukit/score/src/heapsizeofuserarea.c b/cpukit/score/src/heapsizeofuserarea.c index 9b075e5433..c1555d2ccc 100644 --- a/cpukit/score/src/heapsizeofuserarea.c +++ b/cpukit/score/src/heapsizeofuserarea.c @@ -39,7 +39,7 @@ * FALSE - if starting_address is invalid heap address */ -boolean _Heap_Size_of_user_area( +bool _Heap_Size_of_user_area( Heap_Control *the_heap, void *starting_address, size_t *size diff --git a/cpukit/score/src/heapwalk.c b/cpukit/score/src/heapwalk.c index 44e06f0f48..2aaff7698d 100644 --- a/cpukit/score/src/heapwalk.c +++ b/cpukit/score/src/heapwalk.c @@ -39,10 +39,10 @@ #include <stdio.h> -boolean _Heap_Walk( +bool _Heap_Walk( Heap_Control *the_heap, int source, - boolean do_dump + bool do_dump ) { Heap_Block *the_block = the_heap->start; @@ -89,7 +89,7 @@ boolean _Heap_Walk( while ( the_block != end ) { uint32_t const the_size = _Heap_Block_size(the_block); Heap_Block *const next_block = _Heap_Block_at(the_block, the_size); - boolean prev_used = _Heap_Is_prev_used(the_block); + bool prev_used = _Heap_Is_prev_used(the_block); if (do_dump) { printk("PASS: %d block %p size %d(%c)", diff --git a/cpukit/score/src/interr.c b/cpukit/score/src/interr.c index 4431c7b313..308636f72f 100644 --- a/cpukit/score/src/interr.c +++ b/cpukit/score/src/interr.c @@ -45,7 +45,7 @@ void _Internal_error_Occurred( Internal_errors_Source the_source, - boolean is_internal, + bool is_internal, uint32_t the_error ) { diff --git a/cpukit/score/src/objectinitializeinformation.c b/cpukit/score/src/objectinitializeinformation.c index c7f54ccecd..32def850f0 100644 --- a/cpukit/score/src/objectinitializeinformation.c +++ b/cpukit/score/src/objectinitializeinformation.c @@ -53,11 +53,11 @@ void _Objects_Initialize_information( uint32_t the_class, uint32_t maximum, uint16_t size, - boolean is_string, + bool is_string, uint32_t maximum_name_length #if defined(RTEMS_MULTIPROCESSING) , - boolean supports_global, + bool supports_global, Objects_Thread_queue_Extract_callout extract #endif ) @@ -165,7 +165,7 @@ void _Objects_Initialize_information( #if defined(RTEMS_MULTIPROCESSING) information->extract = extract; - if ( supports_global == TRUE && _System_state_Is_multiprocessing ) { + if ( (supports_global == true) && _System_state_Is_multiprocessing ) { information->global_table = (Chain_Control *) _Workspace_Allocate_or_fatal_error( diff --git a/cpukit/score/src/objectmp.c b/cpukit/score/src/objectmp.c index b9c05ee681..3447069760 100644 --- a/cpukit/score/src/objectmp.c +++ b/cpukit/score/src/objectmp.c @@ -81,11 +81,11 @@ void _Objects_MP_Open ( * */ -boolean _Objects_MP_Allocate_and_open ( +bool _Objects_MP_Allocate_and_open ( Objects_Information *information, uint32_t the_name, /* XXX -- wrong for variable */ Objects_Id the_id, - boolean is_fatal_error + bool is_fatal_error ) { Objects_MP_Control *the_global_object; diff --git a/cpukit/score/src/objectnametoid.c b/cpukit/score/src/objectnametoid.c index 021e361cf7..29d6e18178 100644 --- a/cpukit/score/src/objectnametoid.c +++ b/cpukit/score/src/objectnametoid.c @@ -54,7 +54,7 @@ Objects_Name_or_id_lookup_errors _Objects_Name_to_id_u32( Objects_Id *id ) { - boolean search_local_node; + bool search_local_node; Objects_Control *the_object; uint32_t index; uint32_t name_length; diff --git a/cpukit/score/src/objectsetname.c b/cpukit/score/src/objectsetname.c index 727b9836eb..3dcfae7706 100644 --- a/cpukit/score/src/objectsetname.c +++ b/cpukit/score/src/objectsetname.c @@ -28,7 +28,7 @@ * This method sets the name of an object based upon a C string. */ -boolean _Objects_Set_name( +bool _Objects_Set_name( Objects_Information *information, Objects_Control *the_object, const char *name diff --git a/cpukit/score/src/pheapextend.c b/cpukit/score/src/pheapextend.c index 1d1943747f..2d8d4ac3a3 100644 --- a/cpukit/score/src/pheapextend.c +++ b/cpukit/score/src/pheapextend.c @@ -16,7 +16,7 @@ #include <rtems/system.h> #include <rtems/score/protectedheap.h> -boolean _Protected_heap_Extend( +bool _Protected_heap_Extend( Heap_Control *the_heap, void *starting_address, size_t size diff --git a/cpukit/score/src/pheapfree.c b/cpukit/score/src/pheapfree.c index 0d5737aac6..1548547855 100644 --- a/cpukit/score/src/pheapfree.c +++ b/cpukit/score/src/pheapfree.c @@ -16,12 +16,12 @@ #include <rtems/system.h> #include <rtems/score/protectedheap.h> -boolean _Protected_heap_Free( +bool _Protected_heap_Free( Heap_Control *the_heap, void *start_address ) { - boolean status; + bool status; _RTEMS_Lock_allocator(); status = _Heap_Free( the_heap, start_address ); diff --git a/cpukit/score/src/pheapgetblocksize.c b/cpukit/score/src/pheapgetblocksize.c index 897236f370..029ef7b2c7 100644 --- a/cpukit/score/src/pheapgetblocksize.c +++ b/cpukit/score/src/pheapgetblocksize.c @@ -16,13 +16,13 @@ #include <rtems/system.h> #include <rtems/score/protectedheap.h> -boolean _Protected_heap_Get_block_size( +bool _Protected_heap_Get_block_size( Heap_Control *the_heap, void *starting_address, size_t *size ) { - boolean status; + bool status; _RTEMS_Lock_allocator(); status = _Heap_Size_of_user_area( the_heap, starting_address, size ); diff --git a/cpukit/score/src/pheapresizeblock.c b/cpukit/score/src/pheapresizeblock.c index 5f9946cb0f..589a520e0d 100644 --- a/cpukit/score/src/pheapresizeblock.c +++ b/cpukit/score/src/pheapresizeblock.c @@ -16,7 +16,7 @@ #include <rtems/system.h> #include <rtems/score/protectedheap.h> -boolean _Protected_heap_Resize_block( +bool _Protected_heap_Resize_block( Heap_Control *the_heap, void *starting_address, size_t size diff --git a/cpukit/score/src/pheapwalk.c b/cpukit/score/src/pheapwalk.c index e20cf124d7..4ddd5d9f90 100644 --- a/cpukit/score/src/pheapwalk.c +++ b/cpukit/score/src/pheapwalk.c @@ -16,13 +16,13 @@ #include <rtems/system.h> #include <rtems/score/protectedheap.h> -boolean _Protected_heap_Walk( +bool _Protected_heap_Walk( Heap_Control *the_heap, int source, - boolean do_dump + bool do_dump ) { - boolean status; + bool status; /* * If we are called from within a dispatching critical section, diff --git a/cpukit/score/src/threadchangepriority.c b/cpukit/score/src/threadchangepriority.c index df3ad0983f..ec9099e118 100644 --- a/cpukit/score/src/threadchangepriority.c +++ b/cpukit/score/src/threadchangepriority.c @@ -52,7 +52,7 @@ void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, - boolean prepend_it + bool prepend_it ) { ISR_Level level; diff --git a/cpukit/score/src/threaddispatch.c b/cpukit/score/src/threaddispatch.c index b98ae2a6bc..4911ab5342 100644 --- a/cpukit/score/src/threaddispatch.c +++ b/cpukit/score/src/threaddispatch.c @@ -171,7 +171,7 @@ void _Thread_Dispatch( void ) if ( _Thread_Do_post_task_switch_extension || executing->do_post_task_switch_extension ) { - executing->do_post_task_switch_extension = FALSE; + executing->do_post_task_switch_extension = false; _API_extensions_Run_postswitch(); } diff --git a/cpukit/score/src/threadevaluatemode.c b/cpukit/score/src/threadevaluatemode.c index f4d99b12cc..81322ef466 100644 --- a/cpukit/score/src/threadevaluatemode.c +++ b/cpukit/score/src/threadevaluatemode.c @@ -37,7 +37,7 @@ * XXX */ -boolean _Thread_Evaluate_mode( void ) +bool _Thread_Evaluate_mode( void ) { Thread_Control *executing; diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c index 51bbdc4162..b86a2f9006 100644 --- a/cpukit/score/src/threadinitialize.c +++ b/cpukit/score/src/threadinitialize.c @@ -41,14 +41,14 @@ * thread id are allowed. */ -boolean _Thread_Initialize( +bool _Thread_Initialize( Objects_Information *information, Thread_Control *the_thread, void *stack_area, size_t stack_size, - boolean is_fp, + bool is_fp, Priority_Control priority, - boolean is_preemptible, + bool is_preemptible, Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, @@ -61,7 +61,7 @@ boolean _Thread_Initialize( void *fp_area; #endif void *extensions_area; - boolean extension_status; + bool extension_status; #if __RTEMS_ADA__ /* diff --git a/cpukit/score/src/threadloadenv.c b/cpukit/score/src/threadloadenv.c index b586a20621..6a30adbdde 100644 --- a/cpukit/score/src/threadloadenv.c +++ b/cpukit/score/src/threadloadenv.c @@ -47,19 +47,19 @@ void _Thread_Load_environment( Thread_Control *the_thread ) { - boolean is_fp; + bool is_fp; #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) if ( the_thread->Start.fp_context ) { the_thread->fp_context = the_thread->Start.fp_context; _Context_Initialize_fp( &the_thread->fp_context ); - is_fp = TRUE; + is_fp = true; } else #endif - is_fp = FALSE; + is_fp = false; - the_thread->do_post_task_switch_extension = FALSE; + the_thread->do_post_task_switch_extension = false; the_thread->is_preemptible = the_thread->Start.is_preemptible; the_thread->budget_algorithm = the_thread->Start.budget_algorithm; the_thread->budget_callout = the_thread->Start.budget_callout; diff --git a/cpukit/score/src/threadqextractpriority.c b/cpukit/score/src/threadqextractpriority.c index 739e6985c4..6da75691c6 100644 --- a/cpukit/score/src/threadqextractpriority.c +++ b/cpukit/score/src/threadqextractpriority.c @@ -46,7 +46,7 @@ void _Thread_queue_Extract_priority_helper( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread, - boolean requeuing + bool requeuing ) { ISR_Level level; diff --git a/cpukit/score/src/threadqextractwithproxy.c b/cpukit/score/src/threadqextractwithproxy.c index 16461a2dec..796d5d435a 100644 --- a/cpukit/score/src/threadqextractwithproxy.c +++ b/cpukit/score/src/threadqextractwithproxy.c @@ -36,7 +36,7 @@ * XXX */ -boolean _Thread_queue_Extract_with_proxy( +bool _Thread_queue_Extract_with_proxy( Thread_Control *the_thread ) { diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c index ea479c3194..ab24497d08 100644 --- a/cpukit/score/src/threadrestart.c +++ b/cpukit/score/src/threadrestart.c @@ -40,7 +40,7 @@ * original starting point. */ -boolean _Thread_Restart( +bool _Thread_Restart( Thread_Control *the_thread, void *pointer_argument, Thread_Entry_numeric_type numeric_argument diff --git a/cpukit/score/src/threadresume.c b/cpukit/score/src/threadresume.c index 7f3555fe04..5081d5346e 100644 --- a/cpukit/score/src/threadresume.c +++ b/cpukit/score/src/threadresume.c @@ -53,7 +53,7 @@ void _Thread_Resume( Thread_Control *the_thread, - boolean force + bool force ) { diff --git a/cpukit/score/src/threadstart.c b/cpukit/score/src/threadstart.c index 15701b82c0..07fcd217c5 100644 --- a/cpukit/score/src/threadstart.c +++ b/cpukit/score/src/threadstart.c @@ -40,7 +40,7 @@ * thread competes with all other threads for CPU time. */ -boolean _Thread_Start( +bool _Thread_Start( Thread_Control *the_thread, Thread_Start_types the_prototype, void *entry_point, @@ -62,9 +62,8 @@ boolean _Thread_Start( _User_extensions_Thread_start( the_thread ); - return TRUE; + return true; } - return FALSE; - + return false; } diff --git a/cpukit/score/src/timespecgreaterthan.c b/cpukit/score/src/timespecgreaterthan.c index 5541760212..5d8fe77b5d 100644 --- a/cpukit/score/src/timespecgreaterthan.c +++ b/cpukit/score/src/timespecgreaterthan.c @@ -23,7 +23,7 @@ #include <rtems/score/timespec.h> #include <rtems/score/tod.h> -boolean _Timespec_Greater_than( +bool _Timespec_Greater_than( const struct timespec *lhs, const struct timespec *rhs ) diff --git a/cpukit/score/src/timespecisvalid.c b/cpukit/score/src/timespecisvalid.c index 5ae50f3c4c..5212036f1f 100644 --- a/cpukit/score/src/timespecisvalid.c +++ b/cpukit/score/src/timespecisvalid.c @@ -23,7 +23,7 @@ #include <rtems/score/timespec.h> #include <rtems/score/tod.h> -boolean _Timespec_Is_valid( +bool _Timespec_Is_valid( const struct timespec *time ) { diff --git a/cpukit/score/src/timespeclessthan.c b/cpukit/score/src/timespeclessthan.c index df824b2d27..b72a15db49 100644 --- a/cpukit/score/src/timespeclessthan.c +++ b/cpukit/score/src/timespeclessthan.c @@ -23,7 +23,7 @@ #include <rtems/score/timespec.h> #include <rtems/score/tod.h> -boolean _Timespec_Less_than( +bool _Timespec_Less_than( const struct timespec *lhs, const struct timespec *rhs ) diff --git a/cpukit/score/src/userextthreadbegin.c b/cpukit/score/src/userextthreadbegin.c index bf2cc1a1af..7c36604d2a 100644 --- a/cpukit/score/src/userextthreadbegin.c +++ b/cpukit/score/src/userextthreadbegin.c @@ -70,7 +70,7 @@ void _User_extensions_Thread_exitted ( void _User_extensions_Fatal ( Internal_errors_Source the_source, - boolean is_internal, + bool is_internal, uint32_t the_error ) { diff --git a/cpukit/score/src/userextthreadcreate.c b/cpukit/score/src/userextthreadcreate.c index 3d9caca174..cec6f62637 100644 --- a/cpukit/score/src/userextthreadcreate.c +++ b/cpukit/score/src/userextthreadcreate.c @@ -21,13 +21,13 @@ * _User_extensions_Thread_create */ -boolean _User_extensions_Thread_create ( +bool _User_extensions_Thread_create ( Thread_Control *the_thread ) { Chain_Node *the_node; User_extensions_Control *the_extension; - boolean status; + bool status; for ( the_node = _User_extensions_List.first ; !_Chain_Is_tail( &_User_extensions_List, the_node ) ; diff --git a/cpukit/score/src/wkspace.c b/cpukit/score/src/wkspace.c index 79fe5207ec..ebb71f3297 100644 --- a/cpukit/score/src/wkspace.c +++ b/cpukit/score/src/wkspace.c @@ -70,7 +70,7 @@ void *_Workspace_Allocate( /* * _Workspace_Free */ -boolean _Workspace_Free( +bool _Workspace_Free( void *block ) { |