diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-06 13:44:22 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-06 13:44:22 +0000 |
commit | 70a4809f8413204e8a93d4384b239f3c73278eb2 (patch) | |
tree | 401595a356a41a646143d9729287eb1fabac5218 /testsuites/sptests/spfatal/init.c | |
parent | 2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-70a4809f8413204e8a93d4384b239f3c73278eb2.tar.bz2 |
2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Remove obsolete test now that the numbered
spfatal tests appear to cover all fatal error cases.
* spfatal/.cvsignore, spfatal/Makefile.am, spfatal/README,
spfatal/fatal.c, spfatal/init.c, spfatal/puterr.c,
spfatal/spfatal.doc, spfatal/spfatal.scn, spfatal/system.h,
spfatal/task1.c: Removed.
Diffstat (limited to 'testsuites/sptests/spfatal/init.c')
-rw-r--r-- | testsuites/sptests/spfatal/init.c | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/testsuites/sptests/spfatal/init.c b/testsuites/sptests/spfatal/init.c deleted file mode 100644 index d16e98a02b..0000000000 --- a/testsuites/sptests/spfatal/init.c +++ /dev/null @@ -1,50 +0,0 @@ -/* 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-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#define CONFIGURE_INIT -#include "system.h" - -rtems_task Init( - rtems_task_argument argument -) -{ - rtems_status_code status; - - Task_name[ 1 ] = rtems_build_name( 'T', 'A', '1', ' ' ); - - status = rtems_task_create( - Task_name[ 1 ], - 1, - RTEMS_MINIMUM_STACK_SIZE, - RTEMS_DEFAULT_MODES, - RTEMS_DEFAULT_ATTRIBUTES, - &Task_id[ 1 ] - ); - directive_failed( status, "rtems_task_create of TA1" ); - - status = rtems_task_start( Task_id[ 1 ], Task_1, 0 ); - directive_failed( status, "rtems_task_start of TA1" ); - - status = rtems_task_delete( RTEMS_SELF ); - directive_failed( status, "rtems_task_delete of RTEMS_SELF" ); -} |