1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +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

@ -36,7 +36,7 @@ extern "C" PageDirectoryEntry boot_pd3[1024];
UNMAP_AFTER_INIT PageDirectory::PageDirectory()
{
m_range_allocator.initialize_with_range(VirtualAddress(0xc1000000), 0x30800000);
m_range_allocator.initialize_with_range(VirtualAddress(0xc2000000), 0x2f000000);
m_identity_range_allocator.initialize_with_range(VirtualAddress(FlatPtr(0x00000000)), 0x00200000);
// Adopt the page tables already set up by boot.S