Expand description
Kernel heap allocator: a fixed-size [linked_list_allocator::LockedHeap] set as
the #[global_allocator]. Does not grow after init.
Authors: MarioS271
Staticsยง
- ALLOCATOR ๐
- The global allocator instance; empty until
init. - HEAP_
BASE_ ๐ADDRESS - First virtual address of the heap region (higher-half kernel space).
- HEAP_
SIZE ๐ - Total heap size in bytes (4 MiB).
Functionsยง
- init
- Map the heap virtual address range to physical frames and initialize the allocator.