Expand description
Memory management implementation
SV39 page-based virtual-memory architecture for RV64 systems, and everything about memory management, like frame allocator, page table, map area and memory set, is implemented here.
Every task or process has a memory_set to control its virtual memory.
Re-exports§
pub use memory_set::KERNEL_SPACE;
pub use memory_set::KERNEL_SPACE;
Modules§
- address 🔒Implementation of physical and virtual address and page number.
- Implementation of
FrameAllocator
which controls all the frames in the operating system. - The global allocator
- Implementation of
PageTableEntry
andPageTable
.
Structs§
- tracker for physical page frame allocation and deallocation
- The kernel’s initial memory mapping(kernel address space)
- map permission corresponding to that in pte:
R W X U
- address space
- page table entry structure
- physical address
- physical page number
- virtual address
- virtual page number