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.
This commit is contained in:
Sebastian Huber
2011-11-10 14:40:13 +00:00
parent 742a2ba3b5
commit b4f635e9d0
6 changed files with 323 additions and 204 deletions

View File

@@ -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"
);
}