summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/dummy
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-04-17 22:42:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-04-17 22:42:10 +0000
commitdf0bfdf06821611260d1567313e39a8c86ff004d (patch)
tree5f0738b00f970cf11c53b53b0b0ff67b1c22816c /cpukit/libmisc/dummy
parent2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-df0bfdf06821611260d1567313e39a8c86ff004d.tar.bz2
2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for application configuration errors. If any POSIX objects or a POSIX init thread is configured without POSIX being configure, then error out. Similarly for ITRON. Add CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration parameter so the application has to explicitly configure the Clock driver in or out if the Timer driver is not configured. Also verify RTEMS was built for multiprocessing, if the user tries to configure a multiprocessing application.
Diffstat (limited to 'cpukit/libmisc/dummy')
-rw-r--r--cpukit/libmisc/dummy/dummy.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/libmisc/dummy/dummy.c b/cpukit/libmisc/dummy/dummy.c
index c59114375c..7402d34d25 100644
--- a/cpukit/libmisc/dummy/dummy.c
+++ b/cpukit/libmisc/dummy/dummy.c
@@ -1,11 +1,7 @@
-/* Init
+/*
+ * Dummy configuration file
*
- *
- * Input parameters: NONE
- *
- * Output parameters: NONE
- *
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -31,13 +27,17 @@ int main( int, char **, char **);
/* configuration information */
+/* This is enough to get a basic main() up. */
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_TASKS 10
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
#define CONFIGURE_INIT_TASK_ENTRY_POINT (void *)main
+/* Include basic device drivers needed to call delays */
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+
#define CONFIGURE_INIT
#include <rtems/confdefs.h>