summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-05-23 16:06:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-05-23 16:06:23 +0000
commitc1545f0c428e017cfe76c6a192ff7d07525898c1 (patch)
tree18f5bfa1c8721a9c0567e55155e3f89d4c92ae11 /cpukit
parent2011-05-23 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-c1545f0c428e017cfe76c6a192ff7d07525898c1.tar.bz2
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.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog9
-rw-r--r--cpukit/sapi/include/confdefs.h6
2 files changed, 15 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 4ccc5e7b2b..f1b5ffb9d0 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -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
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 25d7d3eaeb..6aa6406ac9 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -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;