Kernel: Expand the kernel memory slot from 16 MiB to 32 MiB

Like in 8cd5477e54, we need to expand the
kernel slot again to be able to boot again.
This commit is contained in:
Liav A 2021-05-14 15:34:26 +03:00 committed by Andreas Kling
commit dac129e10b
Notes: sideshowbarker 2024-07-18 18:00:44 +09:00
3 changed files with 18 additions and 8 deletions

View file

@ -104,7 +104,7 @@ static Processor s_bsp_processor; // global but let's keep it "private"
extern "C" UNMAP_AFTER_INIT [[noreturn]] void init()
{
if ((FlatPtr)&end_of_kernel_image >= 0xc1000000u) {
if ((FlatPtr)&end_of_kernel_image >= 0xc2000000u) {
// The kernel has grown too large again!
asm volatile("cli;hlt");
}