From 1ccb64e18f1e4c1f51c12b9dc31a881e2829b2b6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 6 Jun 2013 15:28:41 +0200 Subject: scheduler: Add start idle thread operation Add and use _Scheduler_Start_idle(). --- cpukit/score/include/rtems/score/thread.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cpukit/score/include/rtems/score/thread.h') diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 3cddb5a3e9..60583a77c0 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -571,13 +571,17 @@ bool _Thread_Initialize( * @param entry_point * @param pointer_argument * @param numeric_argument + * @param[in/out] processor The processor if used to start an idle thread + * during system initialization. Must be set to @c NULL to start a normal + * thread. */ bool _Thread_Start( Thread_Control *the_thread, Thread_Start_types the_prototype, void *entry_point, void *pointer_argument, - Thread_Entry_numeric_type numeric_argument + Thread_Entry_numeric_type numeric_argument, + Per_CPU_Control *processor ); /** -- cgit v1.2.3