mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Kernel: Make SCHEDULER_DEBUG work on x86_64
This commit is contained in:
parent
741ca5477c
commit
7c3bfde8fd
Notes:
sideshowbarker
2024-07-18 08:48:56 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/7c3bfde8fd7 Pull-request: https://github.com/SerenityOS/serenity/pull/8795 Reviewed-by: https://github.com/Hendiadyoin1
1 changed files with 4 additions and 1 deletions
|
@ -229,7 +229,10 @@ bool Scheduler::pick_next()
|
|||
thread_to_schedule,
|
||||
thread_to_schedule.regs().cs, thread_to_schedule.regs().eip);
|
||||
#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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue