From df49c60c9671e4a28e636964d744c1f59fb6cb68 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 12 Jun 2000 15:00:15 +0000 Subject: Merged from 4.5.0-beta3a --- testsuites/samples/base_sp/apptask.c | 1 + testsuites/samples/base_sp/init.c | 3 ++- testsuites/samples/base_sp/system.h | 13 +++++-------- 3 files changed, 8 insertions(+), 9 deletions(-) (limited to 'testsuites/samples/base_sp') diff --git a/testsuites/samples/base_sp/apptask.c b/testsuites/samples/base_sp/apptask.c index c7b6580fad..050b2130bf 100644 --- a/testsuites/samples/base_sp/apptask.c +++ b/testsuites/samples/base_sp/apptask.c @@ -19,6 +19,7 @@ */ #include "system.h" +#include rtems_task Application_task( rtems_task_argument argument diff --git a/testsuites/samples/base_sp/init.c b/testsuites/samples/base_sp/init.c index d787f0233e..e5eae4c9a5 100644 --- a/testsuites/samples/base_sp/init.c +++ b/testsuites/samples/base_sp/init.c @@ -20,8 +20,9 @@ * $Id$ */ -#define TEST_INIT +#define CONFIGURE_INIT #include "system.h" +#include #define ARGUMENT 0 diff --git a/testsuites/samples/base_sp/system.h b/testsuites/samples/base_sp/system.h index 25139380f6..233cbb7f2f 100644 --- a/testsuites/samples/base_sp/system.h +++ b/testsuites/samples/base_sp/system.h @@ -13,7 +13,7 @@ * $Id$ */ -#include +#include /* functions */ @@ -27,17 +27,14 @@ rtems_task Application_task( /* configuration information */ -#define CONFIGURE_SPTEST +#include /* for device driver prototypes */ -#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER -#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER +#define CONFIGURE_MAXIMUM_TASKS 2 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #include -/* global variables */ - -TEST_EXTERN rtems_id Global_variable; /* example global variable */ - /* end of include file */ -- cgit v1.2.3