From 484a76996eeb65ad726b65946642516c70b3257b Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 4 Sep 2008 17:46:39 +0000 Subject: Convert to "bool". --- cpukit/score/inline/rtems/score/address.inl | 4 +-- cpukit/score/inline/rtems/score/chain.inl | 18 +++++------ cpukit/score/inline/rtems/score/corebarrier.inl | 2 +- cpukit/score/inline/rtems/score/coremsg.inl | 10 +++---- cpukit/score/inline/rtems/score/coremutex.inl | 10 +++---- cpukit/score/inline/rtems/score/coresem.inl | 4 +-- cpukit/score/inline/rtems/score/corespinlock.inl | 2 +- cpukit/score/inline/rtems/score/heap.inl | 8 ++--- cpukit/score/inline/rtems/score/isr.inl | 4 +-- cpukit/score/inline/rtems/score/mppkt.inl | 4 +-- cpukit/score/inline/rtems/score/object.inl | 8 ++--- cpukit/score/inline/rtems/score/objectmp.inl | 2 +- cpukit/score/inline/rtems/score/priority.inl | 4 +-- cpukit/score/inline/rtems/score/stack.inl | 2 +- cpukit/score/inline/rtems/score/states.inl | 38 ++++++++++++------------ cpukit/score/inline/rtems/score/sysstate.inl | 12 ++++---- cpukit/score/inline/rtems/score/thread.inl | 16 +++++----- cpukit/score/inline/rtems/score/threadmp.inl | 2 +- cpukit/score/inline/rtems/score/tqdata.inl | 2 +- cpukit/score/inline/rtems/score/watchdog.inl | 2 +- 20 files changed, 77 insertions(+), 77 deletions(-) (limited to 'cpukit/score/inline/rtems') 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 ) { -- cgit v1.2.3