efi_loader: correct a definition of struct efi_capsule_header
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 17 Mar 2020 02:12:37 +0000 (11:12 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 17 Mar 2020 07:29:52 +0000 (08:29 +0100)
commit74b44875357378c83e4bd150c0b759ca6ae6563a
tree11b7576bfcf3db88ee69ccceae35096cf51dbfa0
parentb51ec639788bdf8220de458f49498d9f19f65b2b
efi_loader: correct a definition of struct efi_capsule_header

See UEFI specification, section 8.5.3.
In addition, the structure, efi_capsule_header, should be "packed"
as it is a serialized binary format in a capsule file.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
include/efi_api.h