2021-12-08 21:47:46 +00:00
|
|
|
use super::PAGE_SIZE;
|
|
|
|
use linked_list_allocator::LockedHeap;
|
|
|
|
|
|
|
|
pub const HEAP_START: u64 = 0x4444_4444_0000;
|
2022-04-22 06:55:26 +00:00
|
|
|
pub const HEAP_SIZE: u64 = PAGE_SIZE as u64 * 256;
|
2021-12-08 21:47:46 +00:00
|
|
|
|
|
|
|
#[global_allocator]
|
|
|
|
pub static ALLOCATOR: LockedHeap = LockedHeap::empty();
|