summaryrefslogtreecommitdiffstats
path: root/lib/libfdt/fdt_empty_tree.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-05-27 12:25:03 +0200
committerTom Rini <trini@konsulko.com>2016-06-06 13:39:16 -0400
commit74c16acce30bb882ad5951829d8dafef8eea564c (patch)
tree18a4e5950d4b8f0b9971a46e037630a90914f2d3 /lib/libfdt/fdt_empty_tree.c
parentedcef3ba1d2d5beb92fcd7df253e196e77ba174d (diff)
downloadblackbird-obmc-uboot-74c16acce30bb882ad5951829d8dafef8eea564c.tar.gz
blackbird-obmc-uboot-74c16acce30bb882ad5951829d8dafef8eea564c.zip
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>
Diffstat (limited to 'lib/libfdt/fdt_empty_tree.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud