audk/BaseTools/Source/Python/Common
Liming Gao 2b8a6c44e0 BaseTools: PcdDataBase Optimization for multiple SkuIds
https://bugzilla.tianocore.org/show_bug.cgi?id=546
BaseTools will generate the optimized PCD database to save the image size
at build time for multiple SKUs. The optimized PCD database layout will be like
below, the PCD database will be composed of the full default SKU data
(PCD_DATABASE_INIT) and the non-default SKU delta data(PCD_DATABASE_SKU_DELTA).
PCD driver will build HOB to store the full default SKU data, and patch HOB
data based on non-default SKU delta data for the SKU set by SetSku(),
it can save memory resource at boot time.

//
// PCD database layout:
// +---------------------------------+
// | PCD_DATABASE_INIT (DEFAULT SKU) |
// +---------------------------------+
// | PCD_DATABASE_SKU_DELTA (SKU A)  |
// +---------------------------------+
// | PCD_DATABASE_SKU_DELTA (SKU B)  |
// +---------------------------------+
// | ......                          |
// +---------------------------------+
//

BaseTools, PCD database and driver updates are needed for this proposal.
For single SKU (default) case, this proposal is expected to have no impact.
For multi-SKU case, PCD database format will be changed.
So, PcdDataBase Version is also updated from 6 to 7.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Feng Bob C <bob.c.feng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2017-12-25 11:05:47 +08:00
..
BuildToolError.py BaseTools: PcdDataBase Optimization for multiple SkuIds 2017-12-25 11:05:47 +08:00
BuildVersion.py
DataType.py BaseTools: Support Structure PCD value inherit between the different SKUs 2017-12-25 11:05:47 +08:00
Database.py
DecClassObject.py
Dictionary.py
DscClassObject.py
EdkIIWorkspace.py
EdkIIWorkspaceBuild.py
EdkLogger.py
Expression.py BaseTools: Add PCDs conditional operator function 2017-07-10 09:58:13 +08:00
FdfClassObject.py
FdfParserLite.py BaseTools: extend FFS alignment to 16M 2017-09-25 11:18:22 +08:00
GlobalData.py BaseTools: Support Structure PCD value assignment in DEC/DSC 2017-12-25 11:05:45 +08:00
Identification.py
InfClassObject.py
LongFilePathOs.py
LongFilePathOsPath.py
LongFilePathSupport.py
MigrationUtilities.py
Misc.py BaseTools: PcdDataBase Optimization for multiple SkuIds 2017-12-25 11:05:47 +08:00
MultipleWorkspace.py
Parsing.py
PyUtility.pyd
RangeExpression.py
String.py BaseTools: Fix a bug Build directory should relative to WORKSPACE 2017-10-16 16:41:40 +08:00
TargetTxtClassObject.py
ToolDefClassObject.py BaseTools: Support Structure PCD value assignment in DEC/DSC 2017-12-25 11:05:45 +08:00
VariableAttributes.py
VpdInfoFile.py BaseTools: PcdDataBase Optimization for multiple SkuIds 2017-12-25 11:05:47 +08:00
__init__.py