summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/confdefs.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-14 13:43:58 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-25 07:15:19 +0100
commitba7b2df7f00c92106cf70a55be629c19d2e8f2bf (patch)
tree45ec23439c20208118bab6e80b60f196137be887 /cpukit/include/rtems/confdefs.h
parentconfig: Add _Thread_Idle_body (diff)
downloadrtems-ba7b2df7f00c92106cf70a55be629c19d2e8f2bf.tar.bz2
config: Add _Workspace_Size
Move the workspace size configuration constant out of the configuration table. Update #3875.
Diffstat (limited to 'cpukit/include/rtems/confdefs.h')
-rw-r--r--cpukit/include/rtems/confdefs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h
index ae1dca11e0..6057bf4ac5 100644
--- a/cpukit/include/rtems/confdefs.h
+++ b/cpukit/include/rtems/confdefs.h
@@ -2637,7 +2637,6 @@ struct _reent *__getreent(void)
* This is the primary Configuration Table for this application.
*/
const rtems_configuration_table Configuration = {
- CONFIGURE_EXECUTIVE_RAM_SIZE, /* required RTEMS workspace */
#ifdef CONFIGURE_UNIFIED_WORK_AREAS /* true for unified work areas */
true,
#else
@@ -2655,6 +2654,8 @@ struct _reent *__getreent(void)
#endif
};
+ const uintptr_t _Workspace_Size = CONFIGURE_EXECUTIVE_RAM_SIZE;
+
#ifdef CONFIGURE_DIRTY_MEMORY
RTEMS_SYSINIT_ITEM(
_Memory_Dirty_free_areas,