mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 01:56:38 +00:00
Kernel: Make and use KERNEL_BASE
This is to make the 0xc0000000 less a magic number, and will make it easier in the future to move the Kernel around
This commit is contained in:
parent
8b44aa7885
commit
65566d6868
Notes:
sideshowbarker
2024-07-18 11:23:47 +09:00
Author: https://github.com/Hendiadyoin1
Commit: 65566d6868
Pull-request: https://github.com/SerenityOS/serenity/pull/8297
7 changed files with 12 additions and 9 deletions
|
@ -10,3 +10,5 @@
|
|||
|
||||
#define READONLY_AFTER_INIT __attribute__((section(".ro_after_init")))
|
||||
#define UNMAP_AFTER_INIT NEVER_INLINE __attribute__((section(".unmap_after_init")))
|
||||
|
||||
#define KERNEL_BASE 0xC000'0000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue