diff options
Diffstat (limited to '')
-rw-r--r-- | testsuites/samples/base_mp/apptask.c | 1 | ||||
-rw-r--r-- | testsuites/samples/base_mp/init.c | 3 | ||||
-rw-r--r-- | testsuites/samples/base_mp/system.h | 16 |
3 files changed, 11 insertions, 9 deletions
diff --git a/testsuites/samples/base_mp/apptask.c b/testsuites/samples/base_mp/apptask.c index 5303b180d4..566ca7188f 100644 --- a/testsuites/samples/base_mp/apptask.c +++ b/testsuites/samples/base_mp/apptask.c @@ -20,6 +20,7 @@ */ #include "system.h" +#include <stdio.h> rtems_task Application_task( rtems_task_argument node diff --git a/testsuites/samples/base_mp/init.c b/testsuites/samples/base_mp/init.c index d47113d832..a30bed867f 100644 --- a/testsuites/samples/base_mp/init.c +++ b/testsuites/samples/base_mp/init.c @@ -20,8 +20,9 @@ * $Id$ */ -#define TEST_INIT +#define CONFIGURE_INIT #include "system.h" +#include <stdio.h> rtems_task Init( rtems_task_argument argument diff --git a/testsuites/samples/base_mp/system.h b/testsuites/samples/base_mp/system.h index b45fe15bd9..428a5019e3 100644 --- a/testsuites/samples/base_mp/system.h +++ b/testsuites/samples/base_mp/system.h @@ -13,7 +13,7 @@ * $Id$ */ -#include <tmacros.h> +#include <rtems.h> /* functions */ @@ -27,11 +27,15 @@ rtems_task Application_task( /* configuration information */ -#define CONFIGURE_MPTEST +#include <bsp.h> /* for device driver prototypes */ + +#define CONFIGURE_MP_APPLICATION -#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 /* @@ -40,8 +44,4 @@ rtems_task Application_task( #include <confdefs.h> -/* variables */ - -TEST_EXTERN rtems_id Global_variable; /* example global variable */ - /* end of include file */ |