efi_loader: check memory type in AllocatePages()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 22 Apr 2019 22:30:53 +0000 (00:30 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 22 Apr 2019 22:37:28 +0000 (00:37 +0200)
commitf12bcc9149c32a01dac687718ad126d4d3ba29ba
treedcc68ab76a00bf3d12ea6354d9262ec4ed56a79a
parent6182495e101f2d3da29e632632c3d6e5035fef8b
efi_loader: check memory type in AllocatePages()

The UEFI specification prescribes that AllocatePages() checks the memory
type.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi.h
lib/efi_loader/efi_memory.c