From 61ae99b80252c5d18ac3fdb55b37acddc08182aa Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 5 Aug 2009 16:43:33 +0000 Subject: [PATCH] 2009-08-05 Joel Sherrill * sapi/include/confdefs.h: Account for memory for POSIX message queue file descriptors. --- cpukit/ChangeLog | 5 +++++ cpukit/sapi/include/confdefs.h | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 02c8a8c8b9..7bcd9fbdea 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2009-08-05 Joel Sherrill + + * sapi/include/confdefs.h: Account for memory for POSIX message queue + file descriptors. + 2009-08-05 Joel Sherrill * posix/src/mqueuecreatesupp.c: Now that the number of POSIX message diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index cee0a90e2a..c318e5098b 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -1102,7 +1102,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper = CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES #endif - #define CONFIGURE_MEMORY_FOR_POSIX_MESSAGE_QUEUES(_mqueue_fds) \ + #define CONFIGURE_MEMORY_FOR_POSIX_MESSAGE_QUEUE_DESCRIPTORS(_mqueue_fds) \ _Configure_POSIX_Named_Object_RAM( \ _mqueue_fds, sizeof(POSIX_Message_queue_Control_fd) ) #endif @@ -1192,6 +1192,8 @@ rtems_fs_init_functions_t rtems_fs_init_helper = CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS ) + \ CONFIGURE_MEMORY_FOR_POSIX_MESSAGE_QUEUES( \ CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES ) + \ + CONFIGURE_MEMORY_FOR_POSIX_MESSAGE_QUEUE_DESCRIPTORS( \ + CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS ) + \ CONFIGURE_MEMORY_FOR_POSIX_SEMAPHORES( \ CONFIGURE_MAXIMUM_POSIX_SEMAPHORES ) + \ CONFIGURE_MEMORY_FOR_POSIX_BARRIERS(CONFIGURE_MAXIMUM_POSIX_BARRIERS) + \