mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
hw_x86_64: Implement Cpu_idle::Cpu_idle function
The function is a copy of the ARM version.
This commit is contained in:
parent
2ecdf4f729
commit
16a51b317a
@ -14,13 +14,21 @@
|
||||
|
||||
/* core includes */
|
||||
#include <kernel/cpu.h>
|
||||
#include <kernel/kernel.h>
|
||||
|
||||
using namespace Kernel;
|
||||
|
||||
|
||||
Cpu_idle::Cpu_idle(Cpu * const cpu) : Cpu_job(Cpu_priority::min, 0) {
|
||||
PDBG("not implemented"); }
|
||||
Cpu_idle::Cpu_idle(Cpu * const cpu) : Cpu_job(Cpu_priority::min, 0)
|
||||
{
|
||||
Cpu_job::cpu(cpu);
|
||||
ip = (addr_t)&_main;
|
||||
sp = (addr_t)&_stack[stack_size];
|
||||
init_thread((addr_t)core_pd()->translation_table(), core_pd()->id());
|
||||
}
|
||||
|
||||
|
||||
void Cpu_idle::exception(unsigned const cpu) {
|
||||
PDBG("not implemented"); }
|
||||
void Cpu_idle::exception(unsigned const cpu)
|
||||
{
|
||||
PDBG("not implemented");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user