Frame Allocator OK.
This commit is contained in:
parent
528d99258a
commit
e37e5708e4
9 changed files with 205 additions and 158 deletions
|
@ -1,4 +1,11 @@
|
|||
mod heap_allocator;
|
||||
mod address;
|
||||
mod frame_allocator;
|
||||
|
||||
pub use heap_allocator::init_heap;
|
||||
pub use heap_allocator::heap_test;
|
||||
pub use address::{PhysAddr, VirtAddr, PhysPageNum, VirtPageNum};
|
||||
pub use frame_allocator::{FrameTracker, frame_alloc};
|
||||
|
||||
pub fn init() {
|
||||
heap_allocator::init_heap();
|
||||
frame_allocator::init_frame_allocator();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue