diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-02 15:24:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-02 15:24:37 +0000 |
commit | 84b7a96833f3c789c42cf1900b4d7fd32eaeb7a9 (patch) | |
tree | bb5ec606aefa9cfe80b246cc9f8910ff7b97c018 /testsuites/sptests/spchain/init.c | |
parent | 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-84b7a96833f3c789c42cf1900b4d7fd32eaeb7a9.tar.bz2 |
2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* spchain/init.c, spchain/spchain.scn: Clean up test.
Diffstat (limited to 'testsuites/sptests/spchain/init.c')
-rw-r--r-- | testsuites/sptests/spchain/init.c | 25 |
1 files changed, 3 insertions, 22 deletions
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 <rtems/confdefs.h> |