refactor(mmu): replace bool-heavy map_range with Mapping struct and MapFlags builders

This commit is contained in:
2026-10-18 02:41:27 +02:00
parent 896c78088a
commit 7df3034fca
3 changed files with 108 additions and 36 deletions

View File

@@ -2,4 +2,4 @@ pub mod allocator;
pub mod page_table;
pub use allocator::init_allocator;
pub use page_table::{activate, init_kernel_page_table, create_user_page_table, map_range, PageTable, PAGE_SIZE};
pub use page_table::{activate, init_kernel_page_table, create_user_page_table, map, MapFlags, Mapping, PageTable, PAGE_SIZE};