_Actually_ move the kernel to the last TiB.
More work on process page tables, including only mapping the last 2 pml4 entries (the highest 1TiB of the address space, ie, kernel space) into a new table. Includes the work of actually moving the kernel there, which I had apparently done in name only previously. Oops.
This commit is contained in:
@@ -9,11 +9,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef KERNEL_VIRT_ADDRESS
|
||||
#define KERNEL_VIRT_ADDRESS 0xFFFF800000000000
|
||||
#endif
|
||||
|
||||
#ifndef VIRTUAL_OFFSET
|
||||
#define VIRTUAL_OFFSET 0xf00000000
|
||||
#define KERNEL_VIRT_ADDRESS 0xFFFFFF0000000000
|
||||
#endif
|
||||
|
||||
#ifndef KERNEL_MEMTYPE
|
||||
|
||||
Reference in New Issue
Block a user