forked from Imagelibrary/rtems
2009-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp07/init.c, sp07/sp07.scn, sp09/init.c, sp09/screen01.c, sp09/sp09.scn, sp28/init.c, sp62/init.c, sp62/sp62.scn, sp64/init.c, sp64/sp64.scn: Add more test cases highlighted on SPARC at -O2, x86 at -Os and m68k at -Os. Fix typos.
This commit is contained in:
@@ -1,16 +1,4 @@
|
||||
/* Init
|
||||
*
|
||||
* This routine is the initialization task for this test program.
|
||||
* It is a user initialization task and has the responsibility for creating
|
||||
* and starting the tasks that make up the test. If the time of day
|
||||
* clock is required for the test, it should also be set to a known
|
||||
* value by this function.
|
||||
*
|
||||
* Input parameters:
|
||||
* argument - task argument
|
||||
*
|
||||
* Output parameters: NONE
|
||||
*
|
||||
/*
|
||||
* COPYRIGHT (c) 1989-2009.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
@@ -171,9 +159,14 @@ rtems_task Init(
|
||||
|
||||
buffered_io_flush();
|
||||
|
||||
status = rtems_task_set_note( rtems_task_self(), RTEMS_NOTEPAD_4, 32 );
|
||||
directive_failed( status, "task_set_node of Self id" );
|
||||
printf( "INIT - rtems_task_set_note - set my (id) RTEMS_NOTEPAD_4 " );
|
||||
puts ( "to TA1's priority: 04" );
|
||||
|
||||
status = rtems_task_set_note( RTEMS_SELF, RTEMS_NOTEPAD_4, 32 );
|
||||
directive_failed( status, "task_set_node of Self" );
|
||||
printf( "INIT - rtems_task_set_note - set my RTEMS_NOTEPAD_4 " );
|
||||
directive_failed( status, "task_set_node of Self 0" );
|
||||
printf( "INIT - rtems_task_set_note - set my (SELF) RTEMS_NOTEPAD_4 " );
|
||||
puts ( "to TA1's priority: 04" );
|
||||
|
||||
status = rtems_task_set_note( Task_id[ 1 ], RTEMS_NOTEPAD_8, 4 );
|
||||
|
||||
Reference in New Issue
Block a user