Skip to content
Snippets Groups Projects
Commit e05a4b12 authored by Malte Schmidt's avatar Malte Schmidt Committed by Heinrich Schuchardt
Browse files

mkeficapsule: fix efi_firmware_management_capsule_header data type

The data type of item_offset_list shall be UINT64 according to the UEFI [1]
specifications.

In include/efi_api.h the correct data type is used. The bug was probably
never noticed because of little endianness.

[1] https://uefi.org/specs/UEFI/2.10/index.html



Signed-off-by: default avatarMalte Schmidt <malte.schmidt@weidmueller.com>

Signed-off-by: default avatarStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
parent fefb7e1e
No related branches found
No related tags found
No related merge requests found
Pipeline #16817 skipped
......@@ -63,7 +63,7 @@ struct efi_firmware_management_capsule_header {
uint32_t version;
uint16_t embedded_driver_count;
uint16_t payload_item_count;
uint32_t item_offset_list[];
uint64_t item_offset_list[];
} __packed;
/* image_capsule_support */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment