Expand description
A simple heap based on a buddy allocator. For the theory of buddy allocators, see https://en.wikipedia.org/wiki/Buddy_memory_allocation
This can either be used as a standalone library, or as a replacement
for Rust’s system allocator. It runs on top of libcore, so it can be
used on bare metal or in kernel space.
Note that the Heap API is still somewhat unstable.
Structs§
- Heap
- The interface to a heap. This data structure is stored outside the heap somewhere, typically in a static variable, because every single byte of our heap is potentially available for allocation.
Enums§
- Allocation
Error - Represents the reason for an allocation error.
- Allocation
Size Error - Represents an error for an allocation’s size.
- Heap
Error - An error in the creation of the heap.