summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/stackimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-09 12:11:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-31 17:30:17 +0200
commitaedd92d1477df0025821b77c06b2f2b2dc7aaf67 (patch)
tree42c71c8c52678d2a986d53cc9a39e60e55e93251 /cpukit/include/rtems/score/stackimpl.h
parentscore: Move _Stack_Allocator_free to separate file (diff)
downloadrtems-aedd92d1477df0025821b77c06b2f2b2dc7aaf67.tar.bz2
score: Add stack free handler to TCB
This avoids a dependency to the stack free function in the thread destruction. Update #3959.
Diffstat (limited to 'cpukit/include/rtems/score/stackimpl.h')
-rw-r--r--cpukit/include/rtems/score/stackimpl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/include/rtems/score/stackimpl.h b/cpukit/include/rtems/score/stackimpl.h
index 305c4e4e51..df9f87d5a3 100644
--- a/cpukit/include/rtems/score/stackimpl.h
+++ b/cpukit/include/rtems/score/stackimpl.h
@@ -166,6 +166,13 @@ void *_Stack_Allocate( size_t stack_size );
*/
void _Stack_Free( void *stack_area );
+/**
+ * @brief This function does nothing.
+ *
+ * @param stack_area is not used.
+ */
+void _Stack_Free_nothing( void *stack_area );
+
/** @} */
#ifdef __cplusplus