Do the things listed in first paragraph of page linked.
This crate makes it easy to both:
* Write UEFI applications in Rust. It (UEFI) provides an early boot environment for OS loaders, hypervisors and other low-level applications.
* Call UEFI functions from an OS (usually built with a custom target)