summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/stack.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-09 10:12:14 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-12 09:08:36 +0100
commitf4dbf37dd432623c345f8e19f78a4eb01fcedb8b (patch)
treecb18eb86ccce8ab3fff22c9c4543ddaf9d93b183 /cpukit/include/rtems/score/stack.h
parentscore: Simplify FP context allocation (diff)
downloadrtems-f4dbf37dd432623c345f8e19f78a4eb01fcedb8b.tar.bz2
score: Simplify TLS area allocation
Use the stack area to allocate the TLS area. Update #3835.
Diffstat (limited to 'cpukit/include/rtems/score/stack.h')
-rw-r--r--cpukit/include/rtems/score/stack.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/include/rtems/score/stack.h b/cpukit/include/rtems/score/stack.h
index 1158f3472e..2ad362abd2 100644
--- a/cpukit/include/rtems/score/stack.h
+++ b/cpukit/include/rtems/score/stack.h
@@ -58,12 +58,19 @@ typedef struct {
} Stack_Control;
/**
- * This variable contains the the minimum stack size;
+ * @brief The minimum stack size.
*
- * @note It is instantiated and set by User Configuration via confdefs.h.
+ * Application provided via <rtems/confdefs.h>.
*/
extern uint32_t rtems_minimum_stack_size;
+/**
+ * @brief The configured stack space size.
+ *
+ * Application provided via <rtems/confdefs.h>.
+ */
+extern const uintptr_t _Stack_Space_size;
+
/** @} */
#ifdef __cplusplus