summaryrefslogtreecommitdiff
path: root/testsuites/psxtests/psxaio03/system.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-01-17 22:17:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-01-17 22:17:18 +0000
commita0cd0829992027596010beea6e4148f085f18d1c (patch)
treea42a74ec013cdf3c3563f3bc823ee44c339609aa /testsuites/psxtests/psxaio03/system.h
parentf16c0591a2da67b032ceae2b9dab6b0d86d34dfe (diff)
2011-01-17 Alin Rus <alin.codejunkie@gmail.com>
* Makefile.am, configure.ac: Add psxaio03/. * psxaio03/Makefile.am, psxaio03/init.c, psxaio03/psxaio03.scn psxaio03/system.h: New.
Diffstat (limited to 'testsuites/psxtests/psxaio03/system.h')
-rw-r--r--testsuites/psxtests/psxaio03/system.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxaio03/system.h b/testsuites/psxtests/psxaio03/system.h
new file mode 100644
index 0000000000..4a478b411c
--- /dev/null
+++ b/testsuites/psxtests/psxaio03/system.h
@@ -0,0 +1,47 @@
+ /*
+ * Copyright 2011, Alin Rus <alin.codejunkie@gmail.com>
+ *
+ * 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.
+ *
+ */
+
+/* functions */
+
+#include <pmacros.h>
+#include <pthread.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_USE_IMFS_AS_BASE_FILESYSTEM
+
+#define CONFIGURE_MAXIMUM_TASKS 20
+#define CONFIGURE_MAXIMUM_SEMAPHORES 20
+#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 20
+#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
+#define CONFIGURE_STACK_CHECKER_ENABLED
+
+#define CONFIGURE_MAXIMUM_POSIX_THREADS 30
+#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 30
+#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 30
+#define CONFIGURE_MAXIMUM_POSIX_KEYS 30
+
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE
+#define CONFIGURE_EXTRA_TASK_STACKS (10 * RTEMS_MINIMUM_STACK_SIZE)
+#define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE (10 * RTEMS_MINIMUM_STACK_SIZE)
+
+#define CONFIGURE_MALLOC_STATISTICS
+
+#include <rtems/confdefs.h>
+
+/* global variables */
+TEST_EXTERN pthread_t Init_id;
+
+/* end of include file */