2 个不稳定版本

使用旧的Rust 2015

0.2.0 2017年6月15日
0.1.0 2017年6月6日

#538 in 内存管理

Apache-2.0

9KB
175

alloc_uefi

Rust对UEFI环境的分配器。

用法

将alloc_uefi作为依赖项添加,并在应用程序的UEFI初始化过程中调用以下函数

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

mem_type参数应该是从您的应用程序图像句柄的LoadedImageProtocol结构体的ImageDataType值。

无运行时依赖项