Create a basic BumpAllocator type

This commit is contained in:
Philipp Oppermann
2020-01-09 15:25:37 +01:00
parent 882c83f9de
commit 7c84dbaa1d
2 changed files with 30 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ use x86_64::{
VirtAddr,
};
pub mod bump;
pub const HEAP_START: usize = 0x_4444_4444_0000;
pub const HEAP_SIZE: usize = 100 * 1024; // 100 KiB