Details
Details
- Reviewers
emaste - Commits
- rS320234: Make structure padding explicit in EFI_MEMORY_DESCRIPTOR
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/boot/efi/include/efidef.h | ||
---|---|---|
181 ↗ | (On Diff #29946) | I found some other instances of this file that name the field Pad and will probably do the same upon commit. |
Comment Actions
The current code matches the struct in UEFI specification 2.6 (http://www.uefi.org/sites/default/files/resources/UEFI%20Spec%202_6%20Errata%20A%20final.pdf) page 157
Comment Actions
But u-boot added a u32 named reserved, not sure yet which one is wrong, I'll investigate.
Comment Actions
On 32-bit ARM there will be implicit padding as EFI_PHYSICAL_ADDRESS is a 64-bit type so will be 64-bit aligned.