Skip to main content

Module page_table

Module page_table 

Source

Re-exports§

pub use cursor::*;
pub use node::*;

Modules§

cursor
mapping_set_lemmas
node
vaddr_range_proofs
Bounded-arithmetic proofs for vaddr_range’s body.

Structs§

Mapping
A Mapping maps a virtual address range to a physical address range. Its size, page_size, is fixed and must be one of 4096, 2097152, 1073741824. The va_range and pa_range must be of size page_size and aligned on a page boundary. The property is a bitfield of flags that describe the properties of the mapping.
PageTableOwner
Verification Design
PageTableView
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§

INC_LEVELS

Functions§

allocated_empty_node_grandchildren_none
allocated_empty_node_owner
is_valid_range_spec
leading_bits_spec
lemma_align_down_indices
lemma_aligned_indices_zero
lemma_aligned_vaddr_slack
lemma_fresh_node_subtree_satisfies
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_leading_part_match
lemma_vaddr_leading_part_is_align_down
lemma_vaddr_of_eq_int
lemma_vaddr_path_aligned
lemma_vaddr_strict_bound
lemma_vaddr_top_index_cell
mappings_disjoint_paddrs
mappings_disjoint_vaddrs
mappings_well_formed
nr_page_table_coverage_bits_spec
nr_pte_index_bits_spec
page_table_coverage_end_spec
page_table_coverage_start_spec
page_table_managed_end_spec
page_table_managed_start_spec
pte_index_bit_offset_spec
pte_index_spec
rec_vaddr
sibling_paths_disjoint
top_level_index_width_spec
tracked_rebase_freshly_allocated_children
tree_level_for
vaddr
vaddr_leading_part_spec
vaddr_make
vaddr_of
vaddr_range_spec
vaddr_replace_pte_index_spec

Type Aliases§

OwnerSubtree
OwnerSubtree is a TreeNode containing EntryOwners. Nodes follow tree_level_for::<C>; entries at depth C::NR_LEVELS are terminal. Storage capacity is INC_LEVELS.