diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-08 18:27:29 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-08 18:27:29 +0000 |
commit | c8f8ffdd086af4e70ed6892fb4ee135acfc7505a (patch) | |
tree | 499365f213e2aad72fedf5db96092d934b02790b /testsuites/sptests/sp40/system.h | |
parent | 2008-01-08 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-c8f8ffdd086af4e70ed6892fb4ee135acfc7505a.tar.bz2 |
2008-01-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add sp40 to test some cases of dynamic
driver registration.
* sp40/.cvsignore, sp40/Makefile.am, sp40/init.c, sp40/sp40.scn,
sp40/system.h: New files.
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/sp40/system.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testsuites/sptests/sp40/system.h b/testsuites/sptests/sp40/system.h new file mode 100644 index 0000000000..f4226a2688 --- /dev/null +++ b/testsuites/sptests/sp40/system.h @@ -0,0 +1,38 @@ +/* system.h + * + * This include file contains information that is included in every + * function in the test set. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#include <tmacros.h> + +/* functions */ + +rtems_task Init( + rtems_task_argument argument +); + +/* configuration information */ + +#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +/* more driver slots than are statically configured */ +#define CONFIGURE_MAXIMUM_DRIVERS 4 + +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE + +#define CONFIGURE_MAXIMUM_TASKS 1 + +#include <rtems/confdefs.h> + +/* end of include file */ |