summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-04 17:46:39 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-04 17:46:39 +0000
commit484a76996eeb65ad726b65946642516c70b3257b (patch)
tree6aed4eba45d4eb704f004622ecbf63e275bb876c /cpukit/score/src
parent2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-484a76996eeb65ad726b65946642516c70b3257b.tar.bz2
Convert to "bool".
Diffstat (limited to 'cpukit/score/src')
-rw-r--r--cpukit/score/src/corebarrierwait.c2
-rw-r--r--cpukit/score/src/coremsg.c10
-rw-r--r--cpukit/score/src/coremsginsert.c8
-rw-r--r--cpukit/score/src/coremsgseize.c2
-rw-r--r--cpukit/score/src/coremsgsubmit.c2
-rw-r--r--cpukit/score/src/coremutexseize.c2
-rw-r--r--cpukit/score/src/corerwlockobtainread.c2
-rw-r--r--cpukit/score/src/corerwlockobtainwrite.c2
-rw-r--r--cpukit/score/src/coresemseize.c2
-rw-r--r--cpukit/score/src/corespinlockwait.c2
-rw-r--r--cpukit/score/src/heapfree.c4
-rw-r--r--cpukit/score/src/heapresizeblock.c2
-rw-r--r--cpukit/score/src/heapsizeofuserarea.c2
-rw-r--r--cpukit/score/src/heapwalk.c6
-rw-r--r--cpukit/score/src/interr.c2
-rw-r--r--cpukit/score/src/objectinitializeinformation.c6
-rw-r--r--cpukit/score/src/objectmp.c4
-rw-r--r--cpukit/score/src/objectnametoid.c2
-rw-r--r--cpukit/score/src/objectsetname.c2
-rw-r--r--cpukit/score/src/pheapextend.c2
-rw-r--r--cpukit/score/src/pheapfree.c4
-rw-r--r--cpukit/score/src/pheapgetblocksize.c4
-rw-r--r--cpukit/score/src/pheapresizeblock.c2
-rw-r--r--cpukit/score/src/pheapwalk.c6
-rw-r--r--cpukit/score/src/threadchangepriority.c2
-rw-r--r--cpukit/score/src/threaddispatch.c2
-rw-r--r--cpukit/score/src/threadevaluatemode.c2
-rw-r--r--cpukit/score/src/threadinitialize.c8
-rw-r--r--cpukit/score/src/threadloadenv.c8
-rw-r--r--cpukit/score/src/threadqextractpriority.c2
-rw-r--r--cpukit/score/src/threadqextractwithproxy.c2
-rw-r--r--cpukit/score/src/threadrestart.c2
-rw-r--r--cpukit/score/src/threadresume.c2
-rw-r--r--cpukit/score/src/threadstart.c7
-rw-r--r--cpukit/score/src/timespecgreaterthan.c2
-rw-r--r--cpukit/score/src/timespecisvalid.c2
-rw-r--r--cpukit/score/src/timespeclessthan.c2
-rw-r--r--cpukit/score/src/userextthreadbegin.c2
-rw-r--r--cpukit/score/src/userextthreadcreate.c4
-rw-r--r--cpukit/score/src/wkspace.c2
40 files changed, 66 insertions, 67 deletions
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
)
{