pub struct LazyMapping {
pub start_vaddr: usize,
pub size: usize,
pub flags: PageFlags,
pub backing: BackingType,
/* private fields */
}Expand description
A region of virtual address space registered for demand paging.
No physical frames are allocated when a lazy mapping is created. The first access triggers a page fault, which the demand paging manager resolves by allocating a frame and returning it.
Fields§
§start_vaddr: usizeStart virtual address (page-aligned).
size: usizeSize in bytes (multiple of PAGE_SIZE).
flags: PageFlagsPage flags to apply when the page is finally mapped.
backing: BackingTypeBacking type for this mapping.