No description
Find a file
2017-11-22 19:06:09 +02:00
.editorconfig Add project skeleton 2017-11-22 19:06:09 +02:00
.gitattributes Add project skeleton 2017-11-22 19:06:09 +02:00
.gitignore Add project skeleton 2017-11-22 19:06:09 +02:00
README.md Add project skeleton 2017-11-22 19:06:09 +02:00

uefi-rs

This library allows you to write UEFI applications in Rust.

Documentation

The best way to learn how to write UEFI applications is to read the [UEFI spec][spec] and look at the example code in the tests directory.

There is also the x86_64-uefi.json file, which is a custom Rust target for 64-bit UEFI applications.

Running the tests

Prerequisites

  • QEMU
  • Python 3
  • OVMF: You need to extract OVMF_CODE.fd and OVMF_VARS.fd to the same directory as the build.py file. Alternatively, install OVMF using your distro's package manager and change the paths in the script file.

Steps

It's as simple as running the build.py script with the build and run arguments:

./build.py build run

You can also pass doc for generating documentation, or clippy to run Clippy.