opnsense-src/sys/boot/efi/loader
Ed Maste 09e4ee9af3 loader.efi: refresh size in GetMemoryMap retry loop
If ExitBootServices fails due to a changed efi_mapkey then GetMemoryMap
must be called again. In this case it is also possible for the memory
map to grow, so repeat the initial GetMemoryMap call to fetch the new
size.

Also roll bi_add_efi_data_and_exit into bi_load_efi_data as there's no
need for it to be a separate function.

PR:		202455
Reported by:	Berislav Purgar <bpurgar@gmail.com>
Tested by:	Berislav Purgar <bpurgar@gmail.com>
Reviewed by:	kib
MFC after:	1 week
MFC with:	r292338
Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D4621
2015-12-20 16:07:09 +00:00
..
arch UEFI: combine GetMemoryMap and ExitBootServices and retry on error 2015-12-16 16:19:18 +00:00
autoload.c Move the efi loaders to be under sys/boot/efi. This will help us add 2015-04-01 08:30:40 +00:00
bootinfo.c loader.efi: refresh size in GetMemoryMap retry loop 2015-12-20 16:07:09 +00:00
conf.c Only enable comconsole and nullconsole on x86. 2015-04-03 12:08:08 +00:00
copy.c Use EFI page size constants instead of hardcoding 4096. 2015-09-29 15:49:53 +00:00
devicename.c Move the efi loaders to be under sys/boot/efi. This will help us add 2015-04-01 08:30:40 +00:00
loader_efi.h UEFI: combine GetMemoryMap and ExitBootServices and retry on error 2015-12-16 16:19:18 +00:00
main.c Add FDT to the list of known GUIDs. 2015-05-05 11:07:43 +00:00
Makefile Various small cleanups to EFI loader Makefiles. 2015-09-17 18:32:51 +00:00
Makefile.depend META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
version Move the efi loaders to be under sys/boot/efi. This will help us add 2015-04-01 08:30:40 +00:00