diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-14 13:36:30 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-25 07:15:19 +0100 |
commit | 5180762ccb480e72c0dac5eb3c8c27a2ad62a240 (patch) | |
tree | 484ebfde56a8ab000eaa09c2717388d4b68b1aaa /cpukit/include/rtems/score/threadidledata.h | |
parent | config: Add _Thread_Idle_stack_size (diff) | |
download | rtems-5180762ccb480e72c0dac5eb3c8c27a2ad62a240.tar.bz2 |
config: Add _Thread_Idle_body
Move the idle thread body configuration constant out of the
configuration table.
Provide a default definition of the idle thread body constant.
Update #3875.
Diffstat (limited to '')
-rw-r--r-- | cpukit/include/rtems/score/threadidledata.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cpukit/include/rtems/score/threadidledata.h b/cpukit/include/rtems/score/threadidledata.h index 0011776ffa..79ac020576 100644 --- a/cpukit/include/rtems/score/threadidledata.h +++ b/cpukit/include/rtems/score/threadidledata.h @@ -56,6 +56,19 @@ extern "C" { */ extern const size_t _Thread_Idle_stack_size; +/** + * @brief The idle thread body type. + */ +typedef void *( *Thread_Idle_body )( uintptr_t ); + +/** + * @brief The idle thread body. + * + * This constant is defined by the application configuration via + * <rtems/confdefs.h>. + */ +extern const Thread_Idle_body _Thread_Idle_body; + /** @} */ #ifdef __cplusplus |