commit | 1c180b8634737e1105ade84239f05fbe8a7b5405 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sun Nov 06 01:52:13 2022 +0100 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sun Nov 06 10:50:04 2022 +0100 |
tree | 9ca1ad441942a83fed8ec1c8633f44f468d9a689 | |
parent | f29ced61073896b4a8d3319ce9d5e7e8785786a5 [diff] |
efi_loader: AllocateAddress requires page address AllocatePages() can be called with Type=AllocateAddress. Such a call can only succeed if *Memory points to the address of an unallocated page range. A call with *Memory being an address that is not page aligned must not succeed. The UEFI specification requires returning EFI_OUT_OF_RESOURCES if the requested pages cannot be allocated. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>