mirror of
https://github.com/iceHtwoO/novaOS.git
synced 2026-04-16 20:22:26 +00:00
feat: implement first SVC mailbox instruction (#6)
* refactor: organize code * feat: move EL0 stack to virtual space * wip * feat: Enable EL0 basic mailbox access via SVCs * refactor: move irq interrupts
This commit is contained in:
committed by
GitHub
parent
f78388ee2c
commit
34a66ff87a
@@ -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