From 1b4f2b305c95a832a259e4c4944f1a0981676eba Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 16 Apr 2004 09:24:30 +0000 Subject: Remove stray white spaces. --- testsuites/sptests/sp03/system.h | 2 +- testsuites/sptests/sp04/system.h | 12 ++++++------ testsuites/sptests/sp04/tswitch.c | 2 +- testsuites/sptests/sp05/system.h | 6 +++--- testsuites/sptests/sp06/system.h | 6 +++--- testsuites/sptests/sp07/buffered_io.c | 2 +- testsuites/sptests/sp07/system.h | 20 ++++++++++---------- testsuites/sptests/sp07/tcreate.c | 2 +- testsuites/sptests/sp07/tdelete.c | 4 ++-- testsuites/sptests/sp07/trestart.c | 2 +- testsuites/sptests/sp07/tstart.c | 2 +- testsuites/sptests/sp08/system.h | 2 +- testsuites/sptests/sp09/screen03.c | 2 +- testsuites/sptests/sp09/screen05.c | 2 +- testsuites/sptests/sp09/screen14.c | 2 +- testsuites/sptests/sp09/system.h | 22 +++++++++++----------- testsuites/sptests/sp11/system.h | 18 +++++++++--------- testsuites/sptests/sp12/system.h | 22 +++++++++++----------- testsuites/sptests/sp13/init.c | 2 +- testsuites/sptests/sp13/system.h | 10 +++++----- testsuites/sptests/sp13/task1.c | 14 +++++++------- testsuites/sptests/sp14/system.h | 8 ++++---- testsuites/sptests/sp15/system.h | 10 +++++----- testsuites/sptests/sp16/system.h | 12 ++++++------ testsuites/sptests/sp17/system.h | 6 +++--- testsuites/sptests/sp19/inttest.h | 2 +- testsuites/sptests/sp19/system.h | 8 ++++---- testsuites/sptests/sp20/system.h | 6 +++--- testsuites/sptests/sp21/system.h | 2 +- testsuites/sptests/sp22/system.h | 6 +++--- testsuites/sptests/sp22/task1.c | 2 +- testsuites/sptests/sp23/system.h | 6 +++--- testsuites/sptests/sp24/system.h | 4 ++-- testsuites/sptests/sp25/system.h | 8 ++++---- testsuites/sptests/sp26/system.h | 4 ++-- testsuites/sptests/sp26/task1.c | 2 +- testsuites/sptests/sp29/init.c | 4 ++-- testsuites/sptests/sp30/system.h | 4 ++-- testsuites/sptests/sp31/system.h | 6 +++--- testsuites/sptests/sp31/task1.c | 10 +++++----- testsuites/sptests/spfatal/system.h | 6 +++--- testsuites/sptests/spsize/size.c | 2 +- testsuites/sptests/spsize/system.h | 4 ++-- 43 files changed, 139 insertions(+), 139 deletions(-) (limited to 'testsuites/sptests') diff --git a/testsuites/sptests/sp03/system.h b/testsuites/sptests/sp03/system.h index 4ab8fa8846..ad746787b2 100644 --- a/testsuites/sptests/sp03/system.h +++ b/testsuites/sptests/sp03/system.h @@ -24,7 +24,7 @@ rtems_task Init( rtems_task Task_1( rtems_task_argument argument ); - + rtems_task Task_2( rtems_task_argument argument ); diff --git a/testsuites/sptests/sp04/system.h b/testsuites/sptests/sp04/system.h index 534c987d6c..a932108d6d 100644 --- a/testsuites/sptests/sp04/system.h +++ b/testsuites/sptests/sp04/system.h @@ -24,15 +24,15 @@ rtems_task Init( rtems_task Task_1( rtems_task_argument argument ); - + rtems_task Task_2( rtems_task_argument argument ); - + rtems_task Task_3( rtems_task_argument argument ); - + void Task_switch( rtems_tcb *unused, rtems_tcb *heir @@ -60,10 +60,10 @@ TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */ TEST_EXTERN rtems_id Extension_id[ 4 ]; TEST_EXTERN rtems_name Extension_name[ 4 ]; /* array of task names */ - + /* array of task run counts */ -TEST_EXTERN volatile uint32_t Run_count[ 4 ]; - +TEST_EXTERN volatile uint32_t Run_count[ 4 ]; + /* * Keep track of task switches */ diff --git a/testsuites/sptests/sp04/tswitch.c b/testsuites/sptests/sp04/tswitch.c index 3be8f0e295..79cda908fe 100644 --- a/testsuites/sptests/sp04/tswitch.c +++ b/testsuites/sptests/sp04/tswitch.c @@ -26,7 +26,7 @@ struct taskSwitchLog taskSwitchLog[1000]; int taskSwitchLogIndex; volatile int testsFinished; -rtems_extension Task_switch( +rtems_extension Task_switch( rtems_tcb *unused, rtems_tcb *heir ) diff --git a/testsuites/sptests/sp05/system.h b/testsuites/sptests/sp05/system.h index aa75dc6ba7..ecede9e256 100644 --- a/testsuites/sptests/sp05/system.h +++ b/testsuites/sptests/sp05/system.h @@ -24,15 +24,15 @@ rtems_task Init( rtems_task Task_1( rtems_task_argument argument ); - + rtems_task Task_2( rtems_task_argument argument ); - + rtems_task Task_3( rtems_task_argument argument ); - + /* configuration information */ #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER diff --git a/testsuites/sptests/sp06/system.h b/testsuites/sptests/sp06/system.h index 3fe3e71c5d..16008bd2f9 100644 --- a/testsuites/sptests/sp06/system.h +++ b/testsuites/sptests/sp06/system.h @@ -24,15 +24,15 @@ rtems_task Init( rtems_task Task_1( rtems_task_argument argument ); - + rtems_task Task_2( rtems_task_argument argument ); - + rtems_task Task_3( rtems_task_argument argument ); - + /* configuration information */ #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER diff --git a/testsuites/sptests/sp07/buffered_io.c b/testsuites/sptests/sp07/buffered_io.c index bb06ed0fae..0909b77713 100644 --- a/testsuites/sptests/sp07/buffered_io.c +++ b/testsuites/sptests/sp07/buffered_io.c @@ -20,7 +20,7 @@ void buffered_io_initialize( void ) void buffered_io_flush(void) { char ch; - + while ( !Ring_buffer_Is_empty(&Buffer) ) { Ring_buffer_Remove_character( &Buffer, ch ); fprintf( stderr, "%c", ch ); diff --git a/testsuites/sptests/sp07/system.h b/testsuites/sptests/sp07/system.h index 35506f9d78..29ad406eac 100644 --- a/testsuites/sptests/sp07/system.h +++ b/testsuites/sptests/sp07/system.h @@ -24,7 +24,7 @@ void buffered_io_flush(void); void buffered_io_add_string( char *s ); /* end of buffered IO */ - + /* functions */ rtems_task Init( @@ -34,39 +34,39 @@ rtems_task Init( rtems_task Task_1( rtems_task_argument argument ); - + rtems_task Task_2( rtems_task_argument argument ); - + rtems_task Task_3( rtems_task_argument argument ); - + rtems_task Task_4( rtems_task_argument argument ); - + rtems_boolean Task_create_extension( rtems_tcb *unused, rtems_tcb *created_task ); - + rtems_extension Task_delete_extension( rtems_tcb *running_task, rtems_tcb *deleted_task ); - + rtems_extension Task_restart_extension( rtems_tcb *unused, rtems_tcb *restarted_task ); - + rtems_extension Task_start_extension( rtems_tcb *unused, rtems_tcb *started_task ); - + rtems_extension Task_exit_extension( rtems_tcb *running_task ); @@ -93,5 +93,5 @@ TEST_EXTERN rtems_name Task_name[ 5 ]; /* array of task names */ TEST_EXTERN rtems_id Extension_id[ 4 ]; TEST_EXTERN rtems_name Extension_name[ 4 ]; /* array of task names */ - + /* end of include file */ diff --git a/testsuites/sptests/sp07/tcreate.c b/testsuites/sptests/sp07/tcreate.c index 3be5079394..fd87844c5c 100644 --- a/testsuites/sptests/sp07/tcreate.c +++ b/testsuites/sptests/sp07/tcreate.c @@ -31,7 +31,7 @@ rtems_boolean Task_create_extension( if ( task_number( created_task->Object.id ) > 0 ) { name = Task_name[ task_number( created_task->Object.id ) ]; sprintf( line, "TASK_CREATE - %c%c%c%c - created\n", - (name >> 24) & 0xff, + (name >> 24) & 0xff, (name >> 16) & 0xff, (name >> 8) & 0xff, name & 0xff diff --git a/testsuites/sptests/sp07/tdelete.c b/testsuites/sptests/sp07/tdelete.c index efe6d68511..983641b1ae 100644 --- a/testsuites/sptests/sp07/tdelete.c +++ b/testsuites/sptests/sp07/tdelete.c @@ -31,7 +31,7 @@ rtems_extension Task_delete_extension( if ( task_number( running_task->Object.id ) > 0 ) { name = Task_name[ task_number( running_task->Object.id ) ]; sprintf( line, "TASK_DELETE - %c%c%c%c", - (name >> 24) & 0xff, + (name >> 24) & 0xff, (name >> 16) & 0xff, (name >> 8) & 0xff, name & 0xff @@ -43,7 +43,7 @@ rtems_extension Task_delete_extension( if ( task_number( deleted_task->Object.id ) > 0 ) { name = Task_name[ task_number( deleted_task->Object.id ) ]; sprintf( line, "deleting - %c%c%c%c\n", - (name >> 24) & 0xff, + (name >> 24) & 0xff, (name >> 16) & 0xff, (name >> 8) & 0xff, name & 0xff diff --git a/testsuites/sptests/sp07/trestart.c b/testsuites/sptests/sp07/trestart.c index 32cd2e0822..1ec205d4d0 100644 --- a/testsuites/sptests/sp07/trestart.c +++ b/testsuites/sptests/sp07/trestart.c @@ -31,7 +31,7 @@ void Task_restart_extension( if ( task_number( restarted_task->Object.id ) > 0 ) { name = Task_name[ task_number( restarted_task->Object.id ) ]; sprintf( line, "TASK_RESTART - %c%c%c%c - restarted\n", - (name >> 24) & 0xff, + (name >> 24) & 0xff, (name >> 16) & 0xff, (name >> 8) & 0xff, name & 0xff diff --git a/testsuites/sptests/sp07/tstart.c b/testsuites/sptests/sp07/tstart.c index 3053113a3c..8fe271a738 100644 --- a/testsuites/sptests/sp07/tstart.c +++ b/testsuites/sptests/sp07/tstart.c @@ -31,7 +31,7 @@ rtems_extension Task_start_extension( if ( task_number( started_task->Object.id ) > 0 ) { name = Task_name[ task_number( started_task->Object.id ) ]; sprintf( line, "TASK_START - %c%c%c%c - started\n", - (name >> 24) & 0xff, + (name >> 24) & 0xff, (name >> 16) & 0xff, (name >> 8) & 0xff, name & 0xff diff --git a/testsuites/sptests/sp08/system.h b/testsuites/sptests/sp08/system.h index f0247d41dd..b14e123528 100644 --- a/testsuites/sptests/sp08/system.h +++ b/testsuites/sptests/sp08/system.h @@ -24,7 +24,7 @@ rtems_task Init( rtems_task Task_1( rtems_task_argument argument ); - + #define put_mode( _comment, _output_mode ) \ printf( "%s %08x\n", _comment, _output_mode ); diff --git a/testsuites/sptests/sp09/screen03.c b/testsuites/sptests/sp09/screen03.c index 0a119ea554..7cbc1af234 100644 --- a/testsuites/sptests/sp09/screen03.c +++ b/testsuites/sptests/sp09/screen03.c @@ -194,7 +194,7 @@ void Screen3() puts( "TA1 - rtems_task_create - 11 - RTEMS_TOO_MANY" ); /* - * The check for an object being global is only made if + * The check for an object being global is only made if * multiprocessing is enabled. */ diff --git a/testsuites/sptests/sp09/screen05.c b/testsuites/sptests/sp09/screen05.c index 00a57acd51..7b27bc6cf4 100644 --- a/testsuites/sptests/sp09/screen05.c +++ b/testsuites/sptests/sp09/screen05.c @@ -25,7 +25,7 @@ void Screen5() status = rtems_semaphore_create( 0, 1, - RTEMS_DEFAULT_ATTRIBUTES, + RTEMS_DEFAULT_ATTRIBUTES, RTEMS_NO_PRIORITY, &Junk_id ); diff --git a/testsuites/sptests/sp09/screen14.c b/testsuites/sptests/sp09/screen14.c index 2dec42e8c2..7590108dee 100644 --- a/testsuites/sptests/sp09/screen14.c +++ b/testsuites/sptests/sp09/screen14.c @@ -182,7 +182,7 @@ void Screen14() rtems_timer_initiate_server( RTEMS_TIMER_SERVER_DEFAULT_PRIORITY, 0, 0 ); directive_failed( status, "rtems_timer_initiate_server" ); puts( "TA1 - rtems_timer_initiate_server" ); - + status = rtems_timer_server_fire_after( 0x010100, 5 * TICKS_PER_SECOND, diff --git a/testsuites/sptests/sp09/system.h b/testsuites/sptests/sp09/system.h index 686d312afa..2b043d0535 100644 --- a/testsuites/sptests/sp09/system.h +++ b/testsuites/sptests/sp09/system.h @@ -103,36 +103,36 @@ void Screen14( void ); TEST_EXTERN rtems_id Task_id[ 11 ]; /* array of task ids */ TEST_EXTERN rtems_name Task_name[ 11 ]; /* array of task names */ - + TEST_EXTERN rtems_name Timer_name[ 2 ]; /* array of timer names */ TEST_EXTERN rtems_id Timer_id[ 2 ]; /* array of timer ids */ - + TEST_EXTERN rtems_name Semaphore_name[ 4 ]; /* array of semaphore names */ TEST_EXTERN rtems_id Semaphore_id[ 4 ]; /* array of semaphore ids */ - + TEST_EXTERN rtems_name Queue_name[ 3 ]; /* array of queue names */ TEST_EXTERN rtems_id Queue_id[ 3 ]; /* array of queue ids */ - + TEST_EXTERN rtems_name Partition_name[ 2 ]; /* array of partition names */ TEST_EXTERN rtems_id Partition_id[ 2 ]; /* array of partition ids */ - + TEST_EXTERN rtems_name Region_name[ 2 ]; /* array of region names */ TEST_EXTERN rtems_id Region_id[ 2 ]; /* array of region ids */ - + TEST_EXTERN rtems_name Port_name[ 2 ]; /* array of port names */ TEST_EXTERN rtems_id Port_id[ 2 ]; /* array of port ids */ - + TEST_EXTERN rtems_name Period_name[ 2 ]; /* array of period names */ TEST_EXTERN rtems_id Period_id[ 2 ]; /* array of period ids */ - + TEST_EXTERN rtems_id Junk_id; /* id used to return errors */ - + #define Internal_port_area (void *) 0x00001000 #define External_port_area (void *) 0x00002000 - + TEST_EXTERN uint8_t Partition_good_area[256] CPU_STRUCTURE_ALIGNMENT; #define Partition_bad_area (void *) 0x00000006 - + TEST_EXTERN uint32_t Region_good_area[4096] CPU_STRUCTURE_ALIGNMENT; #define Region_bad_area (void *) 0x00000006 #define REGION_START_OFFSET 1024 diff --git a/testsuites/sptests/sp11/system.h b/testsuites/sptests/sp11/system.h index be7b0d82c9..64c4d83168 100644 --- a/testsuites/sptests/sp11/system.h +++ b/testsuites/sptests/sp11/system.h @@ -20,45 +20,45 @@ rtems_task Init( rtems_task_argument argument ); - + rtems_task Task_1( rtems_task_argument argument ); - + rtems_task Task_2( rtems_task_argument argument ); - + rtems_timer_service_routine TA1_send_18_to_self_5_seconds( rtems_id ignored_id, void *ignored_address ); - + rtems_timer_service_routine TA1_send_8_to_self_60_seconds( rtems_id ignored_id, void *ignored_address ); - + rtems_timer_service_routine TA1_send_9_to_self_60_seconds( rtems_id ignored_id, void *ignored_address ); - + rtems_timer_service_routine TA1_send_10_to_self( rtems_id ignored_id, void *ignored_address ); - + rtems_timer_service_routine TA1_send_1_to_self_every_second( rtems_id ignored_id, void *ignored_address ); - + rtems_timer_service_routine TA1_send_11_to_self( rtems_id ignored_id, void *ignored_address ); - + rtems_timer_service_routine TA2_send_10_to_self( rtems_id ignored_id, void *ignored_address diff --git a/testsuites/sptests/sp12/system.h b/testsuites/sptests/sp12/system.h index 4c3aa298a6..38dc80193f 100644 --- a/testsuites/sptests/sp12/system.h +++ b/testsuites/sptests/sp12/system.h @@ -20,31 +20,31 @@ rtems_task Init( rtems_task_argument argument ); - + void Priority_test_driver( uint32_t priority_base ); - + rtems_task Priority_task( rtems_task_argument its_index ); - + rtems_task Task_1( rtems_task_argument argument ); - + rtems_task Task_2( rtems_task_argument argument ); - + rtems_task Task_3( rtems_task_argument argument ); - + rtems_task Task_4( rtems_task_argument argument ); - + rtems_task Task5( rtems_task_argument argument ); @@ -67,15 +67,15 @@ rtems_task Task5( /* global variables */ - + TEST_EXTERN rtems_id Task_id[ 6 ]; /* array of task ids */ TEST_EXTERN rtems_name Task_name[ 6 ]; /* array of task names */ - + TEST_EXTERN rtems_id Priority_task_id[ 6 ]; /* array of task ids */ TEST_EXTERN rtems_name Priority_task_name[ 6 ]; /* array of task names */ - + TEST_EXTERN rtems_task_priority Task_priority[ 6 ]; - + TEST_EXTERN rtems_id Semaphore_id[ 4 ]; /* array of semaphore ids */ TEST_EXTERN rtems_name Semaphore_name[ 4 ]; /* array of semaphore names */ diff --git a/testsuites/sptests/sp13/init.c b/testsuites/sptests/sp13/init.c index 19da141702..dd60fea91c 100644 --- a/testsuites/sptests/sp13/init.c +++ b/testsuites/sptests/sp13/init.c @@ -74,7 +74,7 @@ rtems_task Init( status = rtems_task_start( Task_id[ 3 ], Task_3, 0 ); directive_failed( status, "rtems_task_start of TA3" ); - + Queue_name[ 1 ] = rtems_build_name( 'Q', '1', ' ', ' ' ); Queue_name[ 2 ] = rtems_build_name( 'Q', '2', ' ', ' ' ); Queue_name[ 3 ] = rtems_build_name( 'Q', '3', ' ', ' ' ); diff --git a/testsuites/sptests/sp13/system.h b/testsuites/sptests/sp13/system.h index 1a4574bdb8..a5bc11c5f1 100644 --- a/testsuites/sptests/sp13/system.h +++ b/testsuites/sptests/sp13/system.h @@ -20,24 +20,24 @@ rtems_task Init( rtems_task_argument argument ); - + void Fill_buffer( char source[], long *buffer ); - + void Put_buffer( long *buffer ); - + rtems_task Task_1( rtems_task_argument argument ); - + rtems_task Task_2( rtems_task_argument argument ); - + rtems_task Task_3( rtems_task_argument argument ); diff --git a/testsuites/sptests/sp13/task1.c b/testsuites/sptests/sp13/task1.c index d48abf4209..0621255287 100644 --- a/testsuites/sptests/sp13/task1.c +++ b/testsuites/sptests/sp13/task1.c @@ -33,7 +33,7 @@ void dope_buffer(unsigned char *buff, unsigned char ch; ch = (' ' + (v % (0x7f - ' '))); - + for (i=0; i -#define REG_VARIABLE uint32_t +#define REG_VARIABLE uint32_t #define INTEGER_DECLARE \ REG_VARIABLE int01 = 1; \ diff --git a/testsuites/sptests/sp19/system.h b/testsuites/sptests/sp19/system.h index aaa5406305..ade5b8a08b 100644 --- a/testsuites/sptests/sp19/system.h +++ b/testsuites/sptests/sp19/system.h @@ -20,22 +20,22 @@ rtems_task Init( rtems_task_argument argument ); - + rtems_task First_FP_task( rtems_task_argument argument ); - + rtems_task FP_task( rtems_task_argument argument ); - + rtems_task Task_1( rtems_task_argument argument ); /* configuration information */ -#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT +#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER diff --git a/testsuites/sptests/sp20/system.h b/testsuites/sptests/sp20/system.h index b1f52089ea..b6f338a53d 100644 --- a/testsuites/sptests/sp20/system.h +++ b/testsuites/sptests/sp20/system.h @@ -26,13 +26,13 @@ struct counters { rtems_task Init( rtems_task_argument argument ); - + rtems_task Task_1_through_6( rtems_task_argument argument ); - + void Get_all_counters( void ); - + /* configuration information */ #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER diff --git a/testsuites/sptests/sp21/system.h b/testsuites/sptests/sp21/system.h index 0a394bf492..d50859308c 100644 --- a/testsuites/sptests/sp21/system.h +++ b/testsuites/sptests/sp21/system.h @@ -20,7 +20,7 @@ rtems_task Init( rtems_task_argument argument ); - + rtems_task Task_1( rtems_task_argument argument ); diff --git a/testsuites/sptests/sp22/system.h b/testsuites/sptests/sp22/system.h index a5fd6865b6..23a89ad823 100644 --- a/testsuites/sptests/sp22/system.h +++ b/testsuites/sptests/sp22/system.h @@ -20,14 +20,14 @@ rtems_task Init( rtems_task_argument argument ); - + rtems_timer_service_routine Delayed_resume( rtems_id ignored_id, void *ignored_address ); - + void Print_time( void ); - + rtems_task Task_1( rtems_task_argument argument ); diff --git a/testsuites/sptests/sp22/task1.c b/testsuites/sptests/sp22/task1.c index bba851bd23..37ce3be043 100644 --- a/testsuites/sptests/sp22/task1.c +++ b/testsuites/sptests/sp22/task1.c @@ -85,7 +85,7 @@ rtems_task Task_1( /* * Reset the time since we do not know how long the user waited - * before pressing at the pause. This insures that the + * before pressing at the pause. This insures that the * actual output matches the screen. */ diff --git a/testsuites/sptests/sp23/system.h b/testsuites/sptests/sp23/system.h index c77fd73de9..fe4fd7d7ad 100644 --- a/testsuites/sptests/sp23/system.h +++ b/testsuites/sptests/sp23/system.h @@ -44,13 +44,13 @@ rtems_task Task_1( TEST_EXTERN rtems_id Task_id[ 2 ]; /* array of task ids */ TEST_EXTERN rtems_name Task_name[ 2 ]; /* array of task names */ - + TEST_EXTERN rtems_id Port_id[ 2 ]; /* array of port ids */ TEST_EXTERN rtems_name Port_name[ 2 ]; /* array of port names */ - + #define Internal_port_area ((uint8_t *) 0x00001000) #define External_port_area ((uint8_t *) 0x00002000) - + #define Below_port_area ((uint8_t *) 0x00000500) #define Above_port_area ((uint8_t *) 0x00003000) diff --git a/testsuites/sptests/sp24/system.h b/testsuites/sptests/sp24/system.h index d1667d11b1..22b8bc873c 100644 --- a/testsuites/sptests/sp24/system.h +++ b/testsuites/sptests/sp24/system.h @@ -20,12 +20,12 @@ rtems_task Init( rtems_task_argument argument ); - + rtems_timer_service_routine Resume_task( rtems_id timer_id, void *ignored_address ); - + rtems_task Task_1_through_3( rtems_task_argument argument ); diff --git a/testsuites/sptests/sp25/system.h b/testsuites/sptests/sp25/system.h index a608278b47..49d906b094 100644 --- a/testsuites/sptests/sp25/system.h +++ b/testsuites/sptests/sp25/system.h @@ -43,13 +43,13 @@ TEST_EXTERN rtems_id Task_id[ 6 ]; /* array of task ids */ TEST_EXTERN rtems_name Task_name[ 6 ]; /* array of task names */ TEST_EXTERN rtems_id Region_id[ 2 ]; /* array of region ids */ TEST_EXTERN rtems_name Region_name[ 2 ]; /* array of region names */ - + TEST_EXTERN uint8_t Area_1[64000] CPU_STRUCTURE_ALIGNMENT; - + #define BASE_PRIORITY 140 - + #define Put_address_from_area_1( _to_be_printed ) \ printf( "0x%08lx", \ (unsigned long) ((uint8_t *)(_to_be_printed) - Area_1 ) ) - + /* end of include file */ diff --git a/testsuites/sptests/sp26/system.h b/testsuites/sptests/sp26/system.h index e72770f94f..7e22420cfc 100644 --- a/testsuites/sptests/sp26/system.h +++ b/testsuites/sptests/sp26/system.h @@ -40,7 +40,7 @@ void task1(void); TEST_EXTERN rtems_id Task_id[ 6 ]; /* array of task ids */ TEST_EXTERN rtems_name Task_name[ 6 ]; /* array of task names */ - + #define BASE_PRIORITY 140 - + /* end of include file */ diff --git a/testsuites/sptests/sp26/task1.c b/testsuites/sptests/sp26/task1.c index 7b91fca2bb..6f2de0d9d5 100644 --- a/testsuites/sptests/sp26/task1.c +++ b/testsuites/sptests/sp26/task1.c @@ -74,7 +74,7 @@ subTask2 (rtems_task_argument arg) rtems_task_wake_after (ticksPerSecond * 4); printf ("subTask2 - Task 1 suspended? - should be 1: %d\n", isSuspended (taskId1)); - + puts( "*** END OF TEST 26 ***" ); rtems_test_exit( 0 ); } diff --git a/testsuites/sptests/sp29/init.c b/testsuites/sptests/sp29/init.c index 72e4744490..f5873d2bb4 100644 --- a/testsuites/sptests/sp29/init.c +++ b/testsuites/sptests/sp29/init.c @@ -74,7 +74,7 @@ rtems_task Init (rtems_task_argument ignored) puts( "*** SP29 - SIMPLE SEMAPHORE TEST ***" ); puts( "This test only prints on errors." ); - + sc = rtems_clock_get (RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticksPerSecond); if (sc != RTEMS_SUCCESSFUL) { printf ("Can't get ticks per second: %s\n", rtems_status_text (sc)); @@ -179,7 +179,7 @@ rtems_task Init (rtems_task_argument ignored) else if (diff < (2 * ticksPerSecond)) printf ("%d: Obtained obtain non-recursive-lock semaphore too quickly -- %d ticks not %d ticks\n", __LINE__, diff, (2 * ticksPerSecond) ); } - + puts( "*** END OF SP29 ***" ); exit (0); } diff --git a/testsuites/sptests/sp30/system.h b/testsuites/sptests/sp30/system.h index d597c6605e..090c4b5a5a 100644 --- a/testsuites/sptests/sp30/system.h +++ b/testsuites/sptests/sp30/system.h @@ -20,12 +20,12 @@ rtems_task Init( rtems_task_argument argument ); - + rtems_timer_service_routine Resume_task( rtems_id timer_id, void *ignored_address ); - + rtems_task Task_1_through_3( rtems_task_argument argument ); diff --git a/testsuites/sptests/sp31/system.h b/testsuites/sptests/sp31/system.h index a8dfe71e22..840dc34b91 100644 --- a/testsuites/sptests/sp31/system.h +++ b/testsuites/sptests/sp31/system.h @@ -20,14 +20,14 @@ rtems_task Init( rtems_task_argument argument ); - + rtems_timer_service_routine Delayed_resume( rtems_id ignored_id, void *ignored_address ); - + void Print_time( void ); - + rtems_task Task_1( rtems_task_argument argument ); diff --git a/testsuites/sptests/sp31/task1.c b/testsuites/sptests/sp31/task1.c index 7a2a9c8255..f7e7d9a3e0 100644 --- a/testsuites/sptests/sp31/task1.c +++ b/testsuites/sptests/sp31/task1.c @@ -73,7 +73,7 @@ rtems_task Task_1( if ( TSR_fired ) { puts( "TA1 - TSR fired and should not have!" ); - rtems_test_exit(1); + rtems_test_exit(1); } puts( "TA1 - rtems_timer_cancel - timer 1" ); @@ -84,7 +84,7 @@ rtems_task Task_1( status = rtems_timer_cancel( tmid2 ); directive_failed( status, "rtems_timer_cancel" ); - + /* now check that rescheduling an active timer works OK. */ puts( "TA1 - rtems_timer_server_fire_after - timer 1 in 30 seconds" ); status = rtems_timer_server_fire_after( @@ -117,7 +117,7 @@ rtems_task Task_1( info.start_time + info.initial ); printf( "Timer Server scheduled for %d ticks since boot\n", _Timer_Server->Timer.initial + _Timer_Server->Timer.start_time ); - assert( (info.start_time + info.initial) == + assert( (info.start_time + info.initial) == (_Timer_Server->Timer.initial + _Timer_Server->Timer.start_time) ); puts( "TA1 - rtems_task_wake_after - 1 second" ); @@ -135,7 +135,7 @@ rtems_task Task_1( info.start_time + info.initial ); printf( "Timer Server scheduled for %d ticks since boot\n", _Timer_Server->Timer.initial + _Timer_Server->Timer.start_time ); - assert( (info.start_time + info.initial) == + assert( (info.start_time + info.initial) == (_Timer_Server->Timer.initial + _Timer_Server->Timer.start_time) ); puts( "TA1 - rtems_timer_cancel - timer 1" ); @@ -196,7 +196,7 @@ rtems_task Task_1( /* * Reset the time since we do not know how long the user waited - * before pressing at the pause. This insures that the + * before pressing at the pause. This insures that the * actual output matches the screen. */ diff --git a/testsuites/sptests/spfatal/system.h b/testsuites/sptests/spfatal/system.h index 7ab51c0462..bc04112a72 100644 --- a/testsuites/sptests/spfatal/system.h +++ b/testsuites/sptests/spfatal/system.h @@ -20,18 +20,18 @@ rtems_task Init( rtems_task_argument argument ); - + void put_error( uint32_t error, rtems_status_code expected ); - + rtems_extension Fatal_extension( uint32_t source, boolean is_internal, uint32_t error ); - + rtems_task Task_1( rtems_task_argument argument ); diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c index b00c0815a2..4b7512a282 100644 --- a/testsuites/sptests/spsize/size.c +++ b/testsuites/sptests/spsize/size.c @@ -433,7 +433,7 @@ uninitialized += (sizeof _CPU_Interrupt_stack_low) + #endif #ifdef __sparc__ - + /* cpu.h */ uninitialized += (sizeof _CPU_Interrupt_stack_low) + (sizeof _CPU_Interrupt_stack_high) + diff --git a/testsuites/sptests/spsize/system.h b/testsuites/sptests/spsize/system.h index 29178d6476..9ecc694a7a 100644 --- a/testsuites/sptests/spsize/system.h +++ b/testsuites/sptests/spsize/system.h @@ -20,11 +20,11 @@ rtems_task Init( rtems_task_argument argument ); - + rtems_task Test_task( rtems_task_argument argument ); - + int getint( void ); /* configuration information */ -- cgit v1.2.3