mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-17 14:57:49 +00:00
A rewrite of the bump allocator to conform to the new API (#361)
This commit is contained in:
committed by
Philipp Oppermann
parent
f499b6378c
commit
30fcae9dce
@@ -22,8 +22,6 @@ use alloc::heap::{Alloc, AllocErr, Layout};
|
||||
use spin::Mutex;
|
||||
use linked_list_allocator::Heap;
|
||||
|
||||
pub const HEAP_START: usize = 0o_000_001_000_000_0000;
|
||||
pub const HEAP_SIZE: usize = 100 * 1024; // 100 KiB
|
||||
|
||||
static HEAP: Mutex<Option<Heap>> = Mutex::new(None);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user