mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 17:03:23 +00:00
Use metadata to track VmFrame
s
In this commit, the frame metadata storage schema is implemented. The bootstrap process is refactored and a boot page table is introduced to perform early stage metadata mapping. The metadata is then used to track `VmFrame`s instead of the former `Arc` approach.
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
d24ddaae66
commit
69d464fc6b
@ -14,7 +14,7 @@ use crate::{
|
||||
prelude::*,
|
||||
sync::SpinLock,
|
||||
trap::disable_local,
|
||||
vm::{frame_allocator::FRAME_ALLOCATOR, PAGE_SIZE},
|
||||
vm::{frame::allocator::FRAME_ALLOCATOR, PAGE_SIZE},
|
||||
Error,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user