Module kernel::mem::heap_allocator
source · Expand description
The heap_allocator
module provides a heap allocator for the kernel.
The heap is initialized with a fixed size as the KERNEL_HEAP_SIZE constant.
Statics
Functions
- __rg_alloc 🔒 ⚠
- __rg_dealloc 🔒 ⚠
- __rg_oom 🔒 ⚠
- __rg_realloc 🔒 ⚠
- Panics when heap allocation fails.
- Initializes the kernel heap with a fixed size as the KERNEL_HEAP_SIZE constant. This function must be called before the heap can be used.