summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-30 16:01:51 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-30 16:01:51 +0000
commit05c18861dd58a08076d0fa97f72cb88c4a5698e5 (patch)
tree44213053eba92e81452144bb67dba9a6f62841a9 /cpukit/rtems
parentWhitespace removal. (diff)
downloadrtems-05c18861dd58a08076d0fa97f72cb88c4a5698e5.tar.bz2
Whitespace removal.
Diffstat (limited to 'cpukit/rtems')
-rw-r--r--cpukit/rtems/src/clockget.c6
-rw-r--r--cpukit/rtems/src/clockgettod.c2
-rw-r--r--cpukit/rtems/src/clockgetuptime.c2
-rw-r--r--cpukit/rtems/src/clockset.c2
-rw-r--r--cpukit/rtems/src/clocktodvalidate.c2
-rw-r--r--cpukit/rtems/src/eventsurrender.c4
-rw-r--r--cpukit/rtems/src/msg.c2
-rw-r--r--cpukit/rtems/src/ratemonperiod.c10
-rw-r--r--cpukit/rtems/src/ratemonreportstatistics.c4
-rw-r--r--cpukit/rtems/src/regionprocessqueue.c4
-rw-r--r--cpukit/rtems/src/rtemsbuildid.c2
-rw-r--r--cpukit/rtems/src/rtemsbuildname.c2
-rw-r--r--cpukit/rtems/src/rtemsobjectgetapiclassname.c4
-rw-r--r--cpukit/rtems/src/rtemsobjectgetapiname.c8
-rw-r--r--cpukit/rtems/src/rtemsobjectgetname.c2
-rw-r--r--cpukit/rtems/src/rtemsobjectidgetapi.c2
-rw-r--r--cpukit/rtems/src/rtemsobjectidgetclass.c2
-rw-r--r--cpukit/rtems/src/rtemsobjectidgetindex.c2
-rw-r--r--cpukit/rtems/src/rtemsobjectidgetnode.c2
-rw-r--r--cpukit/rtems/src/rtemsobjectsetname.c2
-rw-r--r--cpukit/rtems/src/semcreate.c2
-rw-r--r--cpukit/rtems/src/taskgetnote.c2
-rw-r--r--cpukit/rtems/src/tasksetnote.c2
-rw-r--r--cpukit/rtems/src/taskvariabledelete.c2
24 files changed, 37 insertions, 37 deletions
diff --git a/cpukit/rtems/src/clockget.c b/cpukit/rtems/src/clockget.c
index bebc100fd6..03d8ec453f 100644
--- a/cpukit/rtems/src/clockget.c
+++ b/cpukit/rtems/src/clockget.c
@@ -49,21 +49,21 @@ rtems_status_code rtems_clock_get(
return RTEMS_INVALID_ADDRESS;
if ( option == RTEMS_CLOCK_GET_TOD )
- return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );
+ return rtems_clock_get_tod( (rtems_time_of_day *)time_buffer );
if ( option == RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH )
return rtems_clock_get_seconds_since_epoch((rtems_interval *)time_buffer);
if ( option == RTEMS_CLOCK_GET_TICKS_SINCE_BOOT ) {
rtems_interval *interval = (rtems_interval *)time_buffer;
-
+
*interval = rtems_clock_get_ticks_since_boot();
return RTEMS_SUCCESSFUL;
}
if ( option == RTEMS_CLOCK_GET_TICKS_PER_SECOND ) {
rtems_interval *interval = (rtems_interval *)time_buffer;
-
+
*interval = rtems_clock_get_ticks_per_second();
return RTEMS_SUCCESSFUL;
}
diff --git a/cpukit/rtems/src/clockgettod.c b/cpukit/rtems/src/clockgettod.c
index 128fd3480e..4c4e77c2ae 100644
--- a/cpukit/rtems/src/clockgettod.c
+++ b/cpukit/rtems/src/clockgettod.c
@@ -53,6 +53,6 @@ rtems_status_code rtems_clock_get_tod(
tmbuf->second = time.tm_sec;
tmbuf->ticks = now.tv_usec /
rtems_configuration_get_microseconds_per_tick();
-
+
return RTEMS_SUCCESSFUL;
}
diff --git a/cpukit/rtems/src/clockgetuptime.c b/cpukit/rtems/src/clockgetuptime.c
index 9ac834c5f5..b6ea0e5448 100644
--- a/cpukit/rtems/src/clockgetuptime.c
+++ b/cpukit/rtems/src/clockgetuptime.c
@@ -45,7 +45,7 @@ rtems_status_code rtems_clock_get_uptime(
{
if ( !uptime )
return RTEMS_INVALID_ADDRESS;
-
+
_TOD_Get_uptime_as_timespec( uptime );
return RTEMS_SUCCESSFUL;
}
diff --git a/cpukit/rtems/src/clockset.c b/cpukit/rtems/src/clockset.c
index 30127cdc39..bb27697829 100644
--- a/cpukit/rtems/src/clockset.c
+++ b/cpukit/rtems/src/clockset.c
@@ -49,7 +49,7 @@ rtems_status_code rtems_clock_set(
if ( _TOD_Validate( time_buffer ) ) {
newtime.tv_sec = _TOD_To_seconds( time_buffer );
- newtime.tv_nsec = time_buffer->ticks *
+ newtime.tv_nsec = time_buffer->ticks *
rtems_configuration_get_nanoseconds_per_tick();
_Thread_Disable_dispatch();
diff --git a/cpukit/rtems/src/clocktodvalidate.c b/cpukit/rtems/src/clocktodvalidate.c
index 6d0bf45be7..1dac1dc6b1 100644
--- a/cpukit/rtems/src/clocktodvalidate.c
+++ b/cpukit/rtems/src/clocktodvalidate.c
@@ -54,7 +54,7 @@ bool _TOD_Validate(
uint32_t days_in_month;
uint32_t ticks_per_second;
- ticks_per_second = TOD_MICROSECONDS_PER_SECOND /
+ ticks_per_second = TOD_MICROSECONDS_PER_SECOND /
rtems_configuration_get_microseconds_per_tick();
if ((!the_tod) ||
(the_tod->ticks >= ticks_per_second) ||
diff --git a/cpukit/rtems/src/eventsurrender.c b/cpukit/rtems/src/eventsurrender.c
index 904a7e2b07..179727f523 100644
--- a/cpukit/rtems/src/eventsurrender.c
+++ b/cpukit/rtems/src/eventsurrender.c
@@ -75,13 +75,13 @@ void _Event_Surrender(
* If we are in an ISR and sending to the current thread, then
* we have a critical section issue to deal with.
*/
- if ( _ISR_Is_in_progress() &&
+ if ( _ISR_Is_in_progress() &&
_Thread_Is_executing( the_thread ) &&
((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||
(_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
api->pending_events = _Event_sets_Clear( pending_events,seized_events );
- the_thread->Wait.count = 0;
+ the_thread->Wait.count = 0;
*(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
_Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;
}
diff --git a/cpukit/rtems/src/msg.c b/cpukit/rtems/src/msg.c
index 2f00db3e24..25e65aaaa5 100644
--- a/cpukit/rtems/src/msg.c
+++ b/cpukit/rtems/src/msg.c
@@ -53,7 +53,7 @@ void _Message_queue_Manager_initialization(void)
&_Message_queue_Information, /* object information table */
OBJECTS_CLASSIC_API, /* object API */
OBJECTS_RTEMS_MESSAGE_QUEUES, /* object class */
- Configuration_RTEMS_API.maximum_message_queues,
+ Configuration_RTEMS_API.maximum_message_queues,
/* maximum objects of this class */
sizeof( Message_queue_Control ),
/* size of this object's control block */
diff --git a/cpukit/rtems/src/ratemonperiod.c b/cpukit/rtems/src/ratemonperiod.c
index 5796f0fe07..9d2ed6006a 100644
--- a/cpukit/rtems/src/ratemonperiod.c
+++ b/cpukit/rtems/src/ratemonperiod.c
@@ -61,7 +61,7 @@ void _Rate_monotonic_Initiate_statistics(
* When this routine is invoked from _Rate_monotonic_Timeout, it will not.
*/
#ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS
- if (owning_thread == _Thread_Executing) {
+ if (owning_thread == _Thread_Executing) {
rtems_thread_cpu_usage_t ran;
@@ -126,7 +126,7 @@ void _Rate_monotonic_Update_statistics(
#ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS
{
Thread_CPU_usage_t ran, used;
-
+
/* Grab CPU usage when the thread got switched in */
used = _Thread_Executing->cpu_time_used;
@@ -141,7 +141,7 @@ void _Rate_monotonic_Update_statistics(
_Timestamp_Add_to( &used, &ran );
/* executed = current cpu usage - value at start of period */
- _Timestamp_Subtract(
+ _Timestamp_Subtract(
&the_period->owner_executed_at_period,
&used,
&executed
@@ -163,10 +163,10 @@ void _Rate_monotonic_Update_statistics(
#ifdef RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS
_Timestamp_Add_to( &stats->total_cpu_time, &executed );
- if ( _Timestamp_Less_than( &executed, &stats->min_cpu_time ) )
+ if ( _Timestamp_Less_than( &executed, &stats->min_cpu_time ) )
stats->min_cpu_time = executed;
- if ( _Timestamp_Greater_than( &executed, &stats->max_cpu_time ) )
+ if ( _Timestamp_Greater_than( &executed, &stats->max_cpu_time ) )
stats->max_cpu_time = executed;
#else
stats->total_cpu_time += executed;
diff --git a/cpukit/rtems/src/ratemonreportstatistics.c b/cpukit/rtems/src/ratemonreportstatistics.c
index 59bb07c96f..2aa5129bcc 100644
--- a/cpukit/rtems/src/ratemonreportstatistics.c
+++ b/cpukit/rtems/src/ratemonreportstatistics.c
@@ -110,7 +110,7 @@ ididididid NNNN ccccc mmmmmm X
status = rtems_rate_monotonic_get_statistics( id, &the_stats );
if ( status != RTEMS_SUCCESSFUL )
continue;
-
+
/* If the above passed, so should this but check it anyway */
status = rtems_rate_monotonic_get_status( id, &the_status );
#if defined(RTEMS_DEBUG)
@@ -121,7 +121,7 @@ ididididid NNNN ccccc mmmmmm X
rtems_object_get_name( the_status.owner, sizeof(name), name );
/*
- * Print part of report line that is not dependent on granularity
+ * Print part of report line that is not dependent on granularity
*/
(*print)( context,
"0x%08" PRIx32 " %4s %5" PRId32 " %6" PRId32 " ",
diff --git a/cpukit/rtems/src/regionprocessqueue.c b/cpukit/rtems/src/regionprocessqueue.c
index bd138fc686..011e646a6c 100644
--- a/cpukit/rtems/src/regionprocessqueue.c
+++ b/cpukit/rtems/src/regionprocessqueue.c
@@ -51,10 +51,10 @@ void _Region_Process_queue(
* Switch from using the memory allocation mutex to using a
* dispatching disabled critical section. We have to do this
* because this thread may unblock one or more threads that were
- * waiting on memory.
+ * waiting on memory.
*
* NOTE: Be sure to disable dispatching before unlocking the mutex
- * since we do not want to open a window where a context
+ * since we do not want to open a window where a context
* switch could occur.
*/
_Thread_Disable_dispatch();
diff --git a/cpukit/rtems/src/rtemsbuildid.c b/cpukit/rtems/src/rtemsbuildid.c
index 9212ee32dd..916d1dfab5 100644
--- a/cpukit/rtems/src/rtemsbuildid.c
+++ b/cpukit/rtems/src/rtemsbuildid.c
@@ -28,4 +28,4 @@ rtems_id rtems_build_id(
)
{
return _Objects_Build_id( api, class, node, index );
-}
+}
diff --git a/cpukit/rtems/src/rtemsbuildname.c b/cpukit/rtems/src/rtemsbuildname.c
index 7f299863fa..1fbd727297 100644
--- a/cpukit/rtems/src/rtemsbuildname.c
+++ b/cpukit/rtems/src/rtemsbuildname.c
@@ -28,4 +28,4 @@ rtems_name rtems_build_name(
)
{
return _Objects_Build_name( C1, C2, C3, C4 );
-}
+}
diff --git a/cpukit/rtems/src/rtemsobjectgetapiclassname.c b/cpukit/rtems/src/rtemsobjectgetapiclassname.c
index 56cf8a3197..c85da43197 100644
--- a/cpukit/rtems/src/rtemsobjectgetapiclassname.c
+++ b/cpukit/rtems/src/rtemsobjectgetapiclassname.c
@@ -70,13 +70,13 @@ rtems_assoc_t rtems_object_api_itron_assoc[] = {
#endif
const char *rtems_object_get_api_class_name(
- int the_api,
+ int the_api,
int the_class
)
{
const rtems_assoc_t *api_assoc;
const rtems_assoc_t *class_assoc;
-
+
if ( the_api == OBJECTS_INTERNAL_API )
api_assoc = rtems_object_api_internal_assoc;
else if ( the_api == OBJECTS_CLASSIC_API )
diff --git a/cpukit/rtems/src/rtemsobjectgetapiname.c b/cpukit/rtems/src/rtemsobjectgetapiname.c
index 026bd55a7d..d4c2759ece 100644
--- a/cpukit/rtems/src/rtemsobjectgetapiname.c
+++ b/cpukit/rtems/src/rtemsobjectgetapiname.c
@@ -22,10 +22,10 @@
#include <rtems/assoc.h>
rtems_assoc_t rtems_objects_api_assoc[] = {
- { "Internal", OBJECTS_INTERNAL_API, 0},
- { "Classic", OBJECTS_CLASSIC_API, 0},
- { "POSIX", OBJECTS_POSIX_API, 0},
- { "ITRON", OBJECTS_ITRON_API, 0},
+ { "Internal", OBJECTS_INTERNAL_API, 0},
+ { "Classic", OBJECTS_CLASSIC_API, 0},
+ { "POSIX", OBJECTS_POSIX_API, 0},
+ { "ITRON", OBJECTS_ITRON_API, 0},
{ 0, 0, 0 }
};
diff --git a/cpukit/rtems/src/rtemsobjectgetname.c b/cpukit/rtems/src/rtemsobjectgetname.c
index 0f03924348..c414d2e478 100644
--- a/cpukit/rtems/src/rtemsobjectgetname.c
+++ b/cpukit/rtems/src/rtemsobjectgetname.c
@@ -30,4 +30,4 @@ char *rtems_object_get_name(
)
{
return _Objects_Get_name_as_string( id, length, name );
-}
+}
diff --git a/cpukit/rtems/src/rtemsobjectidgetapi.c b/cpukit/rtems/src/rtemsobjectidgetapi.c
index 999d5702f0..859e4b5bc6 100644
--- a/cpukit/rtems/src/rtemsobjectidgetapi.c
+++ b/cpukit/rtems/src/rtemsobjectidgetapi.c
@@ -25,4 +25,4 @@ int rtems_object_id_get_api(
)
{
return _Objects_Get_API( id );
-}
+}
diff --git a/cpukit/rtems/src/rtemsobjectidgetclass.c b/cpukit/rtems/src/rtemsobjectidgetclass.c
index db31e794e8..fe85050c4a 100644
--- a/cpukit/rtems/src/rtemsobjectidgetclass.c
+++ b/cpukit/rtems/src/rtemsobjectidgetclass.c
@@ -25,4 +25,4 @@ int rtems_object_id_get_class(
)
{
return _Objects_Get_class( id );
-}
+}
diff --git a/cpukit/rtems/src/rtemsobjectidgetindex.c b/cpukit/rtems/src/rtemsobjectidgetindex.c
index 167b238767..67f795be8d 100644
--- a/cpukit/rtems/src/rtemsobjectidgetindex.c
+++ b/cpukit/rtems/src/rtemsobjectidgetindex.c
@@ -25,4 +25,4 @@ int rtems_object_id_get_index(
)
{
return _Objects_Get_index( id );
-}
+}
diff --git a/cpukit/rtems/src/rtemsobjectidgetnode.c b/cpukit/rtems/src/rtemsobjectidgetnode.c
index b6278050f9..5dfae4b1f9 100644
--- a/cpukit/rtems/src/rtemsobjectidgetnode.c
+++ b/cpukit/rtems/src/rtemsobjectidgetnode.c
@@ -25,4 +25,4 @@ int rtems_object_id_get_node(
)
{
return _Objects_Get_node( id );
-}
+}
diff --git a/cpukit/rtems/src/rtemsobjectsetname.c b/cpukit/rtems/src/rtemsobjectsetname.c
index 42a5f5f235..91fac13e7c 100644
--- a/cpukit/rtems/src/rtemsobjectsetname.c
+++ b/cpukit/rtems/src/rtemsobjectsetname.c
@@ -44,7 +44,7 @@ rtems_status_code rtems_object_set_name(
information = _Objects_Get_information_id( tmpId );
if ( !information )
return RTEMS_INVALID_ID;
-
+
the_object = _Objects_Get( information, tmpId, &location );
switch ( location ) {
diff --git a/cpukit/rtems/src/semcreate.c b/cpukit/rtems/src/semcreate.c
index 27da93a603..49cffc8e10 100644
--- a/cpukit/rtems/src/semcreate.c
+++ b/cpukit/rtems/src/semcreate.c
@@ -196,7 +196,7 @@ rtems_status_code rtems_semaphore_create(
&the_semaphore->Core_control.mutex,
&the_mutex_attr,
(count == 1) ? CORE_MUTEX_UNLOCKED : CORE_MUTEX_LOCKED
- );
+ );
if ( mutex_status == CORE_MUTEX_STATUS_CEILING_VIOLATED ) {
_Semaphore_Free( the_semaphore );
diff --git a/cpukit/rtems/src/taskgetnote.c b/cpukit/rtems/src/taskgetnote.c
index b3983f322a..dda1ddb7ae 100644
--- a/cpukit/rtems/src/taskgetnote.c
+++ b/cpukit/rtems/src/taskgetnote.c
@@ -63,7 +63,7 @@ rtems_status_code rtems_task_get_note(
if ( !rtems_configuration_get_notepads_enabled() )
return RTEMS_NOT_CONFIGURED;
-
+
if ( !note )
return RTEMS_INVALID_ADDRESS;
diff --git a/cpukit/rtems/src/tasksetnote.c b/cpukit/rtems/src/tasksetnote.c
index e104ba5069..45825aeb46 100644
--- a/cpukit/rtems/src/tasksetnote.c
+++ b/cpukit/rtems/src/tasksetnote.c
@@ -61,7 +61,7 @@ rtems_status_code rtems_task_set_note(
if ( !rtems_configuration_get_notepads_enabled() )
return RTEMS_NOT_CONFIGURED;
-
+
/*
* NOTE: There is no check for < RTEMS_NOTEPAD_FIRST because that would
* be checking an unsigned number for being negative.
diff --git a/cpukit/rtems/src/taskvariabledelete.c b/cpukit/rtems/src/taskvariabledelete.c
index e376c0167e..fe34732f57 100644
--- a/cpukit/rtems/src/taskvariabledelete.c
+++ b/cpukit/rtems/src/taskvariabledelete.c
@@ -49,7 +49,7 @@ rtems_status_code rtems_task_variable_delete(
if (tvp->ptr == ptr) {
if (prev)
prev->next = tvp->next;
- else
+ else
the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
_RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );