src/mainboard/emulation/qemu-i440fx: Fix struct packing
commit17c9cfe2125736e49d335efcc624b53d213444ef
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Fri, 3 Dec 2021 16:15:10 +0000 (3 17:15 +0100)
committerFelix Held <felix-coreboot@felixheld.de>
Mon, 10 Jan 2022 23:49:04 +0000 (10 23:49 +0000)
tree937ba32fbe6ae6a64864fb051cd5788cf6fbae7d
parentcab1285c03a5bcf7e4365cf07bca065e53403aa1
src/mainboard/emulation/qemu-i440fx: Fix struct packing

On x86_64 the struct isn't packed, causing the fw_cfg parser to return
invalid memory entries (possible others as well) through fw_cfg.
Fix that by packing all structs.

Change-Id: Id1bab99f06be99674efe219dda443fb7d44be560
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59872
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h