diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-05-11 08:21:17 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-05-12 20:54:22 +0200 |
commit | f756fe83b0d6e189dd524346d22f668d0861e573 (patch) | |
tree | 9462ec2536eabca5da0e8600822bb7e5fc77b075 /lib/zstd | |
parent | 735fd22800bbe3177edf1491a26794427541102d (diff) | |
download | u-boot-f756fe83b0d6e189dd524346d22f668d0861e573.tar.gz |
efi_loader: AllocateAdress error handling
If AllocatePages() is called with AllocateAddress, the UEFI spec requires
to return EFI_NOT_FOUND in case the memory page does not exist.
The UEFI SCT II 2017 spec additionally requires to return EFI_NOT_FOUND if
the page is already allocated.
Check that *Memory refers to an unallocated page.
UEFI SCT II (2017): AllocatePages(), 5.1.2.1.9 - 5.1.2.1.10
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/zstd')
0 files changed, 0 insertions, 0 deletions