pub unsafe fn init_heap()Expand description
Initialize the heap allocator
Safe to call multiple times - only initializes once. Should be called as early as possible (start of efi_main).
ยงSafety
- Must be called BEFORE any allocations (Vec, Box, String, etc.)
- Thread-safety: Uses static bool guard, safe for single-core