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

Kernel: Add KERNEL_MAPPING_BASE to Sections.h and use it in Prekernel

This commit is contained in:
Timon Kruiper 2023-01-10 10:34:25 +01:00 committed by Linus Groh
parent 95992a255e
commit 33581d5c44
3 changed files with 7 additions and 1 deletions

View file

@ -15,6 +15,10 @@
#define MAX_KERNEL_SIZE 0x4000000
#define KERNEL_PD_SIZE 0x31000000
// FIXME: This should be using the define from Sections.h, but that currently is not possible
// and causes linker errors, because Sections.h includes BootInfo.h.
#define KERNEL_MAPPING_BASE 0x2000000000
#ifdef __cplusplus
namespace Kernel {