alloc_uefi 0.2.0

Allocator for a UEFI environment.
1
2
3
4
5
6
7
8
9
10
11
12
# 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:
```rust
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.