Module mm

Module mm 

Source
Expand description

Virtual memory (VM).

Re-exports§

pub use kspace::paddr_to_vaddr;
pub use page_table::largest_pages;

Modules§

frame
Frame (physical memory page) management.
io
Abstractions for reading and writing virtual memory (VM) objects.
kspace
Kernel memory space management.
page_table
pod
tlb
TLB flush operations.
vm_space
Virtual memory space management.

Structs§

PagingConsts

Constants§

CONST_MAX_USERSPACE_VADDR
The constant MAX_USERSPACE_VADDR. The maximum virtual address of user space (non inclusive).
KERNEL_VADDR_RANGE
The kernel address space.
MAX_NR_LEVELS
The maximum value of PagingConstsTrait::NR_LEVELS.

Traits§

HasPaddr
Gets physical address trait
PagingConstsTrait

Functions§

MAX_NR_PAGES
MAX_PADDR
MAX_USERSPACE_VADDR
MAX_USERSPACE_VADDR_SPEC
NR_ENTRIES
NR_LEVELS
PAGE_SIZE
is_page_aligned
Checks if the given address is page-aligned.
lemma_nr_subpage_per_huge_bounded
nr_subpage_per_huge
nr_subpage_per_huge_spec

Type Aliases§

Paddr
Physical addresses.
PagingLevel
The level of a page table node or a frame.
Vaddr
Virtual addresses.