From 84b7a96833f3c789c42cf1900b4d7fd32eaeb7a9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 2 Jul 2009 15:24:37 +0000 Subject: 2009-07-02 Joel Sherrill * spchain/init.c, spchain/spchain.scn: Clean up test. --- testsuites/sptests/spchain/init.c | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) (limited to 'testsuites/sptests/spchain/init.c') diff --git a/testsuites/sptests/spchain/init.c b/testsuites/sptests/spchain/init.c index e8ebfde9dd..14f635af1a 100644 --- a/testsuites/sptests/spchain/init.c +++ b/testsuites/sptests/spchain/init.c @@ -52,7 +52,7 @@ rtems_task Init( } } - puts( "*** TEST OF RTEMS CHAIN API ***" ); + puts( "*** END OF RTEMS CHAIN API TEST ***" ); rtems_test_exit(0); } @@ -61,27 +61,8 @@ rtems_task Init( #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER -/* - * In this application, the initialization task performs the system - * initialization and then transforms itself into the idle task. - */ -#define CONFIGURE_IDLE_TASK_BODY Init -#define CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION - -/* - * Another odd case to hit. Since we use the Init task is Idle task - * configuration, we can dummy up the initialization task configuration - * to have a non-NULL pointer and 0 tasks. - */ - -#define CONFIGURE_HAS_OWN_INIT_TASK_TABLE 1 - -rtems_initialization_tasks_table Initialization_tasks[1] = -{ { 0, }}; - -#define CONFIGURE_INIT_TASK_TABLE Initialization_tasks -#define CONFIGURE_INIT_TASK_TABLE_SIZE 0 -#define CONFIGURE_INIT_TASK_STACK_SIZE 0 +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE +#define CONFIGURE_MAXIMUM_TASKS 1 #define CONFIGURE_INIT #include -- cgit v1.2.3