diff options
author | xypron.glpk@gmx.de | 2017-07-21 19:05:44 +0200 |
---|---|---|
committer | Alexander Graf | 2017-07-24 14:46:13 +0200 |
commit | c6e3c3e68a240e7d503b7e4fee9ea6002e33f6a0 (patch) | |
tree | ba2b9f001868199d532ee98e535410543a8d4020 /lib/efi_loader | |
parent | 0ecba5db85fb566bcbb3ba96fda85f26f78be22d (diff) |
efi_memory: return MapKey
efi_get_memory_map should set a defined value for map_key.
We later can introduce the test against this value in
efi_exit_boot_services as required by the UEFI standard.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_loader')
-rw-r--r-- | lib/efi_loader/efi_memory.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c index c56653f4978..f59e3ea3278 100644 --- a/lib/efi_loader/efi_memory.c +++ b/lib/efi_loader/efi_memory.c @@ -431,6 +431,8 @@ efi_status_t efi_get_memory_map(unsigned long *memory_map_size, } } + *map_key = 0; + return EFI_SUCCESS; } |