Searched hist:"74 c16acce30bb882ad5951829d8dafef8eea564c" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/lib/efi_loader/ |
| H A D | efi_memory.c | 852efbf5bd3047b12c1926564d792a7a1cea9eac Sat Oct 01 21:32:23 UTC 2016 Stefan Brüns <stefan.bruens@rwth-aachen.de> efi_loader: Update description of internal efi_mem_carve_out
In 74c16acce30bb882ad5951829d8dafef8eea564c the return values where changed, but the description was kept.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Reviewed-by: Alexander Graf <agraf@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de> 74c16acce30bb882ad5951829d8dafef8eea564c Fri May 27 10:25:03 UTC 2016 Alexander Graf <agraf@suse.de> 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>
|