diff options
Diffstat (limited to 'cpukit/score/inline')
-rw-r--r-- | cpukit/score/inline/rtems/score/scheduler.inl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cpukit/score/inline/rtems/score/scheduler.inl b/cpukit/score/inline/rtems/score/scheduler.inl index e3ced3900f..3201c23e99 100644 --- a/cpukit/score/inline/rtems/score/scheduler.inl +++ b/cpukit/score/inline/rtems/score/scheduler.inl @@ -208,6 +208,22 @@ RTEMS_INLINE_ROUTINE void _Scheduler_Tick( void ) _Scheduler.Operations.tick(); } +/** + * @brief Starts the idle thread for a particular processor. + * + * @param[in/out] thread The idle thread for the processor. + * @parma[in/out] processor The processor for the idle thread. + * + * @see _Thread_Create_idle(). + */ +RTEMS_INLINE_ROUTINE void _Scheduler_Start_idle( + Thread_Control *thread, + Per_CPU_Control *processor +) +{ + ( *_Scheduler.Operations.start_idle )( thread, processor ); +} + /** @} */ #endif |