u-boot-brain/lib/efi_loader
Alexander Graf 74c16acce3 efi_loader: Don't allocate from memory holes
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@jsg.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
2016-06-06 13:39:16 -04:00
..
efi_boottime.c efi_loader: Move to normal debug infrastructure 2016-06-06 13:39:16 -04:00
efi_console.c efi_loader: Add console interface 2016-03-15 18:03:09 -04:00
efi_disk.c efi_loader: Move to normal debug infrastructure 2016-06-06 13:39:16 -04:00
efi_gop.c efi_loader: gop: Don't expose fb address 2016-05-27 15:39:57 -04:00
efi_image_loader.c efi_loader: Fix some entry/exit points 2016-03-27 09:13:02 -04:00
efi_memory.c efi_loader: Don't allocate from memory holes 2016-06-06 13:39:16 -04:00
efi_net.c efi_loader: Add network access support 2016-05-27 10:01:10 -04:00
efi_runtime.c efi_loader: Move to normal debug infrastructure 2016-06-06 13:39:16 -04:00
Kconfig efi_loader: Add bounce buffer support 2016-05-27 15:39:48 -04:00
Makefile efi_loader: Add network access support 2016-05-27 10:01:10 -04:00