GitXplorerGitXplorer
a

uefi-rust-demo

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
35bd03075456f732b764242818f2e85699d6dd2b

Fix alignment of memory map buffer

committed 6 years ago
Unverified
59437b7e8844b38b84601eac45abd4177ad3ce0e

Modify target JSON to use base config from r-efi but fix lld definition

committed 6 years ago
Unverified
527da00e05cef9f6e8c51ba95491cee40acf2cc0

Rename boot application properly to get faster execution.

committed 6 years ago
Unverified
565e039da24dadda4f09e92ff45e7c281534338c

Auto-exit from application under QEMU

committed 6 years ago
Unverified
2898162bcbd980ce9f48be94703990846fb12779

Small fixes to avoid warnings

aaliguori committed 6 years ago
Unverified
83b29afb57f598e35bf8eaba8c5d0b44a08fcfae

Hide my shame.

aaliguori committed 6 years ago

README

The README file for this repository.

Prerequisites

You need a nightly rust toolchain installed (use rustup for that) and QEMU.

Install an OVMF Snapshot from Kraxel like:

https://www.kraxel.org/repos/jenkins/edk2/edk2.git-ovmf-x64-0-20190131.912.g3b6c73f13e.noarch.rpm

Building

$ git submodule update --init $ ./build.sh

Running

$ ./run.sh

Break into the EFI menu by hitting escape. Then execute:

Shell> \UEFI-APP.EFI

Credits

This is just a version of Gil Mendes' blog post with the build.py file replaced with simple shell scripts ported to the latest uefi-rs tree. See:

https://medium.com/@gil0mendes/an-efi-app-a-bit-rusty-82c36b745f49