]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand: Remove unused i386 EFI MD bits
authorkevans <kevans@FreeBSD.org>
Tue, 26 Feb 2019 03:37:12 +0000 (03:37 +0000)
committerkevans <kevans@FreeBSD.org>
Tue, 26 Feb 2019 03:37:12 +0000 (03:37 +0000)
commit3bea5f8ce2f2d2d74567d0a78161d17aedb4656a
tree6ca72610c83b5172bcdf4b6c072be0e2e9c494fc
parentedcbc8f7441a32ec27fb2e57542bf291cb01029e
stand: Remove unused i386 EFI MD bits

r328169 removed the copy of bootinfo that would've made this somewhat
functional. However, this is irrelevant- earlier work in r292338 was done to
exit boot services in the MI bi_load() rather than having N copies of the
GetMemoryMap/ExitBootServices dance.

i386 never quite caught up to that; ldr_enter was still being called but
the prereq for that, ldr_bootinfo, was no longer. As a consequence, this
ExitBootServices() was being called with a mapkey=0, clearly bogus, and
reportedly breaking the boot in some instances.

Reported by: bcran
MFC after: 1 week
stand/efi/loader/arch/i386/Makefile.inc
stand/efi/loader/arch/i386/efimd.c [deleted file]
stand/efi/loader/arch/i386/elf32_freebsd.c