Skip to main content

map_page

Function map_page 

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

Map a virtual page to a physical frame with the given flags.

Intermediate page tables are allocated from the buddy allocator as needed.