[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
V2:
The first version did not adjust ExtEntryList in the while loop
of [PATCH 2/4] and [PATCH 4/4], it is a bug and fixed in this V2.

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
Re: [edk2] [PATCH 0/4] Add USED_SIZE FV_EXT_TYPE support
Posted by Gao, Liming 7 years ago
Reviewed-by: Liming Gao <liming.gao@intel.com>

> -----Original Message-----
> From: Zeng, Star
> Sent: Wednesday, November 29, 2017 6:15 PM
> To: edk2-devel@lists.01.org
> Cc: Zeng, Star <star.zeng@intel.com>; Gao, Liming <liming.gao@intel.com>
> Subject: [PATCH 0/4] Add USED_SIZE FV_EXT_TYPE support
> 
> V2:
> The first version did not adjust ExtEntryList in the while loop
> of [PATCH 2/4] and [PATCH 4/4], it is a bug and fixed in this V2.
> 
> 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