Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gurry/efi_ffi
- Owner: gurry
- License: mit
- Created: 2021-01-24T03:31:05.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-07T14:20:36.000Z (9 months ago)
- Last Synced: 2024-11-08T22:54:43.770Z (3 months ago)
- Topics: bootloader, efi, ffi, uefi, uefi-application, uefi-boot, uefi-development
- Language: Rust
- Homepage:
- Size: 40 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.