UEFI-helloworld/README.md

12 lines
723 B
Markdown
Raw Permalink Normal View History

2020-02-20 16:13:57 +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`
2020-02-20 19:17:01 +00:00
- 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.
2020-02-20 19:18:23 +00:00
You can then run `make qemu` to boot that UEFI application with the UEFI provided by OVMF from the <a href="https://github.com/tianocore/tianocore.github.io/wiki/OVMF">TianoCore project</a> that's stored in `inc`.