Module kernel_hal::vm
source · [−]Expand description
Virtual memory operations.
Structs
Enums
Possible page size (4K, 2M, 1G).
Errors may occur during address translation.
Traits
A generic page table abstraction.
The PagingError::NotMapped
can be ignored.
Functions
Activate the page table associated with the vmtoken
by writing the
page table root address.
Read the current VM token, which is the page table root address on various architectures. (e.g. CR3, SATP, …)
Type Definitions
Address translation result.