From 439088253938f1b608f068944498cdbb84227db0 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 18 Apr 1998 17:24:56 +0000 Subject: 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. --- c/src/exec/sapi/include/confdefs.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'c/src/exec/sapi/include/confdefs.h') 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, -- cgit v1.2.3