efi: Fix stack args, try to locate GOP and pass to head
authorJack Miller <jack@codezen.org>
Sat, 21 May 2016 17:51:09 +0000 (12:51 -0500)
committerJack Miller <jack@codezen.org>
Sat, 21 May 2016 17:51:09 +0000 (12:51 -0500)
commitdfb995007d7e0a295da72ea333f89145c44b93d9
tree6553eab90ae22c4db9b84eacfde91ad67136e09e
parent1698e4fedb09ecf61ebc4e423ba794929070806d
efi: Fix stack args, try to locate GOP and pass to head

Okay, so apparently I misunderstood what the EFI spec meant by the
register args have to be able to be flushed to "shadow space"... I just
thought that meant they needed to have stack space available to push
args, not that there had to be 4 args worth of stack overhead in front
of all passed stack args.

Anyway, with that new refinement, use LocateHandle and HandleProtocol to
find the GOP information, which will allow our running kernel to locate
the linear framebuffer and draw to the screen.
asm/head.asm
boot/efi.asm
include/asm/boot.h