feat: implement configure_protection and map_shared with real page mapping, remove dead context_switch from Platform trait

This commit is contained in:
2026-10-18 02:39:36 +02:00
parent 7724a5bd0a
commit 896c78088a
5 changed files with 31 additions and 25 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, PageTable, PAGE_SIZE};
pub use page_table::{activate, init_kernel_page_table, create_user_page_table, map_range, PageTable, PAGE_SIZE};