rustubs::arch::x86_64::paging

Function map_vma

Source
pub unsafe fn map_vma(pt_root: u64, vma: &VMArea, do_copy: bool) -> bool
Expand description

unsafe as it dereferences raw pointer pt_root. Must make sure it’s a valid, 4k aligned virtual address.