Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 03699bc7 authored by Etienne Carriere's avatar Etienne Carriere Committed by Heinrich Schuchardt
Browse files

lib/efi_loader: fix ABI in efi_mm_communicate_header

Pack struct efi_mm_communicate_header as done in EDK2 as seen in
release 201808 [1]. If not packed sizeof() for the structure adds
4 additional bytes on 32bit targets which breaks the ABI.

Link: [1] https://github.com/tianocore/edk2/blob/edk2-stable201808/MdePkg/Include/Protocol/MmCommunication.h#L21


Fixes: 23a397d2 ("efi_loader: Add headers for EDK2 StandAloneMM communication")
Signed-off-by: default avatarEtienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent 31cadc36
Loading
Loading
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