summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/base_sp
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 15:00:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 15:00:15 +0000
commitdf49c60c9671e4a28e636964d744c1f59fb6cb68 (patch)
treeeabd85e189514ad412a35414ba5d483dcda3ef1f /testsuites/samples/base_sp
parentPurged as many egcs references as possible. (diff)
downloadrtems-df49c60c9671e4a28e636964d744c1f59fb6cb68.tar.bz2
Merged from 4.5.0-beta3a
Diffstat (limited to 'testsuites/samples/base_sp')
-rw-r--r--testsuites/samples/base_sp/apptask.c1
-rw-r--r--testsuites/samples/base_sp/init.c3
-rw-r--r--testsuites/samples/base_sp/system.h13
3 files changed, 8 insertions, 9 deletions
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 <stdio.h>
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 <stdio.h>
#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 <tmacros.h>
+#include <rtems.h>
/* functions */
@@ -27,17 +27,14 @@ rtems_task Application_task(
/* configuration information */
-#define CONFIGURE_SPTEST
+#include <bsp.h> /* 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 <confdefs.h>
-/* global variables */
-
-TEST_EXTERN rtems_id Global_variable; /* example global variable */
-
/* end of include file */