Reviewed-by: Liming Gao <liming....@intel.com>

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of
> Star Zeng
> Sent: Friday, September 02, 2016 7:59 PM
> To: edk2-devel@lists.01.org
> Cc: Zeng, Star <star.z...@intel.com>
> Subject: [edk2] [PATCH 0/2] Follow PI1.4a to fix artificial limitation of PCD
> SkuId range
> 
> Current BaseTools follow previous PI spec to use UINT8 for SkuId, to
> follow PI1.4a, BaseTools need to be updated to fix artificial limitation
> of PCD SkuId range.
> 
> BaseTools is updated to use UINT64 for SkuId, since the PCD database
> structure needs to be naturally aligned, the PCD database structure
> layout is adjusted to keep the natural alignment and version
> is updated to 6.
> 
> The structure definition in MdeModulePkg/Include/Guid/
> PcdDataBaseSignatureGuid.h and PCD drivers are also updated to match
> BaseTools.
> 
> Note: The source code and BaseTools need to be upgraded at the same time,
> and if they are not upgraded at the same time, build error like below will
> be triggered to help user identify the problem.
> 
> "Please make sure the version of PCD PEIM Service and the generated
> PCD PEI Database match."
> 
> Star Zeng (1):
>   MdeModulePkg PCD: Update PCD database structure definition to match
>     BaseTools
> 
> Yonghong Zhu (1):
>   BaseTools: Follow PI1.4a to fix artificial limitation of PCD SkuId
>     range
> 
>  BaseTools/Source/Python/AutoGen/GenPcdDb.py        | 91
> ++++++++++++++--------
>  .../Include/Guid/PcdDataBaseSignatureGuid.h        | 14 ++--
>  MdeModulePkg/Universal/PCD/Dxe/Pcd.c               |  2 +-
>  MdeModulePkg/Universal/PCD/Dxe/Service.c           |  2 +-
>  MdeModulePkg/Universal/PCD/Dxe/Service.h           |  4 +-
>  MdeModulePkg/Universal/PCD/Pei/Pcd.c               |  2 +-
>  MdeModulePkg/Universal/PCD/Pei/Service.c           |  4 +-
>  MdeModulePkg/Universal/PCD/Pei/Service.h           |  4 +-
>  8 files changed, 73 insertions(+), 50 deletions(-)
> 
> --
> 2.7.0.windows.1
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to