alloc_uefi

Crates.ioalloc_uefi
lib.rsalloc_uefi
version0.2.0
sourcesrc
created_at2017-06-06 18:07:51.328407
updated_at2017-06-15 23:04:25.272331
descriptionAllocator for a UEFI environment.
homepage
repositoryhttps://github.com/csssuf/alloc_uefi
max_upload_size
id18001
size19,792
James Forcier (csssuf)

documentation

README

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.

Commit count: 8

cargo fmt