Kernel: Move USERSPACE_END to lower half

This allows calculating distance to USERSPACE_END from lower half
address
This commit is contained in:
2026-04-02 16:34:47 +03:00
parent 32806a5af3
commit 9589b5984d
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
#if ARCH(x86_64)
#define KERNEL_OFFSET 0xFFFFFFFF80000000
#define USERSPACE_END 0xFFFF800000000000
#define USERSPACE_END 0x800000000000
#elif ARCH(i686)
#define KERNEL_OFFSET 0xC0000000
#define USERSPACE_END 0xC0000000