mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-28 12:23:36 +04:00
Do not clone KERNEL_SPACE in mm::init
This commit is contained in:
parent
306c3a127d
commit
6346c4c943
@ -20,5 +20,5 @@ pub use memory_set::remap_test;
|
|||||||
pub fn init() {
|
pub fn init() {
|
||||||
heap_allocator::init_heap();
|
heap_allocator::init_heap();
|
||||||
frame_allocator::init_frame_allocator();
|
frame_allocator::init_frame_allocator();
|
||||||
KERNEL_SPACE.clone().lock().activate();
|
KERNEL_SPACE.lock().activate();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user