summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-09-01 13:28:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-09-01 13:28:00 +0000
commit8c51e48cac15c6fc13e8575189c4fd4b58aeaf52 (patch)
tree31902f03b28afcfb43346c27496947536adb09bc /cpukit
parent2005-09-01 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-8c51e48cac15c6fc13e8575189c4fd4b58aeaf52.tar.bz2
2005-09-01 Nuno Costa <nuno-costa@iol.pt>
PR 804 * sapi/include/confdefs.h: Memory for POSIX timers not accounted for. Patch adapted from edit comment in PR filed.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/sapi/include/confdefs.h5
2 files changed, 9 insertions, 2 deletions
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 <nuno-costa@iol.pt>
+
+ 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 <ralf.corsepius@rtems.org>
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 <rtems/posix/psignal.h>
#include <rtems/posix/semaphore.h>
#include <rtems/posix/threadsup.h>
+#include <rtems/posix/timer.h>
#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) \
)