[U-Boot] efi_loader: Don't allocate from memory holes
Tom Rini
trini at konsulko.com
Mon Jun 6 23:28:23 CEST 2016
On Fri, May 27, 2016 at 12:25:03PM +0200, Alexander Graf wrote:
> When a payload calls our memory allocator with the exact address hint, we
> happily allocate memory from completely unpopulated regions. Payloads however
> expect this to only succeed if they would be allocating from free conventional
> memory.
>
> This patch makes the logic behind those checks a bit more obvious and ensures
> that we always allocate from known good free conventional memory regions if we
> want to allocate ram.
>
> Reported-by: Jonathan Gray <jsg at jsg.id.au>
> Signed-off-by: Alexander Graf <agraf at suse.de>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160606/8c323358/attachment.sig>
More information about the U-Boot
mailing list