projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ecba5d
)
efi_memory: return MapKey
author
xypron.glpk@gmx.de
<xypron.glpk@gmx.de>
Fri, 21 Jul 2017 17:05:44 +0000
(19:05 +0200)
committer
Alexander Graf
<agraf@suse.de>
Mon, 24 Jul 2017 12:46:13 +0000
(14:46 +0200)
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>
lib/efi_loader/efi_memory.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_memory.c
b/lib/efi_loader/efi_memory.c
index c56653f4978f2db0c32ef6faa9fe172d97390bbe..f59e3ea32788880eebf3059d306587b00a062681 100644
(file)
--- 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;
}