2 unstable releases

Uses old Rust 2015

0.2.0 Jun 15, 2017
0.1.0 Jun 6, 2017

#538 in Memory management

Apache-2.0

9KB
175 lines

alloc_uefi

Rust allocator for UEFI environments.

Usage

Add alloc_uefi as a dependency, and call the following function as part of your application's UEFI initialization:

pub fn setup_alloc(system_table: *const internal_uefi::SystemTable, mem_type: MemoryType)

The mem_type argument should be whatever the ImageDataType value is of the LoadedImageProtocol struct from your application's image handle.

No runtime deps