mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-25 22:14:34 +00:00
feat(kernel): add KERNEL_HHDM_OFFSET macro
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
0b21c57ee5
commit
92fe4bdd81
@ -50,6 +50,7 @@
|
||||
|
||||
#if defined(__amd64__) || defined(__aarch64__)
|
||||
#define KERNEL_VMA_OFFSET 0xFFFFFFFF80000000
|
||||
#define KERNEL_HHDM_OFFSET 0xFFFF800000000000
|
||||
|
||||
#define USER_ALLOC_BASE 0xFFFFA00000000000 /* 256 GiB */
|
||||
#define USER_ALLOC_END 0xFFFFB00000000000
|
||||
@ -61,6 +62,7 @@
|
||||
#define USER_STACK_BASE 0xFFFFEFFFFFFF0000
|
||||
#elif defined(__i386__) || defined(__arm__)
|
||||
#define KERNEL_VMA_OFFSET 0xC0000000
|
||||
#define KERNEL_HHDM_OFFSET 0xD0000000
|
||||
|
||||
#define USER_ALLOC_BASE 0x80000000
|
||||
#define USER_ALLOC_END 0xA0000000
|
||||
|
Loading…
x
Reference in New Issue
Block a user