diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-09-29 14:34:43 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-10-14 10:48:23 +0200 |
commit | 03ddd894593ece44c40962e82a8711c5110a88cb (patch) | |
tree | fb0b6dde4a2f29e36a26162bd068cda74bda2ebf /cpukit/include | |
parent | score: INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILED (diff) | |
download | rtems-03ddd894593ece44c40962e82a8711c5110a88cb.tar.bz2 |
stackchk: Avoid internal header file
Diffstat (limited to 'cpukit/include')
-rw-r--r-- | cpukit/include/rtems/stackchk.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/cpukit/include/rtems/stackchk.h b/cpukit/include/rtems/stackchk.h index 22d48c9d2b..7968211a51 100644 --- a/cpukit/include/rtems/stackchk.h +++ b/cpukit/include/rtems/stackchk.h @@ -40,9 +40,7 @@ #ifndef _RTEMS_STACKCHK_H #define _RTEMS_STACKCHK_H -#include <stdbool.h> /* bool */ - -#include <rtems/score/thread.h> /* Thread_Control */ +#include <rtems.h> #include <rtems/print.h> /** @@ -110,11 +108,11 @@ void rtems_stack_checker_report_usage_with_plugin( * will automatically intialize itself. */ bool rtems_stack_checker_create_extension( - Thread_Control *running, - Thread_Control *the_thread + rtems_tcb *running, + rtems_tcb *the_thread ); -void rtems_stack_checker_begin_extension( Thread_Control *executing ); +void rtems_stack_checker_begin_extension( rtems_tcb *executing ); /** * @brief Stack Checker Task Context Switch Extension @@ -128,8 +126,8 @@ void rtems_stack_checker_begin_extension( Thread_Control *executing ); * @note This is called from the internal method _Thread_Dispatch. */ void rtems_stack_checker_switch_extension( - Thread_Control *running, - Thread_Control *heir + rtems_tcb *running, + rtems_tcb *heir ); /** |