Module riscv64

Source
Expand description

Physical and virtual addresses manipulation for 64-bit RISC-V

Structs§

PhysAddr
A physical memory address.
PhysAddrNotValid
A passed u64 was not a valid physical address.
VirtAddr
A virtual memory address on riscv64.
VirtAddrNotValid
An invalid virtual address.

Constants§

BASE_PAGE_SIZE
Size of a base page (4 KiB)
GIGA_PAGE_SIZE
Size of a giga page (1 GiB)
MEGA_PAGE_SIZE
Size of a mega page (2 MiB)
TERA_PAGE_SIZE
Size of a tera page (512 GiB)