diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-10 16:35:09 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-17 17:42:25 +0200 |
commit | c312f3110ebd6b38c3971910fe034b6c97ebb28c (patch) | |
tree | dcc82c92d7088b1d9c2e12e1ece1f6b705f49a05 /cpukit/include/rtems/score/thread.h | |
parent | rtems: Add RTEMS_ALIGN_UP() (diff) | |
download | rtems-c312f3110ebd6b38c3971910fe034b6c97ebb28c.tar.bz2 |
CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE
Add this application configuration option. This configuration option can be
used to reserve space for the dynamic linking of modules with thread-local
storage objects.
Add RTEMS_TASK_STORAGE_ALIGNMENT to define the minium alignment of a
thread-local storage size.
Update #4074.
Diffstat (limited to 'cpukit/include/rtems/score/thread.h')
-rw-r--r-- | cpukit/include/rtems/score/thread.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/include/rtems/score/thread.h b/cpukit/include/rtems/score/thread.h index 1daf6143f9..1388744548 100644 --- a/cpukit/include/rtems/score/thread.h +++ b/cpukit/include/rtems/score/thread.h @@ -954,6 +954,16 @@ extern const size_t _Thread_Initial_thread_count; extern const size_t _Thread_Maximum_name_size; /** + * @brief If this constant is greater than zero, then it defines the maximum + * thread-local storage size, otherwise the thread-local storage size is defined + * by the linker depending on the thread-local storage objects used by the + * application in the statically-linked executable. + * + * This value is provided via <rtems/confdefs.h>. + */ +extern const size_t _Thread_Maximum_TLS_size; + +/** * @brief The configured thread control block. * * This type is defined in <rtems/confdefs.h> and depends on the application |