summaryrefslogtreecommitdiff
path: root/na/mm/vmm.cc
Commit message (Collapse)AuthorAgeFilesLines
* refactor: promote new architecture to repository rootRichard Qin2026-07-101-235/+0
| | | | Archive the deprecated implementation under lume-legacy, make the new kernel the default root-level build, and update repository entry points without changing kernel behavior.
* feat: establish bootable new architecture checkpointRichard Qin2026-07-101-20/+45
| | | | Replace the compressed boot path with a relocatable higher-half RISC-V entry, expand memory and SMP support, and add the driver, TTY, VFS, exec, signal, syscall, initramfs, and self-test infrastructure needed for a bootable kernel checkpoint.
* 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