Expand description

Page Tables

Structs

A page-aligned Page Table.

Enums

Error returned by this module

Statics

Page-Directory-Pointer Table

Page-Directory Table for 0xC000_0000..=0xFFFF_FFFF

The root table of the 4-Level Paging will contain: [0] Identity: 0x0000_0000_0000_0000..=0x0000_0000_FFFF_FFFF only until the initial setup phase, then removed [1..=510] empty for now [511] Offset: 0xFFFF_FF80_0000_0000..=0xFFFF_FFFF_FFFF_FFFF

4k Page Table for 0xFFE0_0000..=0xFFFF_FFFF

Functions

smash the pagetable entries to 4k pages

Unmap the initial identity mapping for 0xC000_0000..=0xFFFF_FFFF