Kernel: kmalloc prints addresses on panic

This commit is contained in:
Bananymous 2023-01-21 22:29:44 +02:00
parent b5453fad5c
commit 9088f7b305
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ void kmalloc_initialize()
Kernel::Panic("Kmalloc: Bootloader didn't provide a memory map");
if (g_kernel_end > s_kmalloc_base)
Kernel::Panic("Kmalloc: Kernel end is over kmalloc base");
Kernel::Panic("Kmalloc: Kernel end ({}) is over kmalloc base ({})", (void*)g_kernel_end, (void*)s_kmalloc_base);
// Validate kmalloc memory
bool valid = false;