summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx14/system.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-01-31 16:07:12 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-01-31 16:07:12 +0000
commitc87593f0b01781996c466e340871f91d87a3d9d8 (patch)
tree46c78551dc2bb5dbb73a3bd92a62f1125358d56e /testsuites/psxtests/psx14/system.h
parent2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-c87593f0b01781996c466e340871f91d87a3d9d8.tar.bz2
2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add psx14 to exercise POSIX API specific portions of Object Services added to API. * psx14/.cvsignore, psx14/Makefile.am, psx14/init.c, psx14/psx14.scn, psx14/system.h: New files.
Diffstat (limited to 'testsuites/psxtests/psx14/system.h')
-rw-r--r--testsuites/psxtests/psx14/system.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/testsuites/psxtests/psx14/system.h b/testsuites/psxtests/psx14/system.h
new file mode 100644
index 0000000000..150bf8e21c
--- /dev/null
+++ b/testsuites/psxtests/psx14/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-2008.
+ * 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$
+ */
+
+/* functions */
+
+#include <pmacros.h>
+#include <unistd.h>
+#include <errno.h>
+#include <sched.h>
+
+void *POSIX_Init(
+ void *argument
+);
+
+/* configuration information */
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+
+#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
+
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE
+
+#include <rtems/confdefs.h>
+
+/* end of include file */