1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 06:07:35 +00:00

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
parent 7078119c58
commit dac129e10b
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");
}