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

Module page_fault

Module page_fault 

Source
Expand description

Page Fault Handler Framework

Provides infrastructure for handling page faults including demand paging, copy-on-write, and stack growth. Architecture-specific trap handlers construct a PageFaultInfo and delegate to handle_page_fault.

Structs§

PageFaultInfo
Information about a page fault collected by the architecture trap handler.

Enums§

PageFaultReason
Reason a page fault occurred.

Functions§

from_x86_64
Build a PageFaultInfo from an x86_64 page fault error code and CR2.
handle_page_fault
Main page fault handler.