summaryrefslogtreecommitdiff
path: root/include/efi.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-04-23 00:30:53 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2019-04-23 00:37:28 +0200
commitf12bcc9149c32a01dac687718ad126d4d3ba29ba (patch)
treedcc68ab76a00bf3d12ea6354d9262ec4ed56a79a /include/efi.h
parent6182495e101f2d3da29e632632c3d6e5035fef8b (diff)
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>
Diffstat (limited to 'include/efi.h')
-rw-r--r--include/efi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/efi.h b/include/efi.h
index 3c9d20f8c0..5f415a99cc 100644
--- a/include/efi.h
+++ b/include/efi.h
@@ -168,6 +168,10 @@ enum efi_mem_type {
* part of the processor.
*/
EFI_PAL_CODE,
+ /*
+ * Non-volatile memory.
+ */
+ EFI_PERSISTENT_MEMORY_TYPE,
EFI_MAX_MEMORY_TYPE,
EFI_TABLE_END, /* For efi_build_mem_table() */