Liming Gao 
							
						 
					 
					
						
						
							
						
						7c73626513 
					 
					
						
						
							
							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 > 
						
						
					 
					
						2017-12-25 11:05:57 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Liming Gao 
							
						 
					 
					
						
						
							
						
						219247e164 
					 
					
						
						
							
							MdeModulePkg PCD: Enable Firmware to retrieve the default setting  
						
						 
						
						... 
						
						
						
						https://bugzilla.tianocore.org/show_bug.cgi?id=611 
Update PCD driver to retrieve the default setting and set the initial
EFI variable when PcdSetNvStoreDefaultId is set.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com > 
						
						
					 
					
						2017-12-25 11:05:57 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Star Zeng 
							
						 
					 
					
						
						
							
						
						b6e89910dd 
					 
					
						
						
							
							MdeModulePkg PCD: Update PCD database structure definition to match BaseTools  
						
						 
						
						... 
						
						
						
						To follow PI1.4a, BaseTools has be updated to fix artificial limitation of
SkuId range.
This patch is to update PCD database structure definition 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."
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2016-09-20 16:50:52 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Star Zeng 
							
						 
					 
					
						
						
							
						
						23f3e119c7 
					 
					
						
						
							
							MdeModulePkg: Add ATTRIBUTE (+/-RT, RO) support in PCD declaration in DSC file.  
						
						 
						
						... 
						
						
						
						Also update PCD_SERVICE_PEI_VERSION and PCD_SERVICE_DXE_VERSION to match with
the new PcdDataBase binary generated by BaseTools.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17161  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-04-10 09:01:46 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Gary Ching-Pang Lin 
							
						 
					 
					
						
						
							
						
						2fc67057f0 
					 
					
						
						
							
							MdeModulePkg Pcd: Remove the EFIAPI of PeiGetPcdInfo () typedef in Service.h.  
						
						 
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Ching-Pang Lin <glin@suse.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14873  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-11-20 11:21:06 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Star Zeng 
							
						 
					 
					
						
						
							
						
						96d6d004aa 
					 
					
						
						
							
							MdePkg and MdeModulePkg Pcd: Add the new EFI_GET_PCD_INFO_PROTOCOL and EFI_GET_PCD_INFO_PPI support for PI 1.2.1 compliance.  
						
						 
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14866  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-11-20 00:44:25 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Bob C Feng 
							
						 
					 
					
						
						
							
						
						419db80bef 
					 
					
						
						
							
							MdePkg and MdeModulePkg Pcd: Implement PCD Driver for External PCD Database and SKU enable Feature.  
						
						 
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bob C Feng <bob.c.feng@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14857  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-11-18 07:45:49 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								lgao4 
							
						 
					 
					
						
						
							
						
						e9d97d08d9 
					 
					
						
						
							
							Enable PCD version check on PCD driver and PCD database.  
						
						 
						
						... 
						
						
						
						Signed-off-by: lgao4
Reviewed-by: jliu66 djboyer
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13015  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-02-15 03:33:03 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hhtian 
							
						 
					 
					
						
						
							
						
						e5eed7d364 
					 
					
						
						
							
							Update the copyright notice format  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10418  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-04-24 09:33:45 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								klu2 
							
						 
					 
					
						
						
							
						
						149fb6d680 
					 
					
						
						
							
							According to PI 1.2 spec Vol 3 chapter 8 PCD, if the PCD service determined that the size of the data being set was  
						
						 
						
						... 
						
						
						
						incompatible with a call to this function, PCD_PPI/PROTOCOL's SetXEx interfaces should be return EFI_INVALID_PARAEMTER instead of ASSERT().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9753  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-01-14 16:29:29 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								klu2 
							
						 
					 
					
						
						
							
						
						c896d68257 
					 
					
						
						
							
							Make PcdPeim/PcdDxe driver also produce EFI_PCD_PPI/EFI_PCD_PROTOCOL defined in PI 1.2 vol3. The EFI_PCD_PPI/EFI_PCD_PROTOCOL only support dynamic-ex type PCD, but original PCD_PPI/PCD_PROTOCOL in MdePkg support dynamic and dynamic-ex type PCDs.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9401  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-11-10 08:45:07 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								klu2 
							
						 
					 
					
						
						
							
						
						90e0655656 
					 
					
						
						
							
							Synchronize PCD_Infrastructure 0.55 with source code.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8249  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-05-06 06:18:49 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								klu2 
							
						 
					 
					
						
						
							
						
						b6b3dc4410 
					 
					
						
						
							
							1, Move introduction from header file to INF file header; 2, Refine dynamic PCD introduction according to review comments  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7997  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-04-01 06:43:16 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								klu2 
							
						 
					 
					
						
						
							
						
						9e40e4bd0a 
					 
					
						
						
							
							Refine comments  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7975  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-03-29 11:20:47 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								klu2 
							
						 
					 
					
						
						
							
						
						a5eca427cb 
					 
					
						
						
							
							Add introduction of PCD database in PCD PEIM.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7973  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-03-29 07:43:05 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								lgao4 
							
						 
					 
					
						
						
							
						
						96cb78a1e3 
					 
					
						
						
							
							Use gEfiCallerIdGuid as the private guid for PcdPeim module.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7653  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-02-24 15:24:53 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								lgao4 
							
						 
					 
					
						
						
							
						
						98b15cf156 
					 
					
						
						
							
							Include the missing Guid header file to refer the global Guid  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7498  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-02-11 04:57:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								lgao4 
							
						 
					 
					
						
						
							
						
						5944a83bac 
					 
					
						
						
							
							Code clean for Ftw driver, remove the obsolete logic for boot block. Correct some comments in Pei Pcd driver.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7108  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-12-24 01:24:17 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								lgao4 
							
						 
					 
					
						
						
							
						
						cebc8d486e 
					 
					
						
						
							
							Code Scrub for Pcd, PlatformDriOverride and PlatOverMngr driver.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6998  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-12-11 09:30:13 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								klu2 
							
						 
					 
					
						
						
							
						
						25ce1e97eb 
					 
					
						
						
							
							Fix ECC issue for PCD Dxe and Peim  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6745  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-11-27 02:15:51 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								qwang12 
							
						 
					 
					
						
						
							
						
						a3a70b6ac1 
					 
					
						
						
							
							Doxygen fix.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6632  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-11-19 12:30:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								klu2 
							
						 
					 
					
						
						
							
						
						17b9cd33d7 
					 
					
						
						
							
							Remove over specific libraryclass  PeiServicesTablePointerLib  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6401  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-11-05 06:39:21 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								vanjeff 
							
						 
					 
					
						
						
							
						
						ed66e1bc0d 
					 
					
						
						
							
							clean up the un-suitable ';' location when declaring the functions.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-09-04 09:37:28 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								klu2 
							
						 
					 
					
						
						
							
						
						fc547e0863 
					 
					
						
						
							
							Code scrub for PCD PEIM.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5461  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-07-14 07:17:04 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								vanjeff 
							
						 
					 
					
						
						
							
						
						c52fa98ca9 
					 
					
						
						
							
							1. Fixed tools_def.template to meet ICC build for IA32  
						
						 
						
						... 
						
						
						
						2. Modified some source files to meet ICC build for IA32 and IPF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3271  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-07-17 01:48:09 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AJFISH 
							
						 
					 
					
						
						
							
						
						97a079edfb 
					 
					
						
						
							
							Updated modules to not depend on the IntelFrameworkPkg.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3162  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-07-09 23:39:54 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jwang36 
							
						 
					 
					
						
						
							
						
						be82f9ff2b 
					 
					
						
						
							
							Enabled PCD DXE/PEI modules build in MdeModulePkg  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2999  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-07-03 09:29:45 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								vanjeff 
							
						 
					 
					
						
						
							
						
						80408db0ca 
					 
					
						
						
							
							Import PCD dxe and PCD pei modules.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2994  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-07-03 08:28:05 +00:00