summaryrefslogtreecommitdiffstats
path: root/c/src/exec/sapi/include/confdefs.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-18 17:24:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-18 17:24:56 +0000
commit439088253938f1b608f068944498cdbb84227db0 (patch)
treeab2153850bfd359e0b85874b0bad774911a20121 /c/src/exec/sapi/include/confdefs.h
parentChanged version number so script will work. (diff)
downloadrtems-439088253938f1b608f068944498cdbb84227db0.tar.bz2
Changed to account for libio's maximum_semaphores as well as its
memory requirements. Also added variable to tell libio how many file descriptors to allocate.
Diffstat (limited to 'c/src/exec/sapi/include/confdefs.h')
-rw-r--r--c/src/exec/sapi/include/confdefs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/c/src/exec/sapi/include/confdefs.h b/c/src/exec/sapi/include/confdefs.h
index eb27a8412e..f4e83eecc6 100644
--- a/c/src/exec/sapi/include/confdefs.h
+++ b/c/src/exec/sapi/include/confdefs.h
@@ -46,6 +46,10 @@ extern posix_api_configuration_table Configuration_POSIX_API;
#define CONFIGURE_LIBIO_SEMAPHORES \
(CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS + 1)
+#ifdef CONFIGURE_INIT
+unsigned32 rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
+#endif
+
/*
* Stack Checker Requirements
*/
@@ -524,7 +528,7 @@ posix_initialization_threads_table POSIX_Initialization_threads[] = {
rtems_api_configuration_table Configuration_RTEMS_API = {
CONFIGURE_MAXIMUM_TASKS,
CONFIGURE_MAXIMUM_TIMERS,
- CONFIGURE_MAXIMUM_SEMAPHORES,
+ CONFIGURE_MAXIMUM_SEMAPHORES + CONFIGURE_LIBIO_SEMAPHORES,
CONFIGURE_MAXIMUM_MESSAGE_QUEUES,
CONFIGURE_MAXIMUM_PARTITIONS,
CONFIGURE_MAXIMUM_REGIONS + CONFIGURE_MALLOC_REGION,