]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Print an error message in efi_main.c if we can't allocate memory for the heap
authorbcran <bcran@FreeBSD.org>
Thu, 13 Dec 2018 23:20:58 +0000 (23:20 +0000)
committerbcran <bcran@FreeBSD.org>
Thu, 13 Dec 2018 23:20:58 +0000 (23:20 +0000)
commit887cca5fe555e180cb66c50b70dce25c7103c5a7
treeb43af810af72cf6affbba5a6391687fe6abf7420
parenta2507cdb8a1d34e733d6836f7e58707e9d0a27ec
Print an error message in efi_main.c if we can't allocate memory for the heap

With the default Qemu parameters, only 128MB RAM gets given to a VM. This causes
the loader to be unable to allocate the 64MB it needs for the heap. This change
makes the cause of the error more obvious.

Differential Revision: https://reviews.freebsd.org/D17958
stand/efi/loader/efi_main.c