summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxaio02/system.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-08-16 13:29:49 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-08-16 13:29:49 +0000
commitdb8c6d6492545eab85f8b6e25b57ed85c7e06371 (patch)
tree1516402f6e57312e93ad968488a483a4a751502e /testsuites/psxtests/psxaio02/system.h
parent2010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-db8c6d6492545eab85f8b6e25b57ed85c7e06371.tar.bz2
2010-08-16 Alin Rus <alin.codejunkie@gmail.com>
* Makefile.am, configure.ac: Add psxaio01/, psxaio02/. * psxaio01/Makefile.am, psxaio01/init.c, psxaio01/psxaio01.scn, psxaio01/system.h: New. * psxaio02/Makefile.am, psxaio02/init.c, psxaio02/psxaio02.scn, psxaio02/system.h: New.
Diffstat (limited to 'testsuites/psxtests/psxaio02/system.h')
-rw-r--r--testsuites/psxtests/psxaio02/system.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxaio02/system.h b/testsuites/psxtests/psxaio02/system.h
new file mode 100644
index 0000000000..a4bc91f463
--- /dev/null
+++ b/testsuites/psxtests/psxaio02/system.h
@@ -0,0 +1,50 @@
+ /*
+ * Copyright 2010, 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.
+ *
+ * $Id$
+ */
+
+/* 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 10
+#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 10
+#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
+#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
+
+#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 */