aarch64でUEFI Hello World
MacOSでやってみる
code:run
$clang -target aarch64-pc-win32-coff -Os -std=c11 -fno-stack-protector -fshort-wchar -mno-red-zone -nostdlibinc -Wall -Wpedantic -fno-exceptions -c -o hoge.o main.c
$/usr/local/opt/llvm/bin/lld-link -subsystem:efi_application -nodefaultlib -entry:EfiMain hoge.o -out:hoge.efi
$qemu-system-aarch64 -M virt -cpu cortex-a57 -bios var/ovmfaa64.fd -monitor stdio -drive format=raw,file=fat:rw:mnt
aarch64なのでARM系の64bit
Raspberry Piの2系以降だと動作しそう