We're missing functinality though that's been added over the past year:
(1) We don't parse the /boot.config file anymore
(2) No fallback to any device
(3) had to hack back in efi_main() since we can't use the one from libefi (not even sure why that one is being picked up anymore,
which we need to find out why)
Other stuff I'm pretty sure is missing, I'm not sure what yet.
Bring in review D10447 at approximately the point it was created to rebase it forward past my commits that conflict.
Make this compile, but we're still missing some functionality added over the past year.