diff options
author | Matt Fleming <matt.fleming@linux.intel.com> | 2011-06-23 10:01:36 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@linux.intel.com> | 2011-07-22 13:00:01 +0100 |
commit | 30e4b101a3ac06164354b780114da17ece4a4730 (patch) | |
tree | 4c0d5fefc47fc03831ef8b6903eaa62d2a6dae0d | |
parent | 933999e55549b4c005f62d35e702a324d6d6497d (diff) | |
download | efilinux-30e4b101a3ac06164354b780114da17ece4a4730.tar.gz |
efilinux: Correct the type of descr_version
descr_version should be UINT32, not UINTN. This obviously makes a
difference on x86-64 where UINT32 is 32-bits and UINTN is 64-bits.
Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
-rw-r--r-- | efilinux.h | 2 | ||||
-rw-r--r-- | entry.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -142,7 +142,7 @@ static inline EFI_STATUS free_pool(void *buffer) */ static inline EFI_STATUS get_memory_map(UINTN *size, EFI_MEMORY_DESCRIPTOR *map, UINTN *key, - UINTN *descr_size, UINTN *descr_version) + UINTN *descr_size, UINT32 *descr_version) { return uefi_call_wrapper(boot->GetMemoryMap, 5, size, map, key, descr_size, descr_version); @@ -54,7 +54,7 @@ EFI_RUNTIME_SERVICES *runtime; */ static EFI_STATUS memory_map(EFI_MEMORY_DESCRIPTOR **map_buf, UINTN *map_size, - UINTN *map_key, UINTN *desc_size, UINTN *desc_version) + UINTN *map_key, UINTN *desc_size, UINT32 *desc_version) { EFI_STATUS err; |