Module vm

Source
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ยง

mmu

Constantsยง

NUM_OF_MAX_PAGE_TABLE ๐Ÿ”’
NUM_OF_MAX_ROOT_PAGE_TABLE ๐Ÿ”’

Staticsยง

PAGE_TABLES ๐Ÿ”’
PAGE_TABLES_USED ๐Ÿ”’
ROOT_PAGE_TABLES ๐Ÿ”’
ROOT_PAGE_TABLES_USED ๐Ÿ”’

Functionsยง

alloc_virtual_address_space
get_page_table
get_root_page_table_idx
new_page_table_idx