From 8c51e48cac15c6fc13e8575189c4fd4b58aeaf52 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 1 Sep 2005 13:28:00 +0000 Subject: 2005-09-01 Nuno Costa PR 804 * sapi/include/confdefs.h: Memory for POSIX timers not accounted for. Patch adapted from edit comment in PR filed. --- cpukit/ChangeLog | 6 ++++++ cpukit/sapi/include/confdefs.h | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 7a0a576971..93dc8ef7e5 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2005-09-01 Nuno Costa + + PR 804 + * sapi/include/confdefs.h: Memory for POSIX timers not accounted for. + Patch adapted from edit comment in PR filed. + 2005-08-31 Ralf Corsepius PR 819/filesystem diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index 8093c532a8..4d6fea1e89 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -485,6 +485,7 @@ rtems_extensions_table Configuration_Initial_Extensions[] = { #include #include #include +#include #ifndef CONFIGURE_MAXIMUM_POSIX_THREADS #define CONFIGURE_MAXIMUM_POSIX_THREADS 0 @@ -580,8 +581,7 @@ posix_initialization_threads_table POSIX_Initialization_threads[] = { ( sizeof(POSIX_Keys_Control) + CONFIGURE_OBJECT_TABLE_STUFF ) ) #define CONFIGURE_MEMORY_FOR_POSIX_TIMERS(_timers) \ - ((_timers) * \ - ( 0 ) ) + ((_timers) * (sizeof(POSIX_Timer_Control) + CONFIGURE_OBJECT_TABLE_STUFF)) #define CONFIGURE_MEMORY_FOR_POSIX_QUEUED_SIGNALS(_queued_signals) \ ((_queued_signals) * \ @@ -610,6 +610,7 @@ posix_initialization_threads_table POSIX_Initialization_threads[] = { CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES ) + \ CONFIGURE_MEMORY_FOR_POSIX_SEMAPHORES( \ CONFIGURE_MAXIMUM_POSIX_SEMAPHORES ) + \ + CONFIGURE_MEMORY_FOR_POSIX_TIMERS( CONFIGURE_MAXIMUM_POSIX_TIMERS ) + \ (CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE) \ ) -- cgit v1.2.3