summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/wkspacedata.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/score/wkspacedata.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 '')
-rw-r--r--cpukit/include/rtems/score/wkspacedata.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/include/rtems/score/wkspacedata.h b/cpukit/include/rtems/score/wkspacedata.h
index d4b5dd1c3b..613a320dfe 100644
--- a/cpukit/include/rtems/score/wkspacedata.h
+++ b/cpukit/include/rtems/score/wkspacedata.h
@@ -57,6 +57,14 @@ extern "C" {
*/
extern const uintptr_t _Workspace_Size;
+/**
+ * @brief Indicates if the workspace and C program heap are unified.
+ *
+ * This constant is defined by the application configuration via
+ * <rtems/confdefs.h>.
+ */
+extern const bool _Workspace_Is_unified;
+
/** @} */
#ifdef __cplusplus