/efi_ffi

A foreign function interface to UEFI

Primary LanguageRustMIT LicenseMIT

efi_ffi

Crates.io

A crate that provides raw declarations of UEFI functions, types and constants which can be used to build UEFI applications in Rust.

To learn how to use it, see the efi crate. For example, see how the UEFI declarations from this crate are used in efi's Console module to access UEFI console functionality.

Note: the efi crate is an ergonomic wrapper over this crate and should be preferred for most application. This crate should be used only if you need low-level control.

UEFI Version

The version of UEFI spec implemented by this crate is 2.4.

Status

Currently only a subset of the UEFI API is implemented. Pull requests are welcome for parts that are missing.