| Crates.io | alloc_uefi |
| lib.rs | alloc_uefi |
| version | 0.2.0 |
| created_at | 2017-06-06 18:07:51.328407+00 |
| updated_at | 2017-06-15 23:04:25.272331+00 |
| description | Allocator for a UEFI environment. |
| homepage | |
| repository | https://github.com/csssuf/alloc_uefi |
| max_upload_size | |
| id | 18001 |
| size | 19,792 |
Rust allocator for UEFI environments.
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.