]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Support kernels larger than EFI_STAGING_SIZE in loader.efi
authorandrew <andrew@FreeBSD.org>
Wed, 27 Nov 2019 16:52:46 +0000 (16:52 +0000)
committerandrew <andrew@FreeBSD.org>
Wed, 27 Nov 2019 16:52:46 +0000 (16:52 +0000)
commit3751493307195faa60b711cc37d410f858dab56a
treefebcaf879209a2fa1d3c778c6cc30fb8d137be88
parent581d8eb1e3850fc4174078330ed17d4c307c0081
Support kernels larger than EFI_STAGING_SIZE in loader.efi

With a very large kernel or module the staging area may be too small to
hold it. When this is the case try to allocate more space before failing
in the efi copyin/copyout/readin functions.

Reviewed by: imp, tsoome
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D22569
stand/efi/loader/copy.c