unsafe fn get_pde_for_va(va: u64) -> &'static mut PageTableEntryExpand description
Returns a reference to the PDE corresponding to a virtual address.
ยงSafety
This routine requires the caller to ensure that the VA is a valid one for which the paging hierarchy was configured by the file loader (the page directory must exist). If this is not true this routine will panic rather than corrupt the address space.