]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Print an error message in efi_main.c if we can't allocate memory for the heap
authorRebecca Cran <bcran@FreeBSD.org>
Thu, 13 Dec 2018 23:20:58 +0000 (23:20 +0000)
committerRebecca Cran <bcran@FreeBSD.org>
Thu, 13 Dec 2018 23:20:58 +0000 (23:20 +0000)
commit974df0a9150289bd973ffc014d41c355edcca9ae
treeb43af810af72cf6affbba5a6391687fe6abf7420
parent8ca79fbd4af2570968a92f08fb714d8c1bcb378d
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