summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/stackchk/stackchk.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-09-07 14:25:30 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-09-08 07:43:02 +0200
commit84e960e9510e2ae35b904698c019627045049059 (patch)
tree600d45644ffac1ec7f68110362e94657161dcb71 /cpukit/libmisc/stackchk/stackchk.h
parentstackchk: Use a const pattern to check (diff)
downloadrtems-84e960e9510e2ae35b904698c019627045049059.tar.bz2
stackchk: Fix stack checker thread initialization
Commit 0fd6f25507fbea5f4892b71b58837cdda17856b4 relaxed the thread begin extension execution environment. This broke the stack check which only partially initialized the stack pattern in its create extension. Move the part of the begin extension to the create extension.
Diffstat (limited to '')
-rw-r--r--cpukit/libmisc/stackchk/stackchk.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/cpukit/libmisc/stackchk/stackchk.h b/cpukit/libmisc/stackchk/stackchk.h
index f7f75b63e2..8ad173357a 100644
--- a/cpukit/libmisc/stackchk/stackchk.h
+++ b/cpukit/libmisc/stackchk/stackchk.h
@@ -97,19 +97,6 @@ bool rtems_stack_checker_create_extension(
);
/**
- * @brief Stack Checker Task Begin Extension
- *
- * This method is the task begin extension for the stack checker.
- *
- * @param[in] the_thread points to task starting to execute
- *
- * @note This is called from the internal method _Thread_Handler.
- */
-void rtems_stack_checker_begin_extension(
- Thread_Control *the_thread
-);
-
-/**
* @brief Stack Checker Task Context Switch Extension
*
* This method is the task context switch extension for the stack checker.
@@ -138,7 +125,7 @@ void rtems_stack_checker_switch_extension(
0, /* rtems_task_restart */ \
0, /* rtems_task_delete */ \
rtems_stack_checker_switch_extension, /* task_switch */ \
- rtems_stack_checker_begin_extension, /* task_begin */ \
+ 0, /* task_begin */ \
0, /* task_exitted */ \
0 /* rtems_stack_checker_fatal_extension */, /* fatal */ \
}