Expand description

Virtual memory operations.

Structs

A 4K, 2M or 1G size page.

Dummy page table implemented by mmap, munmap, and mprotect.

Enums

Possible page size (4K, 2M, 1G).

Errors may occur during address translation.

Traits

A generic page table abstraction.

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.