Re-exports§
Modules§
- cursor
- mapping_
set_ lemmas - node
- vaddr_
range_ proofs - Bounded-arithmetic proofs for
vaddr_range’s body.
Structs§
- 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 - Verification Design
- 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_ grandchildren_ none - allocated_
empty_ node_ owner - fresh_
node_ subtree_ satisfies - is_
valid_ range_ spec - lemma_
align_ down_ indices - lemma_
aligned_ indices_ zero - lemma_
aligned_ vaddr_ slack - lemma_
inc_ slot_ indices - lemma_
lower_ indices_ aligned - lemma_
next_ slot_ pte_ index - lemma_
pte_ index_ bound - lemma_
pte_ index_ spec_ is_ div_ mod - lemma_
same_ node_ pte_ indices_ match - lemma_
same_ node_ vaddr_ upper_ bits_ match - lemma_
vaddr_ of_ eq_ int - lemma_
vaddr_ path_ aligned - lemma_
vaddr_ strict_ bound - lemma_
vaddr_ top_ index_ cell - lemma_
vaddr_ upper_ part_ is_ align_ down - nr_
pte_ index_ bits_ spec - page_
table_ vaddr_ bits_ spec - pte_
index_ bit_ offset_ spec - pte_
index_ spec - rebase_
freshly_ allocated_ children - rebase_
freshly_ allocated_ children_ at - rec_
vaddr - sibling_
paths_ disjoint - top_
level_ index_ width_ spec - vaddr
- vaddr_
at - vaddr_
make - vaddr_
of - vaddr_
range_ spec - vaddr_
replace_ pte_ index_ spec - vaddr_
shift - vaddr_
shift_ bits - vaddr_
upper_ bits_ spec - vaddr_
upper_ part_ spec
Type Aliases§
- Owner
Subtree OwnerSubtreeis aTreeNodecontainingEntryOwners. 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.