summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-07-16 10:35:25 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-16 18:50:59 +0200
commit22a588d394051f3d945a2c01e1cc132dcaca98f8 (patch)
tree3c92fb08725977c82e941d80aed335d923aab090 /Kernel
parenta17c25e45efae1354ed955ff46f1ed71f33c54ca (diff)
downloadserenity-22a588d394051f3d945a2c01e1cc132dcaca98f8.zip
Kernel: Make the page table for the kernel image larger
Building the x86_64 kernel with ENABLE_EXTRA_KERNEL_DEBUG_SYMBOLS results in an image that is larger than 0x2000000 bytes.
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Sections.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Sections.h b/Kernel/Sections.h
index 61b5d57e29..55081f8153 100644
--- a/Kernel/Sections.h
+++ b/Kernel/Sections.h
@@ -12,7 +12,7 @@
#define UNMAP_AFTER_INIT NEVER_INLINE __attribute__((section(".unmap_after_init")))
#define KERNEL_BASE 0xC0000000
-#define KERNEL_PD_OFFSET 0x2000000
+#define KERNEL_PD_OFFSET 0x3000000
#define KERNEL_PD_END 0xF1000000
#define KERNEL_PT1024_BASE 0xFFE00000
#define KERNEL_QUICKMAP_PT (KERNEL_PT1024_BASE + 0x6000)