2011-05-23 Marta Rybczynska <marta.rybczynska@kalray.eu>

PR 1805/cpukit
	* sapi/include/confdefs.h: Currently unified areas are defined
	per-application. For some memory constrained and/or very dynamic
	environments (BSPs), it may be better to have per-BSP default value.
	This patch introduces such option. The default behaviour is left
	unchanged.
This commit is contained in:
Joel Sherrill
2011-05-23 16:06:23 +00:00
parent 49f6309bce
commit c1545f0c42
2 changed files with 15 additions and 0 deletions

View File

@@ -1,3 +1,12 @@
2011-05-23 Marta Rybczynska <marta.rybczynska@kalray.eu>
PR 1805/cpukit
* sapi/include/confdefs.h: Currently unified areas are defined
per-application. For some memory constrained and/or very dynamic
environments (BSPs), it may be better to have per-BSP default value.
This patch introduces such option. The default behaviour is left
unchanged.
2011-05-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1804/cpukit

View File

@@ -798,6 +798,12 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
* combined provided one larger memory pool. This is particularly
* useful in combination with the unlimited objects configuration.
*/
#ifdef BSP_DEFAULT_UNIFIED_WORK_AREAS
#ifndef CONFIGURE_UNIFIED_WORK_AREAS
#define CONFIGURE_UNIFIED_WORK_AREAS
#endif
#endif
#ifdef CONFIGURE_UNIFIED_WORK_AREAS
#include <rtems/score/wkspace.h>
Heap_Control *RTEMS_Malloc_Heap = &_Workspace_Area;