mirror of
https://github.com/iceHtwoO/novaOS.git
synced 2026-04-17 12:42:26 +00:00
wip
This commit is contained in:
@@ -39,6 +39,10 @@ impl Heap {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn size(self) -> usize {
|
||||
self.raw_size
|
||||
}
|
||||
|
||||
pub fn init(&mut self, heap_start: usize, heap_end: usize) {
|
||||
self.start_address = heap_start as *mut HeapHeader;
|
||||
self.end_address = heap_end as *mut HeapHeader;
|
||||
|
||||
Reference in New Issue
Block a user