commit | f727233bcbb88f65414b94f5e37d01c1d3265746 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Apr 23 00:30:53 2019 +0200 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Apr 23 00:37:28 2019 +0200 |
tree | dcc68ab76a00bf3d12ea6354d9262ec4ed56a79a | |
parent | 4420a33c1a597b56d53378b254c02f85d4a863cf [diff] [blame] |
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>
diff --git a/include/efi.h b/include/efi.h index 3c9d20f..5f415a9 100644 --- a/include/efi.h +++ b/include/efi.h
@@ -168,6 +168,10 @@ * 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() */