summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-18 06:13:55 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-18 06:13:55 +0000
commita0ed4edee0b01392c5274ec85b26cf682a9ade3e (patch)
tree18fc392d8e8e24200cf2f38c4eda011df4442bd4 /cpukit/score/src
parentRemove stray white spaces. (diff)
downloadrtems-a0ed4edee0b01392c5274ec85b26cf682a9ade3e.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'cpukit/score/src')
-rw-r--r--cpukit/score/src/coremsg.c2
-rw-r--r--cpukit/score/src/coremsgflushsupp.c4
-rw-r--r--cpukit/score/src/coremsgflushwait.c2
-rw-r--r--cpukit/score/src/coremsginsert.c2
-rw-r--r--cpukit/score/src/coremsgseize.c4
-rw-r--r--cpukit/score/src/coremsgsubmit.c4
-rw-r--r--cpukit/score/src/coremutex.c4
-rw-r--r--cpukit/score/src/coremutexseize.c2
-rw-r--r--cpukit/score/src/coremutexsurrender.c8
-rw-r--r--cpukit/score/src/heapextend.c2
-rw-r--r--cpukit/score/src/heapgetinfo.c2
-rw-r--r--cpukit/score/src/mpci.c2
-rw-r--r--cpukit/score/src/objectallocate.c2
-rw-r--r--cpukit/score/src/objectallocatebyindex.c8
-rw-r--r--cpukit/score/src/objectclearname.c2
-rw-r--r--cpukit/score/src/objectextendinformation.c12
-rw-r--r--cpukit/score/src/objectfree.c2
-rw-r--r--cpukit/score/src/objectget.c2
-rw-r--r--cpukit/score/src/objectgetnoprotection.c4
-rw-r--r--cpukit/score/src/objectinitializeinformation.c8
-rw-r--r--cpukit/score/src/threadchangepriority.c4
-rw-r--r--cpukit/score/src/threadclearstate.c2
-rw-r--r--cpukit/score/src/threadhandler.c16
-rw-r--r--cpukit/score/src/threadinitialize.c4
-rw-r--r--cpukit/score/src/threadqdequeuefifo.c2
-rw-r--r--cpukit/score/src/threadqenqueuefifo.c6
-rw-r--r--cpukit/score/src/threadqextractwithproxy.c4
-rw-r--r--cpukit/score/src/threadready.c2
-rw-r--r--cpukit/score/src/threadresume.c2
-rw-r--r--cpukit/score/src/threadrotatequeue.c4
-rw-r--r--cpukit/score/src/threadstackallocate.c4
-rw-r--r--cpukit/score/src/threadstartmultitasking.c4
-rw-r--r--cpukit/score/src/threadtickletimeslice.c2
-rw-r--r--cpukit/score/src/watchdoginsert.c4
-rw-r--r--cpukit/score/src/watchdogremove.c2
-rw-r--r--cpukit/score/src/watchdogtickle.c4
36 files changed, 72 insertions, 72 deletions
diff --git a/cpukit/score/src/coremsg.c b/cpukit/score/src/coremsg.c
index 75fa7c170e..678da1d0b8 100644
--- a/cpukit/score/src/coremsg.c
+++ b/cpukit/score/src/coremsg.c
@@ -76,7 +76,7 @@ boolean _CORE_message_queue_Initialize(
message_buffering_required = maximum_pending_messages *
(allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
- the_message_queue->message_buffers = (CORE_message_queue_Buffer *)
+ the_message_queue->message_buffers = (CORE_message_queue_Buffer *)
_Workspace_Allocate( message_buffering_required );
if (the_message_queue->message_buffers == 0)
diff --git a/cpukit/score/src/coremsgflushsupp.c b/cpukit/score/src/coremsgflushsupp.c
index d0e2c99841..ddde563232 100644
--- a/cpukit/score/src/coremsgflushsupp.c
+++ b/cpukit/score/src/coremsgflushsupp.c
@@ -65,7 +65,7 @@ uint32_t _CORE_message_queue_Flush_support(
* waiting to send, there are two basic behaviors envisioned:
*
* (1) The thread queue of pending senders is a logical extension
- * of the pending message queue. In this case, it should be
+ * of the pending message queue. In this case, it should be
* flushed using the _Thread_queue_Flush() service with a status
* such as CORE_MESSAGE_QUEUE_SENDER_FLUSHED (which currently does
* not exist). This can be implemented without changing the "big-O"
@@ -80,7 +80,7 @@ uint32_t _CORE_message_queue_Flush_support(
* then the existing flush code can be used to dispose of the remaining
* pending messages.
*
- * For now, though, we are very happy to have a small routine with
+ * For now, though, we are very happy to have a small routine with
* fixed execution time that only deals with pending messages.
*/
diff --git a/cpukit/score/src/coremsgflushwait.c b/cpukit/score/src/coremsgflushwait.c
index 19d8e8f343..c7687ca797 100644
--- a/cpukit/score/src/coremsgflushwait.c
+++ b/cpukit/score/src/coremsgflushwait.c
@@ -52,7 +52,7 @@ void _CORE_message_queue_Flush_waiting_threads(
/*
* IF there are no pending messages,
* THEN threads may be blocked waiting to RECEIVE a message,
- *
+ *
* IF the pending message queue is full
* THEN threads may be blocked waiting to SEND a message
*
diff --git a/cpukit/score/src/coremsginsert.c b/cpukit/score/src/coremsginsert.c
index 21f8f8dd25..698cf3b60f 100644
--- a/cpukit/score/src/coremsginsert.c
+++ b/cpukit/score/src/coremsginsert.c
@@ -96,7 +96,7 @@ void _CORE_message_queue_Insert_message(
* the message is actually in the queue at this point.
*/
- if ( the_message_queue->number_of_pending_messages == 1 &&
+ if ( the_message_queue->number_of_pending_messages == 1 &&
the_message_queue->notify_handler )
(*the_message_queue->notify_handler)( the_message_queue->notify_argument );
}
diff --git a/cpukit/score/src/coremsgseize.c b/cpukit/score/src/coremsgseize.c
index ed140f0d90..050d361769 100644
--- a/cpukit/score/src/coremsgseize.c
+++ b/cpukit/score/src/coremsgseize.c
@@ -97,8 +97,8 @@ void _CORE_message_queue_Seize(
}
/*
- * There was a thread waiting to send a message. This code
- * puts the messages in the message queue on behalf of the
+ * There was a thread waiting to send a message. This code
+ * puts the messages in the message queue on behalf of the
* waiting task.
*/
diff --git a/cpukit/score/src/coremsgsubmit.c b/cpukit/score/src/coremsgsubmit.c
index ede23d285e..4c57535c13 100644
--- a/cpukit/score/src/coremsgsubmit.c
+++ b/cpukit/score/src/coremsgsubmit.c
@@ -151,12 +151,12 @@ CORE_message_queue_Status _CORE_message_queue_Submit(
/*
* WARNING!! executing should NOT be used prior to this point.
- * Thus the unusual choice to open a new scope and declare
+ * Thus the unusual choice to open a new scope and declare
* it as a variable. Doing this emphasizes how dangerous it
* would be to use this variable prior to here.
*/
- {
+ {
Thread_Control *executing = _Thread_Executing;
_ISR_Disable( level );
diff --git a/cpukit/score/src/coremutex.c b/cpukit/score/src/coremutex.c
index 6ec0f1ccf0..8e8b7456d8 100644
--- a/cpukit/score/src/coremutex.c
+++ b/cpukit/score/src/coremutex.c
@@ -30,7 +30,7 @@
* This routine initializes a mutex at create time and set the control
* structure according to the values passed.
*
- * Input parameters:
+ * Input parameters:
* the_mutex - the mutex control block to initialize
* the_mutex_attributes - the mutex attributes specified at create time
* initial_lock - mutex initial lock or unlocked status
@@ -45,7 +45,7 @@ void _CORE_mutex_Initialize(
)
{
-/* Add this to the RTEMS environment later ?????????
+/* Add this to the RTEMS environment later ?????????
rtems_assert( initial_lock == CORE_MUTEX_LOCKED ||
initial_lock == CORE_MUTEX_UNLOCKED );
*/
diff --git a/cpukit/score/src/coremutexseize.c b/cpukit/score/src/coremutexseize.c
index c6223f18f6..2645bcc5d8 100644
--- a/cpukit/score/src/coremutexseize.c
+++ b/cpukit/score/src/coremutexseize.c
@@ -80,7 +80,7 @@ int _CORE_mutex_Seize_interrupt_trylock(
CORE_mutex_Control *the_mutex,
ISR_Level *level_p
)
-{
+{
Thread_Control *executing;
ISR_Level level = *level_p;
diff --git a/cpukit/score/src/coremutexsurrender.c b/cpukit/score/src/coremutexsurrender.c
index 8866fce693..d527d1fa79 100644
--- a/cpukit/score/src/coremutexsurrender.c
+++ b/cpukit/score/src/coremutexsurrender.c
@@ -59,7 +59,7 @@ CORE_mutex_Status _CORE_mutex_Surrender(
* allowed when the mutex in quetion is FIFO or simple Priority
* discipline. But Priority Ceiling or Priority Inheritance mutexes
* must be released by the thread which acquired them.
- */
+ */
if ( the_mutex->Attributes.only_owner_release ) {
if ( !_Thread_Is_executing( holder ) )
@@ -68,7 +68,7 @@ CORE_mutex_Status _CORE_mutex_Surrender(
/* XXX already unlocked -- not right status */
- if ( !the_mutex->nest_count )
+ if ( !the_mutex->nest_count )
return CORE_MUTEX_STATUS_SUCCESSFUL;
the_mutex->nest_count--;
@@ -100,7 +100,7 @@ CORE_mutex_Status _CORE_mutex_Surrender(
if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ||
_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
- if ( holder->resource_count == 0 &&
+ if ( holder->resource_count == 0 &&
holder->real_priority != holder->current_priority ) {
_Thread_Change_priority( holder, holder->real_priority, TRUE );
}
@@ -117,7 +117,7 @@ CORE_mutex_Status _CORE_mutex_Surrender(
( *api_mutex_mp_support)( the_thread, id );
- } else
+ } else
#endif
{
diff --git a/cpukit/score/src/heapextend.c b/cpukit/score/src/heapextend.c
index d1608d62ea..3cb318d70b 100644
--- a/cpukit/score/src/heapextend.c
+++ b/cpukit/score/src/heapextend.c
@@ -93,7 +93,7 @@ Heap_Extend_status _Heap_Extend(
the_heap->final = new_final;
- old_final->front_flag =
+ old_final->front_flag =
new_final->back_flag = _Heap_Build_flag( size, HEAP_BLOCK_USED );
new_final->front_flag = HEAP_DUMMY_FLAG;
diff --git a/cpukit/score/src/heapgetinfo.c b/cpukit/score/src/heapgetinfo.c
index 2e7e2f28c9..b3f878f5f2 100644
--- a/cpukit/score/src/heapgetinfo.c
+++ b/cpukit/score/src/heapgetinfo.c
@@ -26,7 +26,7 @@
* the_heap - pointer to heap header
* the_info - pointer for information to be returned
*
- * Output parameters:
+ * Output parameters:
* *the_info - contains information about heap
* return 0=success, otherwise heap is corrupt.
*/
diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c
index a132c10cf3..adc2690dc6 100644
--- a/cpukit/score/src/mpci.c
+++ b/cpukit/score/src/mpci.c
@@ -35,7 +35,7 @@
* This subprogram performs the initialization necessary for this handler.
*/
-void _MPCI_Handler_initialization(
+void _MPCI_Handler_initialization(
MPCI_Control *users_mpci_table,
uint32_t timeout_status
)
diff --git a/cpukit/score/src/objectallocate.c b/cpukit/score/src/objectallocate.c
index 3a2d418b7a..4ad0da6756 100644
--- a/cpukit/score/src/objectallocate.c
+++ b/cpukit/score/src/objectallocate.c
@@ -38,7 +38,7 @@ Objects_Control *_Objects_Allocate(
Objects_Information *information
)
{
- Objects_Control *the_object =
+ Objects_Control *the_object =
(Objects_Control *) _Chain_Get( &information->Inactive );
if ( information->auto_extend ) {
diff --git a/cpukit/score/src/objectallocatebyindex.c b/cpukit/score/src/objectallocatebyindex.c
index af13780ad6..d3ca6423f1 100644
--- a/cpukit/score/src/objectallocatebyindex.c
+++ b/cpukit/score/src/objectallocatebyindex.c
@@ -30,8 +30,8 @@
*
* DESCRIPTION:
*
- * This function allocates the object control block
- * specified by the index from the inactive chain of
+ * This function allocates the object control block
+ * specified by the index from the inactive chain of
* free object control blocks.
*/
@@ -61,8 +61,8 @@ Objects_Control *_Objects_Allocate_by_index(
);
_Chain_Extract( &the_object->Node );
- return the_object;
- }
+ return the_object;
+ }
/*
* Autoextend will have to be thought out as it applies
diff --git a/cpukit/score/src/objectclearname.c b/cpukit/score/src/objectclearname.c
index 3d48ac039f..4ba3514f84 100644
--- a/cpukit/score/src/objectclearname.c
+++ b/cpukit/score/src/objectclearname.c
@@ -41,6 +41,6 @@ void _Objects_Clear_name(
uint32_t maximum = length / OBJECTS_NAME_ALIGNMENT;
uint32_t *name_ptr = (uint32_t *) name;
- for ( index=0 ; index < maximum ; index++ )
+ for ( index=0 ; index < maximum ; index++ )
*name_ptr++ = 0;
}
diff --git a/cpukit/score/src/objectextendinformation.c b/cpukit/score/src/objectextendinformation.c
index 0b28eb7852..b8652a4567 100644
--- a/cpukit/score/src/objectextendinformation.c
+++ b/cpukit/score/src/objectextendinformation.c
@@ -84,7 +84,7 @@ void _Objects_Extend_information(
uint32_t *inactive_per_block;
Objects_Control **local_table;
uint32_t maximum;
- void *old_tables;
+ void *old_tables;
/*
* Growing the tables means allocating a new area, doing a copy and
@@ -130,7 +130,7 @@ void _Objects_Extend_information(
else {
object_blocks = (void**)
_Workspace_Allocate_or_fatal_error(
- block_count *
+ block_count *
(sizeof(void *) + sizeof(uint32_t ) + sizeof(Objects_Name *)) +
((maximum + minimum_index) * sizeof(Objects_Control *))
);
@@ -209,7 +209,7 @@ void _Objects_Extend_information(
information->local_table = local_table;
information->maximum = maximum;
information->maximum_id = _Objects_Build_id(
- information->the_api,
+ information->the_api,
information->the_class,
_Objects_Local_node,
information->maximum
@@ -228,7 +228,7 @@ void _Objects_Extend_information(
*/
if ( information->auto_extend ) {
- information->object_blocks[ block ] =
+ information->object_blocks[ block ] =
_Workspace_Allocate(
(information->allocation_size * information->name_length) +
(information->allocation_size * information->size)
@@ -238,7 +238,7 @@ void _Objects_Extend_information(
return;
}
else {
- information->object_blocks[ block ] =
+ information->object_blocks[ block ] =
_Workspace_Allocate_or_fatal_error(
(information->allocation_size * information->name_length) +
(information->allocation_size * information->size)
@@ -271,7 +271,7 @@ void _Objects_Extend_information(
while ( (the_object = (Objects_Control *) _Chain_Get( &Inactive ) ) != NULL ) {
the_object->id = _Objects_Build_id(
- information->the_api,
+ information->the_api,
information->the_class,
_Objects_Local_node,
index
diff --git a/cpukit/score/src/objectfree.c b/cpukit/score/src/objectfree.c
index 68ce0f24f1..8d768b2f55 100644
--- a/cpukit/score/src/objectfree.c
+++ b/cpukit/score/src/objectfree.c
@@ -46,7 +46,7 @@ void _Objects_Free(
if ( information->auto_extend ) {
uint32_t block;
- block =
+ block =
_Objects_Get_index( the_object->id ) - _Objects_Get_index( information->minimum_id );
block /= information->allocation_size;
diff --git a/cpukit/score/src/objectget.c b/cpukit/score/src/objectget.c
index def31ca1d4..9b524899e5 100644
--- a/cpukit/score/src/objectget.c
+++ b/cpukit/score/src/objectget.c
@@ -62,7 +62,7 @@ Objects_Control *_Objects_Get(
/* index = (uint16_t ) id; */
#endif
- if ( information->maximum >= index ) {
+ if ( information->maximum >= index ) {
_Thread_Disable_dispatch();
if ( (the_object = information->local_table[ index ]) != NULL ) {
*location = OBJECTS_LOCAL;
diff --git a/cpukit/score/src/objectgetnoprotection.c b/cpukit/score/src/objectgetnoprotection.c
index 8dfd5b9617..667eae291c 100644
--- a/cpukit/score/src/objectgetnoprotection.c
+++ b/cpukit/score/src/objectgetnoprotection.c
@@ -62,7 +62,7 @@ Objects_Control *_Objects_Get_no_protection(
/* index = (uint16_t ) id; */
#endif
- if ( information->maximum >= index ) {
+ if ( information->maximum >= index ) {
if ( (the_object = information->local_table[ index ]) != NULL ) {
*location = OBJECTS_LOCAL;
return the_object;
@@ -72,7 +72,7 @@ Objects_Control *_Objects_Get_no_protection(
}
*location = OBJECTS_ERROR;
-/*
+/*
* Not supported for multiprocessing
*/
#if 0 && defined(RTEMS_MULTIPROCESSING)
diff --git a/cpukit/score/src/objectinitializeinformation.c b/cpukit/score/src/objectinitializeinformation.c
index 9f9c549933..88555a2944 100644
--- a/cpukit/score/src/objectinitializeinformation.c
+++ b/cpukit/score/src/objectinitializeinformation.c
@@ -36,7 +36,7 @@
* size - size of this object's control block
* is_string - TRUE if names for this object are strings
* maximum_name_length - maximum length of each object's name
- * When multiprocessing is configured,
+ * When multiprocessing is configured,
* supports_global - TRUE if this is a global object class
* extract_callout - pointer to threadq extract callout if MP
*
@@ -66,8 +66,8 @@ void _Objects_Initialize_information(
#endif
information->the_api = the_api;
- information->the_class = the_class;
- information->is_string = is_string;
+ information->the_class = the_class;
+ information->is_string = is_string;
information->local_table = 0;
information->name_table = 0;
@@ -124,7 +124,7 @@ void _Objects_Initialize_information(
name_length = maximum_name_length;
if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )
- name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &
+ name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &
~(OBJECTS_NAME_ALIGNMENT-1);
information->name_length = name_length;
diff --git a/cpukit/score/src/threadchangepriority.c b/cpukit/score/src/threadchangepriority.c
index 581a325183..eda2cd7dfa 100644
--- a/cpukit/score/src/threadchangepriority.c
+++ b/cpukit/score/src/threadchangepriority.c
@@ -65,13 +65,13 @@ void _Thread_Change_priority(
/*
* Techically, the prepend should conditional on the thread lowering
- * its priority but that does allow cxd2004 of the acvc 2.0.1 to
+ * its priority but that does allow cxd2004 of the acvc 2.0.1 to
* pass with rtems 4.0.0. This should change when gnat redoes its
* priority scheme.
*/
/*
if ( prepend_it &&
- _Thread_Is_executing( the_thread ) &&
+ _Thread_Is_executing( the_thread ) &&
new_priority >= the_thread->current_priority )
prepend_it = TRUE;
*/
diff --git a/cpukit/score/src/threadclearstate.c b/cpukit/score/src/threadclearstate.c
index ec3a1bc8cf..9833805b8c 100644
--- a/cpukit/score/src/threadclearstate.c
+++ b/cpukit/score/src/threadclearstate.c
@@ -58,7 +58,7 @@ void _Thread_Clear_state(
current_state = the_thread->current_state;
if ( current_state & state ) {
- current_state =
+ current_state =
the_thread->current_state = _States_Clear( state, current_state );
if ( _States_Is_ready( current_state ) ) {
diff --git a/cpukit/score/src/threadhandler.c b/cpukit/score/src/threadhandler.c
index 879a156660..a0d54e8579 100644
--- a/cpukit/score/src/threadhandler.c
+++ b/cpukit/score/src/threadhandler.c
@@ -41,11 +41,11 @@
* NOTE:
*
* On entry, it is assumed all interrupts are blocked and that this
- * routine needs to set the initial isr level. This may or may not
+ * routine needs to set the initial isr level. This may or may not
* actually be needed by the context switch routine and as a result
* interrupts may already be at there proper level. Either way,
* setting the initial isr level properly here is safe.
- *
+ *
* Currently this is only really needed for the posix port,
* ref: _Context_Switch in unix/cpu.c
*
@@ -120,7 +120,7 @@ void _Thread_Handler( void )
switch ( executing->Start.prototype ) {
case THREAD_START_NUMERIC:
- executing->Wait.return_argument =
+ executing->Wait.return_argument =
(*(Thread_Entry_numeric) executing->Start.entry_point)(
executing->Start.numeric_argument
);
@@ -132,15 +132,15 @@ void _Thread_Handler( void )
);
break;
case THREAD_START_BOTH_POINTER_FIRST:
- executing->Wait.return_argument =
- (*(Thread_Entry_both_pointer_first) executing->Start.entry_point)(
+ executing->Wait.return_argument =
+ (*(Thread_Entry_both_pointer_first) executing->Start.entry_point)(
executing->Start.pointer_argument,
executing->Start.numeric_argument
);
break;
case THREAD_START_BOTH_NUMERIC_FIRST:
- executing->Wait.return_argument =
- (*(Thread_Entry_both_numeric_first) executing->Start.entry_point)(
+ executing->Wait.return_argument =
+ (*(Thread_Entry_both_numeric_first) executing->Start.entry_point)(
executing->Start.numeric_argument,
executing->Start.pointer_argument
);
@@ -150,7 +150,7 @@ void _Thread_Handler( void )
/*
* In the switch above, the return code from the user thread body
* was placed in return_argument. This assumed that if it returned
- * anything (which is not supporting in all APIs), then it would be
+ * anything (which is not supporting in all APIs), then it would be
* able to fit in a (void *).
*/
diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c
index f7eb5e9ce0..f319fc73d9 100644
--- a/cpukit/score/src/threadinitialize.c
+++ b/cpukit/score/src/threadinitialize.c
@@ -76,7 +76,7 @@ boolean _Thread_Initialize(
actual_stack_size = _Thread_Stack_Allocate( the_thread, actual_stack_size );
- if ( !actual_stack_size )
+ if ( !actual_stack_size )
return FALSE; /* stack allocation failed */
stack = the_thread->Start.stack;
@@ -139,7 +139,7 @@ boolean _Thread_Initialize(
return FALSE;
}
- } else
+ } else
extensions_area = NULL;
the_thread->extensions = (void **) extensions_area;
diff --git a/cpukit/score/src/threadqdequeuefifo.c b/cpukit/score/src/threadqdequeuefifo.c
index 42a1a33bef..b3a7e10495 100644
--- a/cpukit/score/src/threadqdequeuefifo.c
+++ b/cpukit/score/src/threadqdequeuefifo.c
@@ -67,7 +67,7 @@ Thread_Control *_Thread_queue_Dequeue_fifo(
#endif
return the_thread;
- }
+ }
switch ( the_thread_queue->sync_state ) {
case THREAD_QUEUE_SYNCHRONIZED:
diff --git a/cpukit/score/src/threadqenqueuefifo.c b/cpukit/score/src/threadqenqueuefifo.c
index 874c29206f..87058b594a 100644
--- a/cpukit/score/src/threadqenqueuefifo.c
+++ b/cpukit/score/src/threadqenqueuefifo.c
@@ -54,14 +54,14 @@ void _Thread_queue_Enqueue_fifo (
the_thread_queue->sync_state = THREAD_QUEUE_SYNCHRONIZED;
switch ( sync_state ) {
- case THREAD_QUEUE_SYNCHRONIZED:
+ case THREAD_QUEUE_SYNCHRONIZED:
/*
* This should never happen. It indicates that someone did not
* enter a thread queue critical section.
*/
break;
- case THREAD_QUEUE_NOTHING_HAPPENED:
+ case THREAD_QUEUE_NOTHING_HAPPENED:
_Chain_Append_unprotected(
&the_thread_queue->Queues.Fifo,
&the_thread->Object.Node
@@ -69,7 +69,7 @@ void _Thread_queue_Enqueue_fifo (
_ISR_Enable( level );
return;
- case THREAD_QUEUE_TIMEOUT:
+ case THREAD_QUEUE_TIMEOUT:
the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
_ISR_Enable( level );
break;
diff --git a/cpukit/score/src/threadqextractwithproxy.c b/cpukit/score/src/threadqextractwithproxy.c
index 6e5cde1f75..6666b1a71a 100644
--- a/cpukit/score/src/threadqextractwithproxy.c
+++ b/cpukit/score/src/threadqextractwithproxy.c
@@ -26,7 +26,7 @@
* _Thread_queue_Extract_with_proxy
*
* This routine extracts the_thread from the_thread_queue
- * and ensures that if there is a proxy for this task on
+ * and ensures that if there is a proxy for this task on
* another node, it is also dealt with.
*
* XXX
@@ -48,7 +48,7 @@ boolean _Thread_queue_Extract_with_proxy(
the_information = _Objects_Get_information( the_thread->Wait.id );
- proxy_extract_callout =
+ proxy_extract_callout =
(Objects_Thread_queue_Extract_callout) the_information->extract;
if ( proxy_extract_callout )
diff --git a/cpukit/score/src/threadready.c b/cpukit/score/src/threadready.c
index b35ceb9343..cf80801b20 100644
--- a/cpukit/score/src/threadready.c
+++ b/cpukit/score/src/threadready.c
@@ -67,7 +67,7 @@ void _Thread_Ready(
heir = _Thread_Heir;
- if ( !_Thread_Is_executing( heir ) && _Thread_Executing->is_preemptible )
+ if ( !_Thread_Is_executing( heir ) && _Thread_Executing->is_preemptible )
_Context_Switch_necessary = TRUE;
_ISR_Enable( level );
diff --git a/cpukit/score/src/threadresume.c b/cpukit/score/src/threadresume.c
index 25e396d0be..65882d37ca 100644
--- a/cpukit/score/src/threadresume.c
+++ b/cpukit/score/src/threadresume.c
@@ -70,7 +70,7 @@ void _Thread_Resume(
current_state = the_thread->current_state;
if ( current_state & STATES_SUSPENDED ) {
- current_state =
+ current_state =
the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
if ( _States_Is_ready( current_state ) ) {
diff --git a/cpukit/score/src/threadrotatequeue.c b/cpukit/score/src/threadrotatequeue.c
index 762ee57b71..c9ddf2ba8c 100644
--- a/cpukit/score/src/threadrotatequeue.c
+++ b/cpukit/score/src/threadrotatequeue.c
@@ -38,7 +38,7 @@
* timeslice counter is reset. The heir THREAD will be updated if the
* running is also the currently the heir.
*
- * Input parameters:
+ * Input parameters:
* Priority of the queue we wish to modify.
*
* Output parameters: NONE
@@ -48,7 +48,7 @@
* select heir
*/
-void _Thread_Rotate_Ready_Queue(
+void _Thread_Rotate_Ready_Queue(
Priority_Control priority
)
{
diff --git a/cpukit/score/src/threadstackallocate.c b/cpukit/score/src/threadstackallocate.c
index e7247ca82e..74872d91f5 100644
--- a/cpukit/score/src/threadstackallocate.c
+++ b/cpukit/score/src/threadstackallocate.c
@@ -63,8 +63,8 @@ uint32_t _Thread_Stack_Allocate(
* returned the workspace allocate must be directly stored in the
* stack control block because it is later used in the free sequence.
*
- * Thus it is the responsibility of the CPU dependent code to
- * get and keep the stack adjust factor, the stack alignment, and
+ * Thus it is the responsibility of the CPU dependent code to
+ * get and keep the stack adjust factor, the stack alignment, and
* the context initialization sequence in sync.
*/
diff --git a/cpukit/score/src/threadstartmultitasking.c b/cpukit/score/src/threadstartmultitasking.c
index 5b0372f72d..6ce9a0529c 100644
--- a/cpukit/score/src/threadstartmultitasking.c
+++ b/cpukit/score/src/threadstartmultitasking.c
@@ -50,8 +50,8 @@
void _Thread_Start_multitasking( void )
{
/*
- * The system is now multitasking and completely initialized.
- * This system thread now either "goes away" in a single processor
+ * The system is now multitasking and completely initialized.
+ * This system thread now either "goes away" in a single processor
* system or "turns into" the server thread in an MP system.
*/
diff --git a/cpukit/score/src/threadtickletimeslice.c b/cpukit/score/src/threadtickletimeslice.c
index 88d523c7dd..db2c9461ef 100644
--- a/cpukit/score/src/threadtickletimeslice.c
+++ b/cpukit/score/src/threadtickletimeslice.c
@@ -52,7 +52,7 @@ void _Thread_Tickle_timeslice( void )
executing->ticks_executed++;
/*
- * If the thread is not preemptible or is not ready, then
+ * If the thread is not preemptible or is not ready, then
* just return.
*/
diff --git a/cpukit/score/src/watchdoginsert.c b/cpukit/score/src/watchdoginsert.c
index 17572da47b..c09135289e 100644
--- a/cpukit/score/src/watchdoginsert.c
+++ b/cpukit/score/src/watchdoginsert.c
@@ -74,11 +74,11 @@ restart:
delta_interval -= after->delta_interval;
/*
- * If you experience problems comment out the _ISR_Flash line.
+ * If you experience problems comment out the _ISR_Flash line.
* 3.2.0 was the first release with this critical section redesigned.
* Under certain circumstances, the PREVIOUS critical section algorithm
* used around this flash point allowed interrupts to execute
- * which violated the design assumptions. The critical section
+ * which violated the design assumptions. The critical section
* mechanism used here WAS redesigned to address this.
*/
diff --git a/cpukit/score/src/watchdogremove.c b/cpukit/score/src/watchdogremove.c
index eb8f40f070..91e4c30340 100644
--- a/cpukit/score/src/watchdogremove.c
+++ b/cpukit/score/src/watchdogremove.c
@@ -38,7 +38,7 @@ Watchdog_States _Watchdog_Remove(
case WATCHDOG_INACTIVE:
break;
- case WATCHDOG_BEING_INSERTED:
+ case WATCHDOG_BEING_INSERTED:
/*
* It is not actually on the chain so just change the state and
diff --git a/cpukit/score/src/watchdogtickle.c b/cpukit/score/src/watchdogtickle.c
index f75f099e50..9d5060fec4 100644
--- a/cpukit/score/src/watchdogtickle.c
+++ b/cpukit/score/src/watchdogtickle.c
@@ -39,7 +39,7 @@ void _Watchdog_Tickle(
/*
* See the comment in watchdoginsert.c and watchdogadjust.c
- * about why it's safe not to declare header a pointer to
+ * about why it's safe not to declare header a pointer to
* volatile data - till, 2003/7
*/
@@ -69,7 +69,7 @@ void _Watchdog_Tickle(
case WATCHDOG_INACTIVE:
/*
* This state indicates that the watchdog is not on any chain.
- * Thus, it is NOT on a chain being tickled. This case should
+ * Thus, it is NOT on a chain being tickled. This case should
* never occur.
*/
break;