Module uefi::allocator

source ·
Expand description

This module implements Rust’s global allocator interface using UEFI’s memory allocation functions.

If the global_allocator feature is enabled, the Allocator will be used as the global Rust allocator.

This allocator can only be used while boot services are active. If boot services are not active, alloc will return a null pointer, and dealloc will panic.

Structs§

  • Allocator which uses the UEFI pool allocation functions.

Functions§

  • Deprecated; this function is now a no-op.
  • initDeprecated
    Deprecated; this function is now a no-op.