Re-exports§
Modules§
Structs§
- Abstract
Vaddr - An abstract representation of a virtual address as a sequence of indices, representing the values of the bit-fields that index into each level of the page table.
- Mapping
- A
Mappingmaps a virtual address range to a physical address range. Its size,page_size, is fixed and must be one of 4096, 2097152, 1073741824. Theva_rangeandpa_rangemust be of sizepage_sizeand aligned on a page boundary. Thepropertyis a bitfield of flags that describe the properties of the mapping. - Page
Table Owner - Page
Table View - A view of the page table is simply the set of mappings that it contains. Its invariant is a crucial property for memory correctness.
Constants§
Functions§
- allocated_
empty_ node_ owner - axiom_
leading_ bits_ bounded - lemma_
vaddr_ of_ eq_ int - lemma_
vaddr_ strict_ bound - page_
size_ monotonic - rec_
vaddr - sibling_
paths_ disjoint - vaddr
- vaddr_
at - vaddr_
make - vaddr_
of - vaddr_
shift - vaddr_
shift_ bits
Type Aliases§
- Owner
Subtree OwnerSubtreeis a treeNode(fromvstd_extra::ghost_tree) containingEntryOwners. It lives in a tree of maximum depth 5. Page table nodes can be at levels 0-3, and their entries are their children at the next level down. This means that level 4, the lowest level, can only contain frame entries as it consists of the entries of level 1 page tables.