Add a heap_allocator module with a basic bump allocator

This commit is contained in:
Philipp Oppermann
2017-11-19 12:50:16 +01:00
parent 5f017124dd
commit 1f6633fe44
3 changed files with 53 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ pub use self::paging::remap_the_kernel;
use self::paging::PhysicalAddress;
mod area_frame_allocator;
mod heap_allocator;
mod paging;
pub const PAGE_SIZE: usize = 4096;