mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
Kernel: Make SCHEDULER_DEBUG work on x86_64
This commit is contained in:
parent
741ca5477c
commit
7c3bfde8fd
1 changed files with 4 additions and 1 deletions
|
@ -229,7 +229,10 @@ bool Scheduler::pick_next()
|
||||||
thread_to_schedule,
|
thread_to_schedule,
|
||||||
thread_to_schedule.regs().cs, thread_to_schedule.regs().eip);
|
thread_to_schedule.regs().cs, thread_to_schedule.regs().eip);
|
||||||
#else
|
#else
|
||||||
PANIC("Scheduler::pick_next() not implemented");
|
dbgln("Scheduler[{}]: Switch to {} @ {:04x}:{:016x}",
|
||||||
|
Processor::id(),
|
||||||
|
thread_to_schedule,
|
||||||
|
thread_to_schedule.regs().cs, thread_to_schedule.regs().rip);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue