_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:
Justin C. Miller
2018-09-01 14:54:12 -07:00
parent d33f1bc6f2
commit 799fbbdd10
9 changed files with 16 additions and 16 deletions

View File

@@ -21,7 +21,7 @@ public:
static const size_t page_size = 0x1000;
/// Start of the higher half.
static const addr_t high_offset = 0xffff800000000000;
static const addr_t high_offset = 0xffffff0000000000;
/// Offset from physical where page tables are mapped.
static const addr_t page_offset = 0xffffff8000000000;