diff options
author | Timon Kruiper <timonkruiper@gmail.com> | 2023-01-10 10:34:25 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-01-24 14:54:44 +0000 |
commit | 33581d5c447e29622ba0a26f691e20b8cc03af52 (patch) | |
tree | 4d075e5bb037fa91354063c35687972ee636f645 /Kernel/Sections.h | |
parent | 95992a255eeadfa8a932d117370148a1f03dfdc8 (diff) | |
download | serenity-33581d5c447e29622ba0a26f691e20b8cc03af52.zip |
Kernel: Add KERNEL_MAPPING_BASE to Sections.h and use it in Prekernel
Diffstat (limited to 'Kernel/Sections.h')
-rw-r--r-- | Kernel/Sections.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Sections.h b/Kernel/Sections.h index 9142dc6ccc..37593b1aca 100644 --- a/Kernel/Sections.h +++ b/Kernel/Sections.h @@ -15,6 +15,8 @@ #define READONLY_AFTER_INIT __attribute__((section(".ro_after_init"))) #define UNMAP_AFTER_INIT NEVER_INLINE __attribute__((section(".unmap_after_init"))) +#define KERNEL_MAPPING_BASE 0x2000000000 + #define KERNEL_PD_END (kernel_mapping_base + KERNEL_PD_SIZE) #define KERNEL_PT1024_BASE (kernel_mapping_base + 0x3FE00000) |