Expand description
Methods to construct page tables on x64.
Structs§
Enums§
Constants§
- X64_
1GB_ PAGE_ SIZE - Number of bytes in a 1GB page for X64.
- X64_
LARGE_ PAGE_ SIZE - Number of bytes in a large page for X64.
- X64_
PAGE_ SIZE - Number of bytes in a page for X64.
Traits§
Functions§
- align_
up_ to_ 1_ gb_ page_ size - Align an address up to the start of the next 1GB page.
- align_
up_ to_ large_ page_ size - Align an address up to the start of the next large (2MB) page.
- align_
up_ to_ page_ size - Align an address up to the start of the next page.
- build_
page_ tables_ 64 - Build a set of X64 page tables identity mapping the bottom address space with an optional address bias.
- calculate_
pde_ table_ count - Calculate the number of PDE page tables required to identity map a given gpa and size.
- get_
amd64_ pte_ index - Get an AMD64 PTE index based on page table level.