No description
Find a file
2020-03-01 14:47:51 +00:00
efi Simplified example 2020-03-01 14:02:49 +00:00
inc Refactoring to make the project more friendly 2020-02-20 19:02:16 +00:00
obj Simplified example 2020-03-01 14:02:49 +00:00
src Rename 2020-03-01 14:12:51 +00:00
LICENSE Change to BSD 3-clause 2020-03-01 14:47:51 +00:00
Makefile Add prerequisite checks 2020-02-20 22:52:46 +00:00
README.md Update README.md 2020-02-20 19:18:23 +00:00
uefi.img Simplified example 2020-03-01 14:02:49 +00:00

UEFI-helloworld

A hello world example for UEFI written in x86 NASM assembly

How to use:

Running make will:

  • Assemble the files from src into win64 object files, and put them in obj
  • Link the win64 object files from obj into a PE32+ executable, and put it in efi
  • Create a FAT32 .img file in the current working directory, and move the PE32+ executable from efi into that .img file at the location EFI/BOOT/BOOTX64.EFI which 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.