mirror of
https://github.com/iceHtwoO/novaOS.git
synced 2026-04-17 04:32:27 +00:00
Implement Heap allocation (#3)
* Implement Maloc * Implement Dealloc * Migrate to a struct based heap implementation
This commit is contained in:
committed by
GitHub
parent
981a6cd65c
commit
afe1128139
@@ -23,9 +23,9 @@ pub mod peripherals;
|
||||
|
||||
pub mod configuration;
|
||||
pub mod framebuffer;
|
||||
pub mod heap;
|
||||
pub mod irq_interrupt;
|
||||
pub mod mailbox;
|
||||
pub mod math;
|
||||
pub mod timer;
|
||||
|
||||
pub fn mmio_read(address: u32) -> u32 {
|
||||
@@ -39,4 +39,6 @@ pub fn mmio_write(address: u32, data: u32) {
|
||||
#[derive(Debug)]
|
||||
pub enum NovaError {
|
||||
Mailbox,
|
||||
HeapFull,
|
||||
EmptyHeapSegmentNotAllowed,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user