diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-17 17:57:47 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-17 17:57:47 +0000 |
commit | 901a913b700df1ab4a14d88e10d5a7a7a752ca8c (patch) | |
tree | d2d82675fc19bafc9285cb222e3611c2a840ac46 /testsuites/psxtests/psxsysconf/system.h | |
parent | 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-901a913b700df1ab4a14d88e10d5a7a7a752ca8c.tar.bz2 |
2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test for sysconf().
* psxsysconf/.cvsignore, psxsysconf/Makefile.am, psxsysconf/init.c,
psxsysconf/psxsysconf.scn, psxsysconf/system.h: New files.
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxsysconf/system.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxsysconf/system.h b/testsuites/psxtests/psxsysconf/system.h new file mode 100644 index 0000000000..9177b272bc --- /dev/null +++ b/testsuites/psxtests/psxsysconf/system.h @@ -0,0 +1,39 @@ +/* system.h + * + * This include file contains information that is included in every + * function in the test set. + * + * COPYRIGHT (c) 1989-1999. + * 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> + +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> + +/* global variables */ + +/* end of include file */ |