From ba7b2df7f00c92106cf70a55be629c19d2e8f2bf Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 14 Feb 2020 13:43:58 +0100 Subject: config: Add _Workspace_Size Move the workspace size configuration constant out of the configuration table. Update #3875. --- cpukit/include/rtems/confdefs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/include/rtems/confdefs.h') 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, -- cgit v1.2.3