Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 432 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 432 Bytes

About

Just a test for an UEFI app

Test

Build

cargo build --target x86_64-unknown-uefi

Copy UEFI file

cp target/x86_64-unknown-uefi/debug/uefi_app.efi esp/efi/boot/bootx64.efi

Launch VM

qemu-system-x86_64 -enable-kvm \
    -drive if=pflash,format=raw,readonly=on,file=OVMF_CODE.fd \
    -drive if=pflash,format=raw,readonly=on,file=OVMF_VARS.fd \
    -drive format=raw,file=fat:rw:esp