Skip to main content

unmap_page_kernel

Function unmap_page_kernel 

Source
pub fn unmap_page_kernel(
    page: Page<Size4KiB>,
) -> Result<PhysFrame<Size4KiB>, &'static str>
Expand description

Unmap a page from the kernel’s canonical page tables.

This is the counterpart to map_page_kernel. It removes the mapping from the kernel’s L4 table so that the page is no longer visible in any address space.