Improve IDT Kernel panic

This commit is contained in:
Bananymous 2022-11-16 20:28:07 +02:00
parent 4ebd0e5c36
commit c292ef5471
1 changed files with 9 additions and 9 deletions

View File

@ -21,7 +21,7 @@ static GateDescriptor* s_idt;
asm volatile("movl %%cr2, %%eax":"=a"(cr2)); \
asm volatile("movl %%cr3, %%eax":"=a"(cr3)); \
asm volatile("movl %%cr4, %%eax":"=a"(cr4)); \
Kernel::panic(msg ", CR0={} CR2={} CR3={} CR4={}\n", cr0, cr2, cr3, cr4); \
Kernel::panic(msg ", CR0={} CR2={} CR3={} CR4={}", cr0, cr2, cr3, cr4); \
}
INTERRUPT_HANDLER(0x00, "Divide error")