mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:04:59 +00:00
Kernel: Remove some more hardcoded addresses
This commit is contained in:
parent
7c3bfde8fd
commit
679ae6af81
1 changed files with 6 additions and 2 deletions
|
@ -13,11 +13,15 @@
|
|||
|
||||
#define KERNEL_BASE 0xC0000000
|
||||
#define KERNEL_PD_OFFSET 0x3000000
|
||||
#define KERNEL_PD_END 0xF1000000
|
||||
#define KERNEL_PT1024_BASE 0xFFE00000
|
||||
#define KERNEL_PD_END (KERNEL_BASE + 0x31000000)
|
||||
#define KERNEL_PT1024_BASE (KERNEL_BASE + 0x3FE00000)
|
||||
#define KERNEL_QUICKMAP_PT (KERNEL_PT1024_BASE + 0x6000)
|
||||
#define KERNEL_QUICKMAP_PD (KERNEL_PT1024_BASE + 0x7000)
|
||||
#define KERNEL_QUICKMAP_PER_CPU_BASE (KERNEL_PT1024_BASE + 0x8000)
|
||||
#define KERNEL_PHYSICAL_PAGES_BASE (KERNEL_BASE + KERNEL_PD_OFFSET)
|
||||
|
||||
#ifdef __cplusplus
|
||||
static_assert(KERNEL_BASE % 0x1000000 == 0);
|
||||
#endif
|
||||
|
||||
#define USER_RANGE_CEILING 0xBE000000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue