Skip to main content

check_pages_mapped

Function check_pages_mapped 

Source
fn check_pages_mapped(
    base: u64,
    len: usize,
    required_flags: PageTableFlags,
) -> Result<(), UserSliceError>
Expand description

Walk the active page tables to verify that every 4 KiB page covering [base, base+len) is mapped with at least required_flags.