efi: generalize efi_get_memory_map()
authorRoy Franz <roy.franz@linaro.org>
Sun, 22 Sep 2013 22:45:36 +0000 (15:45 -0700)
committerMatt Fleming <matt.fleming@intel.com>
Wed, 25 Sep 2013 11:34:40 +0000 (12:34 +0100)
commit1c089c65f54b70261fdcb4c238986a979c11fad7
treeec104c4f5e2589b6c8cb570b9636431b5a9ec3db
parent86cc653b1955c0a47681d16457f9ee9009f2561a
efi: generalize efi_get_memory_map()

Add arguments for returning the descriptor version and also
the memory map key.  The key is required for calling
exit_boot_services().

Signed-off-by: Roy Franz <roy.franz@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
drivers/firmware/efi/efi-stub-helper.c