Skip to content

Hello World

Compare
Choose a tag to compare
@viral32111 viral32111 released this 18 Jul 09:02
· 36 commits to main since this release
0.1.0
9dd57ff

This is the first application I made using the POSIX-UEFI library and GCC compiled as a cross-compiler for i686-elf.

The helloworld.efi is the compiled PE executable from this source code, and the helloworld.img is a bootable GPT image with a FAT32 (ESP) partition containing the aforementioned executable. I tested this in QEMU using the OVMF EFI shell.
QEMU

Here are details and SHA-256 checksums for the attached files.

helloworld.efi: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows
helloworld.img: DOS/MBR boot sector; partition 1 : ID=0xee, start-CHS (0x0,0,2), end-CHS (0x3ff,255,63), startsector 1, 93749 sectors, extended partition table (last)

1a6e1e9a4d9242627cfa0b373c30172e212b1881daeecb17ad92b95cbab6c969  helloworld.efi
e05ac4554b7e71afbf213ebac227384c62e7d7d28a10de04148d543d19e29823  helloworld.img