Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gurry/efi_ffi

A foreign function interface to UEFI
https://github.com/gurry/efi_ffi

bootloader efi ffi uefi uefi-application uefi-boot uefi-development

Last synced: about 1 month ago
JSON representation

A foreign function interface to UEFI

Awesome Lists containing this project

README

        

# efi_ffi

[![Crates.io](https://img.shields.io/crates/v/efi)](https://crates.io/crates/efi_ffi)

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`](https://github.com/gurry/efi/tree/master) crate. For example, see how the UEFI declarations from this crate [are used in `efi`'s `Console` module to access UEFI console functionality](https://github.com/gurry/efi/blob/422d9762ec5857d42c8095c74aef14cae3cc2020/src/console.rs#L1-L40).

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.