summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/sapi/include/confdefs.h6
2 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index abc9cec7b5..dbdb258085 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * sapi/include/confdefs.h: Account for allocation of user extension
+ data area pointers.
+
2009-08-03 Roxana Leontie <roxana.leontie@gmail.com>
* Makefile.am, preinstall.am, libmisc/Makefile.am: changed the
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 93b62f8223..6cc93086e0 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -1432,12 +1432,14 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
_Configure_Object_RAM(_tasks, sizeof(Thread_Control)) + \
(_Configure_Max_Objects(_tasks) * \
(_Configure_From_workspace(CONFIGURE_MINIMUM_TASK_STACK_SIZE) + \
- _Configure_From_workspace(CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API) + \
+ CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API + \
CONFIGURE_MEMORY_PER_TASK_FOR_NEWLIB + \
CONFIGURE_MEMORY_PER_TASK_FOR_POSIX_API + \
CONFIGURE_MEMORY_PER_TASK_FOR_ITRON_API)) + \
_Configure_From_workspace( \
- _Configure_Max_Objects(_number_FP_tasks) * CONTEXT_FP_SIZE) \
+ _Configure_Max_Objects(_number_FP_tasks) * CONTEXT_FP_SIZE) + \
+ _Configure_From_workspace( \
+ (CONFIGURE_MAXIMUM_USER_EXTENSIONS + 1) * sizeof(void *)) \
)
/**