summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/src
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 11:54:29 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 11:54:29 +0000
commit84860816e3b153918b269589693cdfd0bb66ae70 (patch)
tree8675c56bdbc5e34947d4731131cc7896d5385e08 /cpukit/sapi/src
parent2004-04-14 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-84860816e3b153918b269589693cdfd0bb66ae70.tar.bz2
Remove stray white spaces.
Diffstat (limited to '')
-rw-r--r--cpukit/sapi/src/debug.c10
-rw-r--r--cpukit/sapi/src/exinit.c22
-rw-r--r--cpukit/sapi/src/io.c36
-rw-r--r--cpukit/sapi/src/itronapi.c8
-rw-r--r--cpukit/sapi/src/posixapi.c6
-rw-r--r--cpukit/sapi/src/rtemsapi.c24
6 files changed, 53 insertions, 53 deletions
diff --git a/cpukit/sapi/src/debug.c b/cpukit/sapi/src/debug.c
index 282ce6b7cb..4f6c68ea5c 100644
--- a/cpukit/sapi/src/debug.c
+++ b/cpukit/sapi/src/debug.c
@@ -18,29 +18,29 @@
*
* _Debug_Manager_initialization
*/
-
+
void _Debug_Manager_initialization( void )
{
rtems_debug_disable( RTEMS_DEBUG_ALL_MASK );
}
-
+
/*PAGE
*
* rtems_debug_enable
*/
-
+
void rtems_debug_enable (
rtems_debug_control to_be_enabled
)
{
_Debug_Level |= to_be_enabled;
}
-
+
/*PAGE
*
* rtems_debug_disable
*/
-
+
void rtems_debug_disable (
rtems_debug_control to_be_disabled
)
diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c
index 086f1098de..82e8c6efab 100644
--- a/cpukit/sapi/src/exinit.c
+++ b/cpukit/sapi/src/exinit.c
@@ -12,7 +12,7 @@
*/
/*
- * SCORE_INIT and SAPI_INIT are defined so all of the super core and
+ * SCORE_INIT and SAPI_INIT are defined so all of the super core and
* super API data will be included in this object file.
*/
@@ -138,7 +138,7 @@ rtems_interrupt_level rtems_initialize_executive_early(
*/
if ( multiprocessing_table == NULL )
- multiprocessing_table =
+ multiprocessing_table =
(void *)&_Initialization_Default_multiprocessing_table;
if ( cpu_table == NULL )
@@ -224,7 +224,7 @@ rtems_interrupt_level rtems_initialize_executive_early(
_System_state_Set( SYSTEM_STATE_BEFORE_MULTITASKING );
/*
- * No threads should be created before this point!!!
+ * No threads should be created before this point!!!
* _Thread_Executing and _Thread_Heir are not set.
*
* At this point all API extensions are in place. After the call to
@@ -248,20 +248,20 @@ rtems_interrupt_level rtems_initialize_executive_early(
/*
* Run the API and BSPs predriver hook.
*/
-
+
_API_extensions_Run_predriver();
-
+
if ( _CPU_Table.predriver_hook )
(*_CPU_Table.predriver_hook)();
-
+
/*
* Initialize all the device drivers and initialize the MPCI layer.
*
* NOTE: The MPCI may be build upon a device driver.
*/
-
+
_IO_Initialize_all_drivers();
-
+
#if defined(RTEMS_MULTIPROCESSING)
if ( _System_state_Is_multiprocessing ) {
_MPCI_Initialization();
@@ -270,15 +270,15 @@ rtems_interrupt_level rtems_initialize_executive_early(
);
}
#endif
-
+
/*
* Run the APIs and BSPs postdriver hooks.
*
* The API extensions are supposed to create user initialization tasks.
*/
-
+
_API_extensions_Run_postdriver();
-
+
if ( _CPU_Table.postdriver_hook )
(*_CPU_Table.postdriver_hook)();
diff --git a/cpukit/sapi/src/io.c b/cpukit/sapi/src/io.c
index 9479c68d56..b4bb4b6a9d 100644
--- a/cpukit/sapi/src/io.c
+++ b/cpukit/sapi/src/io.c
@@ -29,7 +29,7 @@
* workspace.
*
*/
-
+
void _IO_Manager_initialization(
rtems_driver_address_table *driver_table,
uint32_t drivers_in_table,
@@ -43,11 +43,11 @@ void _IO_Manager_initialization(
if ( number_of_drivers < drivers_in_table )
number_of_drivers = drivers_in_table;
-
+
tmp = _Workspace_Allocate_or_fatal_error(
sizeof( rtems_driver_address_table ) * ( number_of_drivers )
);
-
+
_IO_Driver_address_table = (rtems_driver_address_table *) tmp;
memset(
@@ -58,16 +58,16 @@ void _IO_Manager_initialization(
if ( drivers_in_table )
for ( index = 0 ; index < drivers_in_table ; index++ )
_IO_Driver_address_table[index] = driver_table[index];
-
+
_IO_Number_of_drivers = number_of_drivers;
_IO_Number_of_devices = number_of_devices;
-
+
tmp = _Workspace_Allocate_or_fatal_error(
sizeof( rtems_driver_name_t ) * ( number_of_devices + 1 )
);
-
+
_IO_Driver_name_table = (rtems_driver_name_t *) tmp;
-
+
for( index=0, np = _IO_Driver_name_table ;
index < _IO_Number_of_devices ;
index++, np++ ) {
@@ -109,7 +109,7 @@ void _IO_Initialize_all_drivers( void )
* driver_table - driver callout function table
* registered_major - the major number which is registered
*
- * Output Parameters:
+ * Output Parameters:
* RTEMS_SUCCESSFUL - if successful
* error code - if unsuccessful
*/
@@ -142,7 +142,7 @@ rtems_status_code rtems_io_register_driver(
_IO_Driver_address_table[major].open_entry == 0 ))
return RTEMS_TOO_MANY;
}
-
+
if ( _IO_Driver_address_table[major].initialization_entry == 0 &&
_IO_Driver_address_table[major].open_entry == 0 )
{
@@ -166,7 +166,7 @@ rtems_status_code rtems_io_register_driver(
* Input Paramters:
* major - device major number
*
- * Output Parameters:
+ * Output Parameters:
* RTEMS_SUCCESSFUL - if successful
* error code - if unsuccessful
*/
@@ -198,7 +198,7 @@ rtems_status_code rtems_io_unregister_driver(
* major - device major number to receive name
* minor - device minor number to receive name
*
- * Output Parameters:
+ * Output Parameters:
* RTEMS_SUCCESSFUL - if successful
* error code - if unsuccessful
*/
@@ -216,7 +216,7 @@ rtems_status_code rtems_io_register_name(
/* find an empty slot */
for( index=0, np = _IO_Driver_name_table ;
- index < _IO_Number_of_devices ;
+ index < _IO_Number_of_devices ;
index++, np++ )
{
@@ -260,7 +260,7 @@ rtems_status_code rtems_io_initialize(
)
{
rtems_device_driver_entry callout;
-
+
if ( major >= _IO_Number_of_drivers )
return RTEMS_INVALID_NUMBER;
@@ -290,7 +290,7 @@ rtems_status_code rtems_io_open(
)
{
rtems_device_driver_entry callout;
-
+
if ( major >= _IO_Number_of_drivers )
return RTEMS_INVALID_NUMBER;
@@ -320,7 +320,7 @@ rtems_status_code rtems_io_close(
)
{
rtems_device_driver_entry callout;
-
+
if ( major >= _IO_Number_of_drivers )
return RTEMS_INVALID_NUMBER;
@@ -350,7 +350,7 @@ rtems_status_code rtems_io_read(
)
{
rtems_device_driver_entry callout;
-
+
if ( major >= _IO_Number_of_drivers )
return RTEMS_INVALID_NUMBER;
@@ -380,7 +380,7 @@ rtems_status_code rtems_io_write(
)
{
rtems_device_driver_entry callout;
-
+
if ( major >= _IO_Number_of_drivers )
return RTEMS_INVALID_NUMBER;
@@ -410,7 +410,7 @@ rtems_status_code rtems_io_control(
)
{
rtems_device_driver_entry callout;
-
+
if ( major >= _IO_Number_of_drivers )
return RTEMS_INVALID_NUMBER;
diff --git a/cpukit/sapi/src/itronapi.c b/cpukit/sapi/src/itronapi.c
index 580317d8b4..23f6533fb2 100644
--- a/cpukit/sapi/src/itronapi.c
+++ b/cpukit/sapi/src/itronapi.c
@@ -73,18 +73,18 @@ void _ITRON_API_Initialize(
assert( sizeof(ID) == sizeof(Objects_Id) );
api_configuration = configuration_table->ITRON_api_configuration;
- if ( !api_configuration )
+ if ( !api_configuration )
api_configuration = &_ITRON_Default_configuration;
_Objects_Information_table[OBJECTS_ITRON_API] = _ITRON_Objects;
-
+
_ITRON_Task_Manager_initialization(
api_configuration->maximum_tasks,
api_configuration->number_of_initialization_tasks,
api_configuration->User_initialization_tasks_table
);
-
- _ITRON_Semaphore_Manager_initialization(
+
+ _ITRON_Semaphore_Manager_initialization(
api_configuration->maximum_semaphores
);
diff --git a/cpukit/sapi/src/posixapi.c b/cpukit/sapi/src/posixapi.c
index 79ebfa64c4..a062ecf21b 100644
--- a/cpukit/sapi/src/posixapi.c
+++ b/cpukit/sapi/src/posixapi.c
@@ -75,7 +75,7 @@ void _POSIX_API_Initialize(
assert( sizeof(pthread_t) == sizeof(Objects_Id) );
api_configuration = configuration_table->POSIX_api_configuration;
- if ( !api_configuration )
+ if ( !api_configuration )
api_configuration = &_POSIX_Default_configuration;
_Objects_Information_table[OBJECTS_POSIX_API] = _POSIX_Objects;
@@ -89,14 +89,14 @@ void _POSIX_API_Initialize(
api_configuration->number_of_initialization_threads,
api_configuration->User_initialization_threads_table
);
-
+
_POSIX_Condition_variables_Manager_initialization(
api_configuration->maximum_condition_variables
);
_POSIX_Key_Manager_initialization( api_configuration->maximum_keys );
- _POSIX_Mutex_Manager_initialization(
+ _POSIX_Mutex_Manager_initialization(
api_configuration->maximum_mutexes
);
diff --git a/cpukit/sapi/src/rtemsapi.c b/cpukit/sapi/src/rtemsapi.c
index f180cf25e2..073fb7028d 100644
--- a/cpukit/sapi/src/rtemsapi.c
+++ b/cpukit/sapi/src/rtemsapi.c
@@ -60,37 +60,37 @@ void _RTEMS_API_Initialize(
_Objects_Information_table[OBJECTS_CLASSIC_API] = _RTEMS_Objects;
_Attributes_Handler_initialization();
-
+
_Interrupt_Manager_initialization();
-
+
#if defined(RTEMS_MULTIPROCESSING)
_Multiprocessing_Manager_initialization();
#endif
-
+
_RTEMS_tasks_Manager_initialization(
api_configuration->maximum_tasks,
api_configuration->number_of_initialization_tasks,
api_configuration->User_initialization_tasks_table
);
-
+
_Timer_Manager_initialization( api_configuration->maximum_timers );
-
+
_Signal_Manager_initialization();
-
+
_Event_Manager_initialization();
-
+
_Message_queue_Manager_initialization(
api_configuration->maximum_message_queues
);
-
+
_Semaphore_Manager_initialization( api_configuration->maximum_semaphores );
-
+
_Partition_Manager_initialization( api_configuration->maximum_partitions );
-
+
_Region_Manager_initialization( api_configuration->maximum_regions );
-
+
_Dual_ported_memory_Manager_initialization( api_configuration->maximum_ports);
-
+
_Rate_monotonic_Manager_initialization( api_configuration->maximum_periods );
}