commit | f756fe83b0d6e189dd524346d22f668d0861e573 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat May 11 08:21:17 2019 +0200 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun May 12 20:54:22 2019 +0200 |
tree | 9462ec2536eabca5da0e8600822bb7e5fc77b075 | |
parent | 735fd22800bbe3177edf1491a26794427541102d [diff] |
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>