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/src/schedulerdefaultstartidle.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 cpukit/score/src/schedulerdefaultstartidle.c (limited to 'cpukit/score/src/schedulerdefaultstartidle.c') diff --git a/cpukit/score/src/schedulerdefaultstartidle.c b/cpukit/score/src/schedulerdefaultstartidle.c new file mode 100644 index 0000000000..043fe68b52 --- /dev/null +++ b/cpukit/score/src/schedulerdefaultstartidle.c @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2013 embedded brains GmbH + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#if HAVE_CONFIG_H + #include "config.h" +#endif + +#include + +void _Scheduler_default_Start_idle( + Thread_Control *thread, + Per_CPU_Control *processor +) +{ + (void) processor; + _Scheduler_Unblock( thread ); +} -- cgit v1.2.3