Skip to content
Snippets Groups Projects
Heinrich Schuchardt's avatar
Heinrich Schuchardt authored
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: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
53def68d
History
Name Last commit Last update