From c1545f0c428e017cfe76c6a192ff7d07525898c1 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 23 May 2011 16:06:23 +0000 Subject: 2011-05-23 Marta Rybczynska 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. --- cpukit/ChangeLog | 9 +++++++++ cpukit/sapi/include/confdefs.h | 6 ++++++ 2 files changed, 15 insertions(+) (limited to 'cpukit') 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 + + 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 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 Heap_Control *RTEMS_Malloc_Heap = &_Workspace_Area; -- cgit v1.2.3