forked from Imagelibrary/rtems
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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user