REF: https://bugzilla.tianocore.org/show_bug.cgi?id=864

To follow PI spec, ensure FfsFileHeader 8 bytes aligned.

Current code only handles (FwVolHeader->ExtHeaderOffset != 0) path,
update code to also handle (FwVolHeader->ExtHeaderOffset == 0) path.

Star Zeng (3):
  MdeModulePkg/PeiCore: Ensure FfsFileHeader 8 bytes aligned
  MdeModulePkg/DxeCore: Ensure FfsFileHeader 8 bytes aligned
  IntelFrameworkModulePkg/FwVolDxe: Ensure FfsFileHeader 8 bytes aligned

 .../Universal/FirmwareVolume/FwVolDxe/FwVol.c |  4 +-
 MdeModulePkg/Core/Dxe/FwVol/FwVol.c           | 65 ++++---------------
 MdeModulePkg/Core/Pei/FwVol/FwVol.c           |  4 +-
 3 files changed, 18 insertions(+), 55 deletions(-)

-- 
2.17.1.windows.2

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to