diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-14 13:43:58 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-25 07:15:19 +0100 |
commit | ba7b2df7f00c92106cf70a55be629c19d2e8f2bf (patch) | |
tree | 45ec23439c20208118bab6e80b60f196137be887 /cpukit/include/rtems/config.h | |
parent | config: Add _Thread_Idle_body (diff) | |
download | rtems-ba7b2df7f00c92106cf70a55be629c19d2e8f2bf.tar.bz2 |
config: Add _Workspace_Size
Move the workspace size configuration constant out of the configuration
table.
Update #3875.
Diffstat (limited to '')
-rw-r--r-- | cpukit/include/rtems/config.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/cpukit/include/rtems/config.h b/cpukit/include/rtems/config.h index 017b4ed476..0b5527c76d 100644 --- a/cpukit/include/rtems/config.h +++ b/cpukit/include/rtems/config.h @@ -34,6 +34,7 @@ #include <rtems/score/userextdata.h> #include <rtems/score/threadidledata.h> #include <rtems/score/watchdogticks.h> +#include <rtems/score/wkspacedata.h> #include <rtems/rtems/config.h> #include <rtems/extension.h> #if defined(RTEMS_MULTIPROCESSING) @@ -83,11 +84,6 @@ typedef Stack_Allocator_free rtems_stack_free_hook; */ typedef struct { /** - * This field specifies the size in bytes of the RTEMS Workspace. - */ - uintptr_t work_space_size; - - /** * @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 @@ -132,7 +128,7 @@ extern const rtems_configuration_table Configuration; uintptr_t rtems_configuration_get_stack_space_size( void ); #define rtems_configuration_get_work_space_size() \ - (Configuration.work_space_size + \ + (_Workspace_Size + \ (rtems_configuration_get_stack_allocator_avoids_work_space() ? \ 0 : rtems_configuration_get_stack_space_size())) |