summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/thread.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-07 16:28:21 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-12 09:08:36 +0100
commit0bde56b1b4ef7468188712c86e6bd2793532ddc9 (patch)
treeaaca04985241fb16cb1ad6c856e5c87f6fd8a36e /cpukit/include/rtems/score/thread.h
parentscore: Simplify thread stack allocation (diff)
downloadrtems-0bde56b1b4ef7468188712c86e6bd2793532ddc9.tar.bz2
score: Simplify thread stack free
Update #3835.
Diffstat (limited to 'cpukit/include/rtems/score/thread.h')
-rw-r--r--cpukit/include/rtems/score/thread.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpukit/include/rtems/score/thread.h b/cpukit/include/rtems/score/thread.h
index 5c62efc1f7..336be281bd 100644
--- a/cpukit/include/rtems/score/thread.h
+++ b/cpukit/include/rtems/score/thread.h
@@ -199,10 +199,11 @@ typedef struct {
uint32_t isr_level;
/** This field is the initial priority. */
Priority_Control initial_priority;
- #if defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API)
- /** This field indicates whether the SuperCore allocated the stack. */
- bool core_allocated_stack;
- #endif
+ /**
+ * @brief This field is a pointer to the allocated stack area, otherwise it
+ * is NULL.
+ */
+ void *allocated_stack;
/** This field is the stack information. */
Stack_Control Initial_stack;
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )