summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2011-11-10 14:40:13 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2011-11-10 14:40:13 +0000
commitb4f635e9d00dc0dfa871e886b9f130e0798b2f82 (patch)
tree0f8ccbe555f1491c4a5c9b5f7f825b11d332eaef /cpukit/score
parent2011-11-10 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-b4f635e9d00dc0dfa871e886b9f130e0798b2f82.tar.bz2
2011-11-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1924/cpukit * sapi/include/rtems/config.h: New fields stack_space_size, unified_work_area, and stack_allocator_avoids_work_space in rtems_configuration_table. * sapi/include/confdefs.h: Removed rtems_unified_work_area (this is now part of the Configuration). Separate work space and stack space estimate. Added CONFIGURE_TASK_STACK_ALLOCATOR_AVOIDS_WORK_SPACE configuration option. * libmisc/shell/main_wkspaceinfo.c, score/src/wkspace.c, libcsupport/src/malloc_initialize.c: Update due to API changes.
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/src/wkspace.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/src/wkspace.c b/cpukit/score/src/wkspace.c
index 568bfc1ce7..179f08d9cc 100644
--- a/cpukit/score/src/wkspace.c
+++ b/cpukit/score/src/wkspace.c
@@ -33,11 +33,11 @@
void _Workspace_Handler_initialization(void)
{
uintptr_t memory_available = 0;
- void *starting_address = Configuration.work_space_start;
- uintptr_t size = Configuration.work_space_size;
+ void *starting_address = rtems_configuration_get_work_space_start();
+ uintptr_t size = rtems_configuration_get_work_space_size();
- if ( Configuration.do_zero_of_workspace )
- memset( starting_address, 0, size );
+ if ( rtems_configuration_get_do_zero_of_workspace() )
+ memset( starting_address, 0, size );
memory_available = _Heap_Initialize(
&_Workspace_Area,