summaryrefslogtreecommitdiff
path: root/na/mm/vmm.cc
Commit message (Collapse)AuthorAgeFilesLines
* feat: update Virtual Memory Manager to use page-based allocation and ↵Richard Qin2026-05-131-27/+27
| | | | introduce VmFaultCause enum
* feat: implement KASLR support and runtime address mapping for RISC-V ↵Richard Qin2026-05-031-10/+30
| | | | | | architecture Co-authored-by: Copilot <copilot@github.com>
* feat: refactor memory management and integrate memblockRichard Qin2026-05-021-84/+150
| | | | | | | | | | | - Updated physical memory management (PMM) to utilize memblock for memory layout and frame allocation. - Enhanced the virtual memory manager (VMM) to allocate the frame map from memblock, ensuring it starts at the correct virtual address without relocation. - Improved frame allocation and deallocation functions to handle physical addresses more consistently. - Adjusted the slab allocator to correctly convert between physical and virtual addresses. - Refined page fault handling to ensure proper frame allocation and address translation. - Streamlined the initialization process for PMM and VMM, ensuring a more robust setup of memory structures. Co-authored-by: Copilot <copilot@github.com>
* feat: replace panic.h with klog.h for improved logging in multiple filesRichard Qin2026-05-021-1/+1
|
* feat: add Virtual Memory Manager and Virtual Memory Area managementRichard Qin2026-04-211-0/+124