public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/2] Follow PI1.4a to fix artificial limitation of PCD SkuId range
@ 2016-09-02 11:59 Star Zeng
  2016-09-02 11:59 ` [PATCH 1/2] BaseTools: " Star Zeng
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Star Zeng @ 2016-09-02 11:59 UTC (permalink / raw)
  To: edk2-devel; +Cc: michael.a.rothman, Star Zeng

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-07  1:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-02 11:59 [PATCH 0/2] Follow PI1.4a to fix artificial limitation of PCD SkuId range Star Zeng
2016-09-02 11:59 ` [PATCH 1/2] BaseTools: " Star Zeng
2016-09-02 11:59 ` [PATCH 2/2] MdeModulePkg PCD: Update PCD database structure definition to match BaseTools Star Zeng
2016-09-07  1:56 ` [PATCH 0/2] Follow PI1.4a to fix artificial limitation of PCD SkuId range Gao, Liming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox