loader.efi: EFI_MEMORY_DESCRIPTOR and EFI_BLOCK_IO_MEDIA need padding
The problem is revealed in 32-bit version; unfortunately the specification is not really too clear either. Fix confirmed with 32-bit UEFI and qemu, and verified no regression with 64-bit UEFI.
See also: https://svnweb.freebsd.org/base?view=revision&revision=320234, note the block io media issue is not yet addressed in FreeBSD.
Updated by Electric Monk over 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit feff18a41e45afb02478e67d56fad5027334f115 Author: Toomas Soome <email@example.com> Date: 2017-06-24T16:27:38.000Z 8420 loader.efi: EFI_MEMORY_DESCRIPTOR and EFI_BLOCK_IO_MEDIA need padding Reviewed by: Jason King <firstname.lastname@example.org> Reviewed by: Robert Mustacchi <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org>