diff --git a/kernel/src/interrupts.cpp b/kernel/src/interrupts.cpp index 50fe6297..ff556afb 100644 --- a/kernel/src/interrupts.cpp +++ b/kernel/src/interrupts.cpp @@ -12,11 +12,11 @@ #include "kernel_utils.hpp" #include "gdt.hpp" #include "scheduler.hpp" +#include "logging.hpp" #include "isrs.hpp" #include "irqs.hpp" #include "syscalls.hpp" -#include "logging.hpp" namespace { @@ -93,6 +93,8 @@ void install_idt(){ //Give the IDTR address to the CPU asm volatile("lidt [%0]" : : "m" (idtr_64)); + + logging::logf(logging::log_level::TRACE, "int: IDT installed %h (base:%h)\n", reinterpret_cast(&idtr_64), reinterpret_cast(&idt_64[0])); } void install_isrs(){