summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/config.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-14 13:48:18 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-25 07:15:19 +0100
commitad85c00966451ee793ced8ee1141a55b3911394f (patch)
tree517be68a8812eccd334254a9f0883a75d033bfac /cpukit/include/rtems/config.h
parentconfig: Add _Workspace_Size (diff)
downloadrtems-ad85c00966451ee793ced8ee1141a55b3911394f.tar.bz2
config: Add _Workspace_Is_unified
Move the unified workspace configuration constant out of the configuration table. Provide a default definition of the unified workspace constant. Update #3875.
Diffstat (limited to 'cpukit/include/rtems/config.h')
-rw-r--r--cpukit/include/rtems/config.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/cpukit/include/rtems/config.h b/cpukit/include/rtems/config.h
index 0b5527c76d..6489e4e4e8 100644
--- a/cpukit/include/rtems/config.h
+++ b/cpukit/include/rtems/config.h
@@ -83,14 +83,6 @@ typedef Stack_Allocator_free rtems_stack_free_hook;
* + required number of each object type for each API configured
*/
typedef struct {
- /**
- * @brief Specifies if a unified work area is used or not.
- *
- * If this element is @a true, then the RTEMS Workspace and the C Program
- * Heap use the same heap, otherwise they use separate heaps.
- */
- bool unified_work_area;
-
#ifdef RTEMS_SMP
bool smp_enabled;
#endif
@@ -111,7 +103,7 @@ extern const rtems_configuration_table Configuration;
*/
#define rtems_configuration_get_unified_work_area() \
- (Configuration.unified_work_area)
+ (_Workspace_Is_unified)
/**
* @brief Return if the stack allocator avoids the work space.