hw: public access to idle item of a scheduler

ref #964
This commit is contained in:
Martin Stein 2013-11-28 00:41:57 +01:00 committed by Norman Feske
parent 8d19aad601
commit da116c66ba

View File

@ -289,6 +289,13 @@ class Kernel::Scheduler
* Exclude 'i' from scheduling
*/
void remove(T * const i) { _items[i->priority()].remove(i); }
/***************
** Accessors **
***************/
T * idle() const { return _idle; }
};
class Kernel::Execution_context : public Cpu_scheduler::Item