forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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"
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user