Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
A very good starting point for creating UEFI applications is the uefi crate written by @GabrielMajeri and @HadrienG2. For a relatively simple example, check out its test runner.
You can also take a look at the upcoming version of the bootloader crate, which has UEFI support: https://github.com/rust-osdev/bootloader/pull/130 . It is not documented very well yet, but maybe it helps already. The UEFI entry point function is here .The #[entry] macro of the uefi crate just makes the function a pub extern "efiapi" fn. The function is named efi_main because that's the default entry point name for Rust's built-in UEFI targets (e.g. x86_64-unknown-uefi). Theimageandst` function arguments are passed directly by the UEFI firmware.
I'm not specialist but I know about fork Coreboot but rewrite in Rust lang oreboot fork in Rust Coreboot