Expand description
Virtual memory module for RISC-V architecture.
The virtual memory module is responsible for managing the virtual memory of the system. The module provides functions to initialize the virtual memory system, map physical memory to virtual memory, and switch page tables.
Modulesยง
Constantsยง
- NUM_
OF_ ๐ASID
Staticsยง
- ASID_
BITMAP_ ๐TABLES - PAGE_
TABLES ๐
Functionsยง
- alloc_
virtual_ address_ space - free_
virtual_ address_ space - get_
pagetable - get_
root_ pagetable - get_
root_ pagetable_ ptr - is_
asid_ used - new_
boxed_ ๐pagetable - new_
raw_ โpagetable - Allocates a new raw page table for the given ASID.