]> git.sur5r.net Git - u-boot/commit
efi_loader: provide efi_mem_desc version
authorMian Yousaf Kaukab <yousaf.kaukab@gmail.com>
Mon, 5 Sep 2016 21:59:22 +0000 (23:59 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 7 Sep 2016 12:49:07 +0000 (08:49 -0400)
commit4c02c11de89388db29ac413b09d1ab5ae63f3ecb
treed24ccafe4a897abd47a35ffb0bc9149e6462ef4e
parentbac17b78daceeba1af2e1d8cd204ee460c71c93a
efi_loader: provide efi_mem_desc version

Provide version of struct efi_mem_desc in efi_get_memory_map().

EFI_BOOT_SERVICES.GetMemoryMap() in UEFI specification v2.6 defines
memory descriptor version to 1. Linux kernel also expects descriptor
version to be 1 and prints following warning during boot if its not:

Unexpected EFI_MEMORY_DESCRIPTOR version 0

Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@gmail.com>
include/efi.h
lib/efi_loader/efi_memory.c