summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc
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/libmisc
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/libmisc')
-rw-r--r--cpukit/libmisc/shell/main_wkspaceinfo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/libmisc/shell/main_wkspaceinfo.c b/cpukit/libmisc/shell/main_wkspaceinfo.c
index fd7c531854..9f7be701b6 100644
--- a/cpukit/libmisc/shell/main_wkspaceinfo.c
+++ b/cpukit/libmisc/shell/main_wkspaceinfo.c
@@ -24,12 +24,10 @@
#include <rtems/score/protectedheap.h>
#include "internal.h"
-extern bool rtems_unified_work_area;
-
void rtems_shell_print_unified_work_area_message(void)
{
printf( "\nC Program Heap and RTEMS Workspace are %s.\n",
- ((rtems_unified_work_area) ? "the same" : "separate")
+ rtems_configuration_get_unified_work_area() ? "the same" : "separate"
);
}