mirror of
https://github.com/badcf00d/UEFI-helloworld
synced 2026-08-26 10:26:04 -04:00
723 B
723 B
UEFI-helloworld
A hello world example for UEFI written in x86 NASM assembly
How to use:
Running make will:
- Assemble the files from
srcinto win64 object files, and put them inobj - Link the win64 object files from
objinto a PE32+ executable, and put it inefi - Create a FAT32 .img file in the current working directory, and move the PE32+ executable from
efiinto that .img file at the locationEFI/BOOT/BOOTX64.EFIwhich is the default filename for a 64-bit UEFI application.
You can then run make qemu to boot that UEFI application with the UEFI provided by OVMF from the TianoCore project that's stored in inc.