diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-04-18 17:24:56 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-04-18 17:24:56 +0000 |
commit | 439088253938f1b608f068944498cdbb84227db0 (patch) | |
tree | ab2153850bfd359e0b85874b0bad774911a20121 | |
parent | Changed version number so script will work. (diff) | |
download | rtems-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 '')
-rw-r--r-- | c/src/exec/sapi/headers/confdefs.h | 6 | ||||
-rw-r--r-- | c/src/exec/sapi/include/confdefs.h | 6 | ||||
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 6 |
3 files changed, 15 insertions, 3 deletions
diff --git a/c/src/exec/sapi/headers/confdefs.h b/c/src/exec/sapi/headers/confdefs.h index eb27a8412e..f4e83eecc6 100644 --- a/c/src/exec/sapi/headers/confdefs.h +++ b/c/src/exec/sapi/headers/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, 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, diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index eb27a8412e..f4e83eecc6 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/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, |