diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-07 16:00:58 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-12 09:08:35 +0100 |
commit | a0211fc9f9883d0a1182548de11ab0e0505a81c6 (patch) | |
tree | f7f5ffa7f53492d54100185e5343d9d55dba72fd /cpukit/include/rtems/score/stackimpl.h | |
parent | score: Remove superfluous FP types/defines (diff) | |
download | rtems-a0211fc9f9883d0a1182548de11ab0e0505a81c6.tar.bz2 |
score: Simplify thread stack allocation
Remove superfluous Thread_Control::Start::stack member.
Update #3835.
Diffstat (limited to 'cpukit/include/rtems/score/stackimpl.h')
-rw-r--r-- | cpukit/include/rtems/score/stackimpl.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/include/rtems/score/stackimpl.h b/cpukit/include/rtems/score/stackimpl.h index 98eda3148a..6b14560c9b 100644 --- a/cpukit/include/rtems/score/stackimpl.h +++ b/cpukit/include/rtems/score/stackimpl.h @@ -105,6 +105,16 @@ RTEMS_INLINE_ROUTINE size_t _Stack_Ensure_minimum ( return _Stack_Minimum(); } +/** + * @brief Allocate the requested stack space. + * + * @param stack_size The stack space that is requested. + * + * @retval stack_area The allocated stack area. + * @retval NULL The allocation failed. + */ +void *_Stack_Allocate( size_t stack_size ); + /** @} */ #ifdef __cplusplus |