aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-07-27 20:28:47 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2019-07-30 21:36:22 +0200
commit24e6722b8a6268b893a38d3a8a04c6dabf53fafd (patch)
tree73f1eeadc02f4861c3df03d53f4d6ce60b2911be /include
parentc0a8a952634ccc5cc437a21eba69c186e1f229a8 (diff)
downloadu-boot-24e6722b8a6268b893a38d3a8a04c6dabf53fafd.zip
u-boot-24e6722b8a6268b893a38d3a8a04c6dabf53fafd.tar.gz
u-boot-24e6722b8a6268b893a38d3a8a04c6dabf53fafd.tar.bz2
efi_loader: definition of efi_virtual_address_map()
Use efi_uintn_t where the UEFI spec uses UINTN. Use efi_uintn_t also for the result of the division of two efi_uintn_t. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include')
-rw-r--r--include/efi_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index d4f32db..e5634dc 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -238,8 +238,8 @@ struct efi_runtime_services {
efi_status_t (EFIAPI *set_wakeup_time)(char enabled,
struct efi_time *time);
efi_status_t (EFIAPI *set_virtual_address_map)(
- unsigned long memory_map_size,
- unsigned long descriptor_size,
+ efi_uintn_t memory_map_size,
+ efi_uintn_t descriptor_size,
uint32_t descriptor_version,
struct efi_mem_desc *virtmap);
efi_status_t (EFIAPI *convert_pointer)(