[edk2] [PATCH 0/4] Add USED_SIZE FV_EXT_TYPE support

Star Zeng posted 4 patches 7 years ago
Failed in applying to current master (apply log)
MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c | 115 +++++++++++++++++++++++---
MdeModulePkg/Core/Pei/FwVol/FwVol.c           |  91 +++++++++++++++++++-
MdePkg/Include/Pi/PiFirmwareVolume.h          |  23 +++++-
3 files changed, 211 insertions(+), 18 deletions(-)
[edk2] [PATCH 0/4] Add USED_SIZE FV_EXT_TYPE support
Posted by Star Zeng 7 years ago
The USED_SIZE FV_EXT_TYPE is introduced by PI 1.6 spec.

The EFI_FIRMWARE_VOLUME_EXT_ENTRY_USED_SIZE_TYPE can be used to find
out how many EFI_FVB2_ERASE_POLARITY bytes are at the end of the FV.

When the FV gets shadowed into memory you only need to copy the used
bytes into memory and fill the rest of the memory buffer with the
erase value.

Cc: Liming Gao <liming.gao@intel.com>

Star Zeng (4):
  MdePkg PiFirmwareVolume.h: Add USED_SIZE FV_EXT_TYPE definitions
  MdeModulePkg PeiCore: Support USED_SIZE FV_EXT_TYPE
  MdeModulePkg DxeCore: Check FvImage alignment
  MdeModulePkg DxeCore: Support USED_SIZE FV_EXT_TYPE

 MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c | 115 +++++++++++++++++++++++---
 MdeModulePkg/Core/Pei/FwVol/FwVol.c           |  91 +++++++++++++++++++-
 MdePkg/Include/Pi/PiFirmwareVolume.h          |  23 +++++-
 3 files changed, 211 insertions(+), 18 deletions(-)

-- 
2.7.0.windows.1

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