diff options
author | Liming Gao <liming.gao@intel.com> | 2017-12-22 13:41:54 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2017-12-25 11:05:57 +0800 |
commit | 7c73626513238176bdd16dca14fcf3f9e10bcc81 (patch) | |
tree | 9a75f70d555811e298a00fbc0db906ec0e8ce6af /Conf | |
parent | 219247e16462d72e3b22db4e21bfaec256cc5fbb (diff) | |
download | edk2-7c73626513238176bdd16dca14fcf3f9e10bcc81.zip edk2-7c73626513238176bdd16dca14fcf3f9e10bcc81.tar.gz edk2-7c73626513238176bdd16dca14fcf3f9e10bcc81.tar.bz2 |
MdeModulePkg: Update PCD driver to support the optimized PcdDataBase
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: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'Conf')
0 files changed, 0 insertions, 0 deletions