diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-06-29 03:51:36 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-06-29 04:24:35 +0200 |
commit | efcf0a1f56b5bcb4c3115346ea9efc5b2d08d3d3 (patch) | |
tree | f42105b3411e1fc217a8098cb017adde6ad1f378 /include/efi_api.h | |
parent | 0352e878d2b80b2575e02310e891e936251b3992 (diff) | |
download | u-boot-efcf0a1f56b5bcb4c3115346ea9efc5b2d08d3d3.tar.gz u-boot-efcf0a1f56b5bcb4c3115346ea9efc5b2d08d3d3.tar.bz2 u-boot-efcf0a1f56b5bcb4c3115346ea9efc5b2d08d3d3.zip |
efi_loader: correct signature of ConvertPointer()
ConvertPointer() must be EFIAPI. The first parameter should be of type
efi_uint_t. Use the same parameter name as the UEFI specification.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include/efi_api.h')
-rw-r--r-- | include/efi_api.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/efi_api.h b/include/efi_api.h index 4de5d208f5..a36ececc81 100644 --- a/include/efi_api.h +++ b/include/efi_api.h @@ -242,7 +242,8 @@ struct efi_runtime_services { unsigned long descriptor_size, uint32_t descriptor_version, struct efi_mem_desc *virtmap); - efi_status_t (*convert_pointer)(unsigned long dbg, void **address); + efi_status_t (EFIAPI *convert_pointer)( + efi_uintn_t debug_disposition, void **address); efi_status_t (EFIAPI *get_variable)(u16 *variable_name, const efi_guid_t *vendor, u32 *attributes, |