UEFI Bootloader for x86-64 architecture. This is submodule of Ant repository.
You will need:
x86_64-w64-mingw32-gcc(installgcc-mingw-w64)makeas(Gnu Assembler)
After installing the dependencies, just run:
$ makeTo use, simply create a FAT partition and place BOOTX64.EFI in the efi/boot/ directory and the kernel elf in boot/. A usage example can be seen here.
A structure pointer will be passed to the kernel through the RDI register. The structure is as follows:
struct boot_info
{
struct memory_map map;
struct gop_video_mode mode;
struct ramfs ramfs;
UINT64 kernel_entry;
UINT64 kernel_size;
VOID *smbios;
VOID *acpi;
};