summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-12-22 09:22:17 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-12-22 09:22:17 +0000
commit6390256611ad02b777017640de6e8a1e9242d861 (patch)
treec6b7fe2ea3854eac97cc18394734389613b93e5e /cpukit/score/inline
parentUpdate to gcc-4.3.2 (diff)
downloadrtems-6390256611ad02b777017640de6e8a1e9242d861.tar.bz2
Eliminate TRUE/FALSE.
Diffstat (limited to '')
-rw-r--r--cpukit/score/inline/rtems/score/address.inl18
-rw-r--r--cpukit/score/inline/rtems/score/chain.inl60
-rw-r--r--cpukit/score/inline/rtems/score/corebarrier.inl6
-rw-r--r--cpukit/score/inline/rtems/score/coremsg.inl10
-rw-r--r--cpukit/score/inline/rtems/score/coremutex.inl28
-rw-r--r--cpukit/score/inline/rtems/score/coresem.inl10
-rw-r--r--cpukit/score/inline/rtems/score/corespinlock.inl4
-rw-r--r--cpukit/score/inline/rtems/score/heap.inl26
-rw-r--r--cpukit/score/inline/rtems/score/isr.inl8
-rw-r--r--cpukit/score/inline/rtems/score/mppkt.inl8
-rw-r--r--cpukit/score/inline/rtems/score/object.inl40
-rw-r--r--cpukit/score/inline/rtems/score/priority.inl8
-rw-r--r--cpukit/score/inline/rtems/score/stack.inl6
-rw-r--r--cpukit/score/inline/rtems/score/states.inl76
-rw-r--r--cpukit/score/inline/rtems/score/sysstate.inl20
-rw-r--r--cpukit/score/inline/rtems/score/thread.inl26
-rw-r--r--cpukit/score/inline/rtems/score/tqdata.inl4
-rw-r--r--cpukit/score/inline/rtems/score/watchdog.inl4
18 files changed, 181 insertions, 181 deletions
diff --git a/cpukit/score/inline/rtems/score/address.inl b/cpukit/score/inline/rtems/score/address.inl
index ef61411915..2efab75df0 100644
--- a/cpukit/score/inline/rtems/score/address.inl
+++ b/cpukit/score/inline/rtems/score/address.inl
@@ -91,21 +91,21 @@ RTEMS_INLINE_ROUTINE uint32_t _Addresses_Subtract (
/** @brief Is Address Aligned
*
- * This function returns TRUE if the given address is correctly
- * aligned for this processor and FALSE otherwise. Proper alignment
+ * This function returns true if the given address is correctly
+ * aligned for this processor and false otherwise. Proper alignment
* is based on correctness and efficiency.
*
* @param[in] address is the address being checked for alignment.
*
- * @return This method returns TRUE if the address is aligned and
- * FALSE otherwise.
+ * @return This method returns true if the address is aligned and
+ * false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Addresses_Is_aligned (
void *address
)
{
#if (CPU_ALIGNMENT == 0)
- return TRUE;
+ return true;
#else
return (((uintptr_t)address % CPU_ALIGNMENT) == 0);
#endif
@@ -113,8 +113,8 @@ RTEMS_INLINE_ROUTINE bool _Addresses_Is_aligned (
/** @brief Is Address In Range
*
- * This function returns TRUE if the given address is within the
- * memory range specified and FALSE otherwise. base is the address
+ * This function returns true if the given address is within the
+ * memory range specified and false otherwise. base is the address
* of the first byte in the memory range and limit is the address
* of the last byte in the memory range. The base address is
* assumed to be lower than the limit address.
@@ -123,8 +123,8 @@ RTEMS_INLINE_ROUTINE bool _Addresses_Is_aligned (
* @param[in] base is the lowest address of the range to check against.
* @param[in] limit is the highest address of the range to check against.
*
- * @return This method returns TRUE if the given @a address is within the
- * memory range specified and FALSE otherwise.
+ * @return This method returns true if the given @a address is within the
+ * memory range specified and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Addresses_Is_in_range (
void *address,
diff --git a/cpukit/score/inline/rtems/score/chain.inl b/cpukit/score/inline/rtems/score/chain.inl
index ca9b3d3c42..fbe406a30f 100644
--- a/cpukit/score/inline/rtems/score/chain.inl
+++ b/cpukit/score/inline/rtems/score/chain.inl
@@ -34,14 +34,14 @@
/** @brief Are Two Nodes Equal
*
- * This function returns TRUE if @a left and @a right are equal,
- * and FALSE otherwise.
+ * This function returns true if @a left and @a right are equal,
+ * and false otherwise.
*
* @param[in] left is the node on the left hand side of the comparison.
* @param[in] right is the node on the left hand side of the comparison.
*
- * @return This function returns TRUE if @a left and @a right are equal,
- * and FALSE otherwise.
+ * @return This function returns true if @a left and @a right are equal,
+ * and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Chain_Are_nodes_equal(
const Chain_Node *left,
@@ -53,11 +53,11 @@ RTEMS_INLINE_ROUTINE bool _Chain_Are_nodes_equal(
/** @brief Is this Chain Control Pointer Null
*
- * This function returns TRUE if the_chain is NULL and FALSE otherwise.
+ * This function returns true if the_chain is NULL and false otherwise.
*
* @param[in] the_chain is the chain to be checked for empty status.
*
- * @return This method returns TRUE if the_chain is NULL and FALSE otherwise.
+ * @return This method returns true if the_chain is NULL and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Chain_Is_null(
const Chain_Control *the_chain
@@ -68,11 +68,11 @@ RTEMS_INLINE_ROUTINE bool _Chain_Is_null(
/** @brief Is the Chain Node Pointer NULL
*
- * This function returns TRUE if the_node is NULL and FALSE otherwise.
+ * This function returns true if the_node is NULL and false otherwise.
*
* @param[in] the_node is the node pointer to check.
*
- * @return This method returns TRUE if the_node is NULL and FALSE otherwise.
+ * @return This method returns true if the_node is NULL and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Chain_Is_null_node(
const Chain_Node *the_node
@@ -113,13 +113,13 @@ RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(
/** @brief Is the Chain Empty
*
- * This function returns TRUE if there a no nodes on @a the_chain and
- * FALSE otherwise.
+ * This function returns true if there a no nodes on @a the_chain and
+ * false otherwise.
*
* @param[in] the_chain is the chain to be operated upon.
*
- * @return This function returns TRUE if there a no nodes on @a the_chain and
- * FALSE otherwise.
+ * @return This function returns true if there a no nodes on @a the_chain and
+ * false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(
Chain_Control *the_chain
@@ -130,14 +130,14 @@ RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(
/** @brief Is this the First Node on the Chain
*
- * This function returns TRUE if the_node is the first node on a chain and
- * FALSE otherwise.
+ * This function returns true if the_node is the first node on a chain and
+ * false otherwise.
*
* @param[in] the_node is the node the caller wants to know if it is
* the first node on a chain.
*
- * @return This function returns TRUE if @a the_node is the first node on
- * a chain and FALSE otherwise.
+ * @return This function returns true if @a the_node is the first node on
+ * a chain and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Chain_Is_first(
const Chain_Node *the_node
@@ -148,13 +148,13 @@ RTEMS_INLINE_ROUTINE bool _Chain_Is_first(
/** @brief Is this the Last Node on the Chain
*
- * This function returns TRUE if @a the_node is the last node on a chain and
- * FALSE otherwise.
+ * This function returns true if @a the_node is the last node on a chain and
+ * false otherwise.
*
* @param[in] the_node is the node to check as the last node.
*
- * @return This function returns TRUE if @a the_node is the last node on
- * a chain and FALSE otherwise.
+ * @return This function returns true if @a the_node is the last node on
+ * a chain and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Chain_Is_last(
const Chain_Node *the_node
@@ -165,13 +165,13 @@ RTEMS_INLINE_ROUTINE bool _Chain_Is_last(
/** @brief Does this Chain have only One Node
*
- * This function returns TRUE if there is only one node on @a the_chain and
- * FALSE otherwise.
+ * This function returns true if there is only one node on @a the_chain and
+ * false otherwise.
*
* @param[in] the_chain is the chain to be operated upon.
*
- * @return This function returns TRUE if there is only one node on
- * @a the_chain and FALSE otherwise.
+ * @return This function returns true if there is only one node on
+ * @a the_chain and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Chain_Has_only_one_node(
const Chain_Control *the_chain
@@ -182,14 +182,14 @@ RTEMS_INLINE_ROUTINE bool _Chain_Has_only_one_node(
/** @brief Is this Node the Chain Head
*
- * This function returns TRUE if @a the_node is the head of the_chain and
- * FALSE otherwise.
+ * This function returns true if @a the_node is the head of the_chain and
+ * false otherwise.
*
* @param[in] the_chain is the chain to be operated upon.
* @param[in] the_node is the node to check for being the Chain Head.
*
- * @return This function returns TRUE if @a the_node is the head of
- * @a the_chain and FALSE otherwise.
+ * @return This function returns true if @a the_node is the head of
+ * @a the_chain and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Chain_Is_head(
Chain_Control *the_chain,
@@ -201,8 +201,8 @@ RTEMS_INLINE_ROUTINE bool _Chain_Is_head(
/** @brief Is this Node the Chail Tail
*
- * This function returns TRUE if the_node is the tail of the_chain and
- * FALSE otherwise.
+ * This function returns true if the_node is the tail of the_chain and
+ * false otherwise.
*
* @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.
diff --git a/cpukit/score/inline/rtems/score/corebarrier.inl b/cpukit/score/inline/rtems/score/corebarrier.inl
index bec57d9387..a1e56fc221 100644
--- a/cpukit/score/inline/rtems/score/corebarrier.inl
+++ b/cpukit/score/inline/rtems/score/corebarrier.inl
@@ -32,11 +32,11 @@
#include <rtems/score/threadq.h>
/**
- * This function returns TRUE if the automatic release attribute is
- * enabled in the @a attribute_set and FALSE otherwise.
+ * This function returns true if the automatic release attribute is
+ * enabled in the @a attribute_set and false otherwise.
*
* @param[in] the_attribute is the attribute set to test
- * @return TRUE if the priority attribute is enabled
+ * @return true if the priority attribute is enabled
*/
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 92d10ca6e2..81955acbe4 100644
--- a/cpukit/score/inline/rtems/score/coremsg.inl
+++ b/cpukit/score/inline/rtems/score/coremsg.inl
@@ -146,8 +146,8 @@ RTEMS_INLINE_ROUTINE
}
/**
- * This function returns TRUE if the priority attribute is
- * enabled in the attribute_set and FALSE otherwise.
+ * This function returns true if the priority attribute is
+ * enabled in the attribute_set and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _CORE_message_queue_Is_priority(
@@ -190,7 +190,7 @@ RTEMS_INLINE_ROUTINE void _CORE_message_queue_Prepend_unprotected (
}
/**
- * This function returns TRUE if the_message_queue is TRUE and FALSE otherwise.
+ * This function returns true if the_message_queue is true and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _CORE_message_queue_Is_null (
@@ -201,8 +201,8 @@ RTEMS_INLINE_ROUTINE bool _CORE_message_queue_Is_null (
}
/**
- * This function returns TRUE if notification is enabled on this message
- * queue and FALSE otherwise.
+ * This function returns true if notification is enabled on this message
+ * queue and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _CORE_message_queue_Is_notify_enabled (
diff --git a/cpukit/score/inline/rtems/score/coremutex.inl b/cpukit/score/inline/rtems/score/coremutex.inl
index eed2393abe..7680f98561 100644
--- a/cpukit/score/inline/rtems/score/coremutex.inl
+++ b/cpukit/score/inline/rtems/score/coremutex.inl
@@ -31,12 +31,12 @@
/**
* @brief Is Mutex Locked
*
- * This routine returns TRUE if the mutex specified is locked and FALSE
+ * This routine returns true if the mutex specified is locked and false
* otherwise.
*
* @param[in] the_mutex is the mutex to check
*
- * @return This method returns TRUE if the mutex is locked.
+ * @return This method returns true if the mutex is locked.
*/
RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_locked(
CORE_mutex_Control *the_mutex
@@ -48,12 +48,12 @@ RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_locked(
/**
* @brief Does Core Mutex Use FIFO Blocking
*
- * This routine returns TRUE if the mutex's wait discipline is FIFO and FALSE
+ * This routine returns true if the mutex's wait discipline is FIFO and false
* otherwise.
*
* @param[in] the_attribute is the attribute set of the mutex
*
- * @return This method returns TRUE if the mutex is using FIFO blocking order.
+ * @return This method returns true if the mutex is using FIFO blocking order.
*/
RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_fifo(
CORE_mutex_Attributes *the_attribute
@@ -65,12 +65,12 @@ RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_fifo(
/**
* @brief Doex Core Mutex Use Priority Blocking
*
- * This routine returns TRUE if the mutex's wait discipline is PRIORITY and
- * FALSE otherwise.
+ * This routine returns true if the mutex's wait discipline is PRIORITY and
+ * false otherwise.
*
* @param[in] the_attribute is the attribute set of the mutex
*
- * @return This method returns TRUE if the mutex is using
+ * @return This method returns true if the mutex is using
* priority blocking order.
*/
RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_priority(
@@ -83,12 +83,12 @@ RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_priority(
/**
* @brief Does Mutex Use Priority Inheritance
*
- * This routine returns TRUE if the mutex's wait discipline is
- * INHERIT_PRIORITY and FALSE otherwise.
+ * This routine returns true if the mutex's wait discipline is
+ * INHERIT_PRIORITY and false otherwise.
*
* @param[in] the_attribute is the attribute set of the mutex
*
- * @return This method returns TRUE if the mutex is using priority
+ * @return This method returns true if the mutex is using priority
* inheritance.
*/
RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_inherit_priority(
@@ -101,11 +101,11 @@ RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_inherit_priority(
/**
* @brief Does Mutex Use Priority Ceiling
*
- * This routine returns TRUE if the mutex's wait discipline is
- * PRIORITY_CEILING and FALSE otherwise.
+ * This routine returns true if the mutex's wait discipline is
+ * PRIORITY_CEILING and false otherwise.
*
* @param[in] the_attribute is the attribute set of the mutex
- * @return This method returns TRUE if the mutex is using priority
+ * @return This method returns true if the mutex is using priority
* ceiling.
*/
RTEMS_INLINE_ROUTINE bool _CORE_mutex_Is_priority_ceiling(
@@ -178,7 +178,7 @@ RTEMS_INLINE_ROUTINE int _CORE_mutex_Seize_interrupt_trylock_body(
_Thread_Change_priority(
the_mutex->holder,
the_mutex->Attributes.priority_ceiling,
- FALSE
+ false
);
_Thread_Enable_dispatch();
return 0;
diff --git a/cpukit/score/inline/rtems/score/coresem.inl b/cpukit/score/inline/rtems/score/coresem.inl
index b44db663f9..fbb38a7cc1 100644
--- a/cpukit/score/inline/rtems/score/coresem.inl
+++ b/cpukit/score/inline/rtems/score/coresem.inl
@@ -32,11 +32,11 @@
#include <rtems/score/threadq.h>
/**
- * This function returns TRUE if the priority attribute is
- * enabled in the @a attribute_set and FALSE otherwise.
+ * This function returns true if the priority attribute is
+ * enabled in the @a attribute_set and false otherwise.
*
* @param[in] the_attribute is the attribute set to test
- * @return TRUE if the priority attribute is enabled
+ * @return true if the priority attribute is enabled
*/
RTEMS_INLINE_ROUTINE bool _CORE_semaphore_Is_priority(
CORE_semaphore_Attributes *the_attribute
@@ -60,13 +60,13 @@ RTEMS_INLINE_ROUTINE uint32_t _CORE_semaphore_Get_count(
/**
* This routine attempts to receive a unit from the_semaphore.
- * If a unit is available or if the wait flag is FALSE, then the routine
+ * If a unit is available or if the wait flag is false, then the routine
* returns. Otherwise, the calling task is blocked until a unit becomes
* available.
*
* @param[in] the_semaphore is the semaphore to obtain
* @param[in] id is the Id of the owning API level Semaphore object
- * @param[in] wait is TRUE if the thread is willing to wait
+ * @param[in] wait is true if the thread is willing to wait
* @param[in] timeout is the maximum number of ticks to block
* @param[in] level_p is a temporary variable used to contain the ISR
* disable level cookie
diff --git a/cpukit/score/inline/rtems/score/corespinlock.inl b/cpukit/score/inline/rtems/score/corespinlock.inl
index e1c86ef5a7..2cb17165d8 100644
--- a/cpukit/score/inline/rtems/score/corespinlock.inl
+++ b/cpukit/score/inline/rtems/score/corespinlock.inl
@@ -34,8 +34,8 @@
*
* @param[in] the_spinlock will be checked
*
- * @return This method will return TRUE if the spinlock is busy
- * and FALSE otherwise.
+ * @return This method will return true if the spinlock is busy
+ * and false otherwise.
*/
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 80f6f853e6..8238687726 100644
--- a/cpukit/score/inline/rtems/score/heap.inl
+++ b/cpukit/score/inline/rtems/score/heap.inl
@@ -155,12 +155,12 @@ RTEMS_INLINE_ROUTINE void _Heap_Block_insert_after (
}
/**
- * Return TRUE if @a value is a multiple of @a alignment, FALSE otherwise
+ * Return true if @a value is a multiple of @a alignment, false otherwise
*
* @param[in] value is the address to verify alignment of.
* @param[in] alignment is the alignment factor to verify.
*
- * @return This method returns TRUE if the address is aligned and false
+ * @return This method returns true if the address is aligned and false
* otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned (
@@ -208,14 +208,14 @@ RTEMS_INLINE_ROUTINE void _Heap_Align_down (
}
/**
- * Return TRUE if @a ptr is aligned at @a alignment boundary,
- * FALSE otherwise.
+ * Return true if @a ptr is aligned at @a alignment boundary,
+ * false otherwise.
*
* @param[in] ptr is the pointer to verify alignment of.
* @param[in] alignment is the alignment factor.
*
- * @return This method returns TRUE if @a ptr is aligned at @a alignment
- * boundary, and FALSE otherwise.
+ * @return This method returns true if @a ptr is aligned at @a alignment
+ * boundary, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned_ptr (
void *ptr,
@@ -321,12 +321,12 @@ RTEMS_INLINE_ROUTINE void _Heap_Start_of_block (
}
/**
- * This function returns TRUE if the previous block of @a the_block
- * is in use, and FALSE otherwise.
+ * This function returns true if the previous block of @a the_block
+ * is in use, and false otherwise.
*
* @param[in] the_block is the block to operate upon.
*
- * @return This method returns TRUE if the previous block is used and FALSE
+ * @return This method returns true if the previous block is used and false
* if the previous block is free.
*/
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used (
@@ -351,14 +351,14 @@ RTEMS_INLINE_ROUTINE uint32_t _Heap_Block_size (
}
/**
- * This function returns TRUE if @a the_block is within the memory area
- * managed by @a the_heap, and FALSE otherwise.
+ * This function returns true if @a the_block is within the memory area
+ * managed by @a the_heap, and false otherwise.
*
* @param[in] the_heap points to the heap being operated upon
* @param[in] the_block is the block address to check.
*
- * @return This method returns TRUE if @a the_block appears to have been
- * allocated from @a the_heap, and FALSE otherwise.
+ * @return This method returns true if @a the_block appears to have been
+ * allocated from @a the_heap, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in (
Heap_Control *the_heap,
diff --git a/cpukit/score/inline/rtems/score/isr.inl b/cpukit/score/inline/rtems/score/isr.inl
index c1641dd21f..605dfeeab5 100644
--- a/cpukit/score/inline/rtems/score/isr.inl
+++ b/cpukit/score/inline/rtems/score/isr.inl
@@ -29,8 +29,8 @@
*/
/**
- * This function returns TRUE if the vector is a valid vector number
- * for this processor and FALSE otherwise.
+ * This function returns true if the vector is a valid vector number
+ * for this processor and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _ISR_Is_vector_number_valid (
@@ -41,8 +41,8 @@ RTEMS_INLINE_ROUTINE bool _ISR_Is_vector_number_valid (
}
/**
- * This function returns TRUE if handler is the entry point of a valid
- * use interrupt service routine and FALSE otherwise.
+ * This function returns true if handler is the entry point of a valid
+ * use interrupt service routine and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _ISR_Is_valid_user_handler (
diff --git a/cpukit/score/inline/rtems/score/mppkt.inl b/cpukit/score/inline/rtems/score/mppkt.inl
index 26fb98618f..593e8eebb1 100644
--- a/cpukit/score/inline/rtems/score/mppkt.inl
+++ b/cpukit/score/inline/rtems/score/mppkt.inl
@@ -29,8 +29,8 @@
*/
/**
- * This function returns TRUE if the the_packet_class is valid,
- * and FALSE otherwise.
+ * This function returns true if the the_packet_class is valid,
+ * and false otherwise.
*
* @note Check for lower bounds (MP_PACKET_CLASSES_FIRST ) is unnecessary
* because this enum starts at lower bound of zero.
@@ -44,8 +44,8 @@ RTEMS_INLINE_ROUTINE bool _Mp_packet_Is_valid_packet_class (
}
/**
- * This function returns TRUE if the the_packet_class is null,
- * and FALSE otherwise.
+ * This function returns true if the the_packet_class is null,
+ * and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Mp_packet_Is_null (
diff --git a/cpukit/score/inline/rtems/score/object.inl b/cpukit/score/inline/rtems/score/object.inl
index 6aff4757f1..6f7d272c96 100644
--- a/cpukit/score/inline/rtems/score/object.inl
+++ b/cpukit/score/inline/rtems/score/object.inl
@@ -115,31 +115,31 @@ RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_index(
}
/**
- * This function returns TRUE if the api is valid.
+ * This function returns true if the api is valid.
*
* @param[in] the_api is the api portion of an object ID.
*
- * @return This method returns TRUE if the specified api value is valid
- * and FALSE otherwise.
+ * @return This method returns true if the specified api value is valid
+ * and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(
uint32_t the_api
)
{
if ( !the_api || the_api > OBJECTS_APIS_LAST )
- return FALSE;
- return TRUE;
+ return false;
+ return true;
}
/**
- * This function returns TRUE if the node is of the local object, and
- * FALSE otherwise.
+ * This function returns true if the node is of the local object, and
+ * false otherwise.
*
* @param[in] node is the node number and corresponds to the node number
* portion of an object ID.
*
- * @return This method returns TRUE if the specified node is the local node
- * and FALSE otherwise.
+ * @return This method returns true if the specified node is the local node
+ * and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Objects_Is_local_node(
uint32_t node
@@ -149,15 +149,15 @@ RTEMS_INLINE_ROUTINE bool _Objects_Is_local_node(
}
/**
- * This function returns TRUE if the id is of a local object, and
- * FALSE otherwise.
+ * This function returns true if the id is of a local object, and
+ * false otherwise.
*
* @param[in] id is an object ID
*
- * @return This method returns TRUE if the specified object Id is local
- * and FALSE otherwise.
+ * @return This method returns true if the specified object Id is local
+ * and false otherwise.
*
- * @note On a single processor configuration, this always returns TRUE.
+ * @note On a single processor configuration, this always returns true.
*/
RTEMS_INLINE_ROUTINE bool _Objects_Is_local_id(
Objects_Id id
@@ -166,19 +166,19 @@ RTEMS_INLINE_ROUTINE bool _Objects_Is_local_id(
#if defined(RTEMS_MULTIPROCESSING)
return _Objects_Is_local_node( _Objects_Get_node(id) );
#else
- return TRUE;
+ return true;
#endif
}
/**
- * This function returns TRUE if left and right are equal,
- * and FALSE otherwise.
+ * This function returns true if left and right are equal,
+ * and false otherwise.
*
* @param[in] left is the Id on the left hand side of the comparison
* @param[in] right is the Id on the right hand side of the comparison
*
- * @return This method returns TRUE if the specified object IDs are equal
- * and FALSE otherwise.
+ * @return This method returns true if the specified object IDs are equal
+ * and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Objects_Are_ids_equal(
Objects_Id left,
@@ -310,7 +310,7 @@ RTEMS_INLINE_ROUTINE void _Objects_Open_u32(
the_object
);
- /* ASSERT: information->is_string == FALSE */
+ /* ASSERT: information->is_string == false */
the_object->name.name_u32 = name;
}
diff --git a/cpukit/score/inline/rtems/score/priority.inl b/cpukit/score/inline/rtems/score/priority.inl
index 6c1b824021..b752a4fc4e 100644
--- a/cpukit/score/inline/rtems/score/priority.inl
+++ b/cpukit/score/inline/rtems/score/priority.inl
@@ -44,8 +44,8 @@ RTEMS_INLINE_ROUTINE void _Priority_Handler_initialization( void )
}
/**
- * This function returns TRUE if the_priority if valid for a
- * user task, and FALSE otherwise.
+ * This function returns true if the_priority if valid for a
+ * user task, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Priority_Is_valid (
@@ -188,8 +188,8 @@ RTEMS_INLINE_ROUTINE void _Priority_Initialize_information(
}
/**
- * This function returns TRUE if the priority GROUP is empty, and
- * FALSE otherwise.
+ * This function returns true if the priority GROUP is empty, and
+ * false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Priority_Is_group_empty (
diff --git a/cpukit/score/inline/rtems/score/stack.inl b/cpukit/score/inline/rtems/score/stack.inl
index 0c16b8d98b..918500c298 100644
--- a/cpukit/score/inline/rtems/score/stack.inl
+++ b/cpukit/score/inline/rtems/score/stack.inl
@@ -55,12 +55,12 @@ RTEMS_INLINE_ROUTINE uint32_t _Stack_Minimum (void)
}
/**
- * This function returns TRUE if size bytes is enough memory for
- * a valid stack area on this processor, and FALSE otherwise.
+ * This function returns true if size bytes is enough memory for
+ * a valid stack area on this processor, and false otherwise.
*
* @param[in] size is the stack size to check
*
- * @return This method returns TRUE if the stack is large enough.
+ * @return This method returns true if the stack is large 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 1d358ded2d..9108f7f334 100644
--- a/cpukit/score/inline/rtems/score/states.inl
+++ b/cpukit/score/inline/rtems/score/states.inl
@@ -55,8 +55,8 @@ RTEMS_INLINE_ROUTINE States_Control _States_Clear (
}
/**
- * This function returns TRUE if the_states indicates that the
- * state is READY, and FALSE otherwise.
+ * This function returns true if the_states indicates that the
+ * state is READY, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_ready (
@@ -67,8 +67,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_ready (
}
/**
- * This function returns TRUE if the DORMANT state is the ONLY state
- * set in the_states, and FALSE otherwise.
+ * This function returns true if the DORMANT state is the ONLY state
+ * set in the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_only_dormant (
@@ -79,8 +79,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_only_dormant (
}
/**
- * This function returns TRUE if the DORMANT state is set in
- * the_states, and FALSE otherwise.
+ * This function returns true if the DORMANT state is set in
+ * the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_dormant (
@@ -91,8 +91,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_dormant (
}
/**
- * This function returns TRUE if the SUSPENDED state is set in
- * the_states, and FALSE otherwise.
+ * This function returns true if the SUSPENDED state is set in
+ * the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_suspended (
@@ -103,8 +103,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_suspended (
}
/**
- * This function returns TRUE if the TRANSIENT state is set in
- * the_states, and FALSE otherwise.
+ * This function returns true if the TRANSIENT state is set in
+ * the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_transient (
@@ -115,8 +115,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_transient (
}
/**
- * This function returns TRUE if the DELAYING state is set in
- * the_states, and FALSE otherwise.
+ * This function returns true if the DELAYING state is set in
+ * the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_delaying (
@@ -127,8 +127,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_delaying (
}
/**
- * This function returns TRUE if the WAITING_FOR_BUFFER state is set in
- * the_states, and FALSE otherwise.
+ * This function returns true if the WAITING_FOR_BUFFER state is set in
+ * the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_buffer (
@@ -139,8 +139,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_buffer (
}
/**
- * This function returns TRUE if the WAITING_FOR_SEGMENT state is set in
- * the_states, and FALSE otherwise.
+ * This function returns true if the WAITING_FOR_SEGMENT state is set in
+ * the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_segment (
@@ -151,8 +151,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_segment (
}
/**
- * This function returns TRUE if the WAITING_FOR_MESSAGE state is set in
- * the_states, and FALSE otherwise.
+ * This function returns true if the WAITING_FOR_MESSAGE state is set in
+ * the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_message (
@@ -163,8 +163,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_message (
}
/**
- * This function returns TRUE if the WAITING_FOR_EVENT state is set in
- * the_states, and FALSE otherwise.
+ * This function returns true if the WAITING_FOR_EVENT state is set in
+ * the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_event (
@@ -175,8 +175,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_event (
}
/**
- * This function returns TRUE if the WAITING_FOR_MUTEX state
- * is set in the_states, and FALSE otherwise.
+ * This function returns true if the WAITING_FOR_MUTEX state
+ * is set in the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_mutex (
@@ -187,8 +187,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_mutex (
}
/**
- * This function returns TRUE if the WAITING_FOR_SEMAPHORE state
- * is set in the_states, and FALSE otherwise.
+ * This function returns true if the WAITING_FOR_SEMAPHORE state
+ * is set in the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_semaphore (
@@ -199,8 +199,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_semaphore (
}
/**
- * This function returns TRUE if the WAITING_FOR_TIME state is set in
- * the_states, and FALSE otherwise.
+ * This function returns true if the WAITING_FOR_TIME state is set in
+ * the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_time (
@@ -211,8 +211,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_time (
}
/**
- * This function returns TRUE if the WAITING_FOR_TIME state is set in
- * the_states, and FALSE otherwise.
+ * This function returns true if the WAITING_FOR_TIME state is set in
+ * the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_rpc_reply (
@@ -223,8 +223,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_rpc_reply (
}
/**
- * This function returns TRUE if the WAITING_FOR_PERIOD state is set in
- * the_states, and FALSE otherwise.
+ * This function returns true if the WAITING_FOR_PERIOD state is set in
+ * the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_period (
@@ -235,9 +235,9 @@ RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_period (
}
/**
- * This function returns TRUE if one of the states which indicates
+ * This function returns true if one of the states which indicates
* that a task is blocked waiting for a local resource is set in
- * the_states, and FALSE otherwise.
+ * the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_locally_blocked (
@@ -248,9 +248,9 @@ RTEMS_INLINE_ROUTINE bool _States_Is_locally_blocked (
}
/**
- * This function returns TRUE if one of the states which indicates
+ * This function returns true if one of the states which indicates
* that a task is blocked waiting for a local resource is set in
- * the_states, and FALSE otherwise.
+ * the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_on_thread_queue (
@@ -261,8 +261,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_waiting_on_thread_queue (
}
/**
- * This function returns TRUE if one of the states which indicates
- * that a task is blocked is set in the_states, and FALSE otherwise.
+ * This function returns true if one of the states which indicates
+ * that a task is blocked is set in the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Is_blocked (
@@ -273,8 +273,8 @@ RTEMS_INLINE_ROUTINE bool _States_Is_blocked (
}
/**
- * This function returns TRUE if any of the states in the mask
- * are set in the_states, and FALSE otherwise.
+ * This function returns true if any of the states in the mask
+ * are set in the_states, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _States_Are_set (
diff --git a/cpukit/score/inline/rtems/score/sysstate.inl b/cpukit/score/inline/rtems/score/sysstate.inl
index 0f60a31f57..fca9fef94c 100644
--- a/cpukit/score/inline/rtems/score/sysstate.inl
+++ b/cpukit/score/inline/rtems/score/sysstate.inl
@@ -64,8 +64,8 @@ RTEMS_INLINE_ROUTINE System_state_Codes _System_state_Get ( void )
}
/**
- * This function returns TRUE if the state is equal to the
- * "before initialization" state, and FALSE otherwise.
+ * This function returns true if the state is equal to the
+ * "before initialization" state, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _System_state_Is_before_initialization (
@@ -76,8 +76,8 @@ RTEMS_INLINE_ROUTINE bool _System_state_Is_before_initialization (
}
/**
- * This function returns TRUE if the state is equal to the
- * "before multitasking" state, and FALSE otherwise.
+ * This function returns true if the state is equal to the
+ * "before multitasking" state, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _System_state_Is_before_multitasking (
@@ -88,8 +88,8 @@ RTEMS_INLINE_ROUTINE bool _System_state_Is_before_multitasking (
}
/**
- * This function returns TRUE if the state is equal to the
- * "begin multitasking" state, and FALSE otherwise.
+ * This function returns true if the state is equal to the
+ * "begin multitasking" state, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _System_state_Is_begin_multitasking (
@@ -100,8 +100,8 @@ RTEMS_INLINE_ROUTINE bool _System_state_Is_begin_multitasking (
}
/**
- * This function returns TRUE if the state is equal to the
- * "up" state, and FALSE otherwise.
+ * This function returns true if the state is equal to the
+ * "up" state, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _System_state_Is_up (
@@ -112,8 +112,8 @@ RTEMS_INLINE_ROUTINE bool _System_state_Is_up (
}
/**
- * This function returns TRUE if the state is equal to the
- * "failed" state, and FALSE otherwise.
+ * This function returns true if the state is equal to the
+ * "failed" state, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _System_state_Is_failed (
diff --git a/cpukit/score/inline/rtems/score/thread.inl b/cpukit/score/inline/rtems/score/thread.inl
index 6dd409d0a6..000396546e 100644
--- a/cpukit/score/inline/rtems/score/thread.inl
+++ b/cpukit/score/inline/rtems/score/thread.inl
@@ -48,8 +48,8 @@ RTEMS_INLINE_ROUTINE void _Thread_Stop_multitasking( void )
}
/**
- * This function returns TRUE if the_thread is the currently executing
- * thread, and FALSE otherwise.
+ * This function returns true if the_thread is the currently executing
+ * thread, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (
@@ -60,8 +60,8 @@ RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (
}
/**
- * This function returns TRUE if the_thread is the heir
- * thread, and FALSE otherwise.
+ * This function returns true if the_thread is the heir
+ * thread, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Thread_Is_heir (
@@ -72,8 +72,8 @@ RTEMS_INLINE_ROUTINE bool _Thread_Is_heir (
}
/**
- * This function returns TRUE if the currently executing thread
- * is also the heir thread, and FALSE otherwise.
+ * This function returns true if the currently executing thread
+ * is also the heir thread, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )
@@ -121,9 +121,9 @@ RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )
}
/**
- * This function returns TRUE if the floating point context of
+ * This function returns true if the floating point context of
* the_thread is currently loaded in the floating point unit, and
- * FALSE otherwise.
+ * false otherwise.
*/
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
@@ -192,7 +192,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Disable_dispatch( void )
*/
#if defined(RTEMS_HEAVY_MALLOC_DEBUG)
if ( _Thread_Dispatch_disable_level == 1 ) {
- _Heap_Walk( RTEMS_Malloc_Heap,99, FALSE );
+ _Heap_Walk( RTEMS_Malloc_Heap,99, false );
}
#endif
}
@@ -231,7 +231,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )
}
/**
- * This function returns TRUE if dispatching is disabled, and FALSE
+ * This function returns true if dispatching is disabled, and false
* otherwise.
*/
@@ -241,7 +241,7 @@ RTEMS_INLINE_ROUTINE bool _Thread_Is_dispatching_enabled( void )
}
/**
- * This function returns TRUE if dispatching is disabled, and FALSE
+ * This function returns true if dispatching is disabled, and false
* otherwise.
*/
@@ -260,7 +260,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Dispatch_initialization( void )
}
/**
- * This function returns TRUE if the_thread is NULL and FALSE otherwise.
+ * This function returns true if the_thread is NULL and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Thread_Is_null (
@@ -272,7 +272,7 @@ RTEMS_INLINE_ROUTINE bool _Thread_Is_null (
/** @brief _Thread_Is_proxy_blocking
*
- * status which indicates that a proxy is blocking, and FALSE otherwise.
+ * status which indicates that a proxy is blocking, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Thread_Is_proxy_blocking (
uint32_t code
diff --git a/cpukit/score/inline/rtems/score/tqdata.inl b/cpukit/score/inline/rtems/score/tqdata.inl
index ed4c950868..6db7ce2f5a 100644
--- a/cpukit/score/inline/rtems/score/tqdata.inl
+++ b/cpukit/score/inline/rtems/score/tqdata.inl
@@ -41,9 +41,9 @@ RTEMS_INLINE_ROUTINE uint32_t _Thread_queue_Header_number (
}
/**
- * This function returns TRUE if the_priority indicates that the
+ * This function returns true if the_priority indicates that the
* enqueue search should start at the front of this priority
- * group chain, and FALSE if the search should start at the rear.
+ * group chain, and false if the search should start at the rear.
*/
RTEMS_INLINE_ROUTINE bool _Thread_queue_Is_reverse_search (
diff --git a/cpukit/score/inline/rtems/score/watchdog.inl b/cpukit/score/inline/rtems/score/watchdog.inl
index c97a5359ac..3ec52d48ca 100644
--- a/cpukit/score/inline/rtems/score/watchdog.inl
+++ b/cpukit/score/inline/rtems/score/watchdog.inl
@@ -48,8 +48,8 @@ RTEMS_INLINE_ROUTINE void _Watchdog_Initialize(
}
/**
- * This routine returns TRUE if the watchdog timer is in the ACTIVE
- * state, and FALSE otherwise.
+ * This routine returns true if the watchdog timer is in the ACTIVE
+ * state, and false otherwise.
*/
RTEMS_INLINE_ROUTINE bool _Watchdog_Is_active(