⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

handle_page_fault

Function handle_page_fault 

Source
pub fn handle_page_fault(
    vaddr: usize,
) -> Result<(FrameNumber, PageFlags), KernelError>
Expand description

Try to resolve a page fault via demand paging.

Returns Ok((frame, flags)) if the fault was resolved.