mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-18 16:18:31 +00:00
parent
a8d071b372
commit
010e00ae7a
base-hw/src/core/kernel
@ -23,8 +23,6 @@
|
||||
|
||||
namespace Kernel
|
||||
{
|
||||
typedef Cpu_scheduler Processor_scheduler;
|
||||
|
||||
/**
|
||||
* Thread that consumes processor time if no other thread is available
|
||||
*/
|
||||
|
@ -59,7 +59,7 @@ namespace Kernel
|
||||
*/
|
||||
class Execution_context;
|
||||
|
||||
typedef Scheduler<Execution_context> Cpu_scheduler;
|
||||
typedef Scheduler<Execution_context> Processor_scheduler;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
@ -299,7 +299,7 @@ class Kernel::Scheduler
|
||||
T * idle() const { return _idle; }
|
||||
};
|
||||
|
||||
class Kernel::Execution_context : public Cpu_scheduler::Item
|
||||
class Kernel::Execution_context : public Processor_scheduler::Item
|
||||
{
|
||||
private:
|
||||
|
||||
@ -363,7 +363,7 @@ class Kernel::Execution_context : public Cpu_scheduler::Item
|
||||
*/
|
||||
Execution_context(Processor * const processor, Priority const priority)
|
||||
:
|
||||
Cpu_scheduler::Item(priority),
|
||||
Processor_scheduler::Item(priority),
|
||||
__processor(processor)
|
||||
{ }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user