summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-04 17:06:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-04 17:06:26 +0000
commit8fed642112c0fe7587f4abb1b9c45be3b50f2641 (patch)
tree360fb46a89d1400010b804e8e9ed860c8ea3acc2 /cpukit/sapi
parent2009-08-04 Xi Yang <hiyangxi@gmail.com> (diff)
downloadrtems-8fed642112c0fe7587f4abb1b9c45be3b50f2641.tar.bz2
2009-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Account for allocation of user extension data area pointers.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r--cpukit/sapi/include/confdefs.h6
1 files changed, 4 insertions, 2 deletions
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 *)) \
)
/**