mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00:00
Kernel: Add KERNEL_MAPPING_BASE to Sections.h and use it in Prekernel
This commit is contained in:
parent
95992a255e
commit
33581d5c44
3 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue