]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: correct a function prototype of QueryCapsuleCapabilities()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 14 Nov 2018 07:18:53 +0000 (16:18 +0900)
committerAlexander Graf <agraf@suse.de>
Sun, 2 Dec 2018 20:59:37 +0000 (21:59 +0100)
See UEFI specification v2.7, section 8.5.3.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_api.h
lib/efi_loader/efi_runtime.c

index 88a60070f6abf5f37f6bddc7a3128923da4bcb0b..e58dd0581c99d300469384935cd3f652b2a63dd4 100644 (file)
@@ -241,8 +241,8 @@ struct efi_runtime_services {
        efi_status_t (EFIAPI *query_capsule_caps)(
                        struct efi_capsule_header **capsule_header_array,
                        efi_uintn_t capsule_count,
-                       u64 maximum_capsule_size,
-                       u32 reset_type);
+                       u64 *maximum_capsule_size,
+                       u32 *reset_type);
        efi_status_t (EFIAPI *query_variable_info)(
                        u32 attributes,
                        u64 *maximum_variable_storage_size,
index ca66d33e588200684000480f8bf39a0f66110c34..405f700140406201e386478f4d7f995770fc4f14 100644 (file)
@@ -628,8 +628,8 @@ efi_status_t __efi_runtime EFIAPI efi_update_capsule(
 efi_status_t __efi_runtime EFIAPI efi_query_capsule_caps(
                        struct efi_capsule_header **capsule_header_array,
                        efi_uintn_t capsule_count,
-                       u64 maximum_capsule_size,
-                       u32 reset_type)
+                       u64 *maximum_capsule_size,
+                       u32 *reset_type)
 {
        return EFI_UNSUPPORTED;
 }