diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-07-02 12:53:55 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-07-25 14:59:44 +0200 |
commit | 1fcb7ea28400aa69e157dc4b19c9667e96d3a033 (patch) | |
tree | d4b7e87306d12acf0fea25c237488ea6f40e25bf /include/efi_loader.h | |
parent | 8e835554b36b57a32a59de643056723a01525c3b (diff) |
efi_loader: check map_key in ExitBootServices
The UEFI spec requires that the memory map key is checked in
ExitBootServices().
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r-- | include/efi_loader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index a0495db291..3cbec15c29 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -82,6 +82,9 @@ const char *__efi_nesting_dec(void); #define EFI_CACHELINE_SIZE 128 #endif +/* Key identifying current memory map */ +extern efi_uintn_t efi_memory_map_key; + extern struct efi_runtime_services efi_runtime_services; extern struct efi_system_table systab; |