fbc211a255
efi_block_io_media struct needs padding on x86.
uint64_t is aligned on 4 bytes in Haiku toolchain for 32-bit EFI loader.
But the EFI firmware expects it to be aligned on 8 bytes.
Same padding in u-boot:
https://github.com/u-boot/u-boot/blob/v2021.10/include/efi_api.h#L638
and in Illumos:
|
||
---|---|---|
.. | ||
apple-setos.h | ||
block-io.h | ||
console-control.h | ||
device-path-to-text.h | ||
device-path.h | ||
disk-io.h | ||
driver-binding.h | ||
file.h | ||
graphics-output.h | ||
loaded-image.h | ||
managed-network.h | ||
pci-root-bridge-io.h | ||
serial-io.h | ||
simple-file-system.h | ||
simple-network.h | ||
simple-text-input.h | ||
simple-text-output.h | ||
usb-io.h |