From 7c3bfde8fd70e000f0fa61164b77c87f0e84cdd9 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 16 Jul 2021 22:05:44 +0200 Subject: [PATCH] Kernel: Make SCHEDULER_DEBUG work on x86_64 --- Kernel/Scheduler.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Kernel/Scheduler.cpp b/Kernel/Scheduler.cpp index 21f17624678..60fafdaefab 100644 --- a/Kernel/Scheduler.cpp +++ b/Kernel/Scheduler.cpp @@ -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 }