summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-12-20 16:07:09 +0000
committeremaste <emaste@FreeBSD.org>2015-12-20 16:07:09 +0000
commit68c345265bbdb53395a7c7510b9df586dabb0a22 (patch)
tree93fa84471ea1ede2634827ed9500bc87d992893f /lib/libc
parent33741c0d9ada9a85f36241592179ac7ca0b53436 (diff)
downloadFreeBSD-src-68c345265bbdb53395a7c7510b9df586dabb0a22.zip
FreeBSD-src-68c345265bbdb53395a7c7510b9df586dabb0a22.tar.gz
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
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud