EFI is fun, you pretty much have to reinvent everything like in 1980. I wrote an entire UI, the Mac OS X login screen, for when your disk is encrypted (so no real OS X can run), just getting the bitmap fonts to display on the screen was weeks of work.
Also worthy of note, the UEFI specification itself.