lzeng14 
							
						 
					 
					
						
						
							
						
						0cc565deac 
					 
					
						
						
							
							Add NULL pointer check.  
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Eric Dong <eric.dong@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14084  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-25 04:48:41 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						cc7f6cf32f 
					 
					
						
						
							
							Refine code to follow coding style.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14080  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-24 08:46:59 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						947a5a9ae8 
					 
					
						
						
							
							Refine the sample about how to convert the device path to string.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14077  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-22 09:51:19 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						80a047f04a 
					 
					
						
						
							
							Update the code of processing device path info in browser to follow UEFI spec.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14076  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-22 09:49:44 +00:00 
						 
				 
			
				
					
						
							
							
								li-elvin 
							
						 
					 
					
						
						
							
						
						0666b5e858 
					 
					
						
						
							
							Take the highest horizontal resolution as highest video resolution.  
						
						... 
						
						
						
						Signed-off-by: Li Elvin <elvin.li@intel.com >
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com >
Reviewed-by: Tian Hot <hot.tian@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14074  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-22 06:35:57 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						ed729be159 
					 
					
						
						
							
							Refine the menu display logic, support menus with more than one page of options.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14072  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-22 06:08:24 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						23b0693579 
					 
					
						
						
							
							1. Update the logic of UpdateVariable() for updating variable from:  
						
						... 
						
						
						
						set old variable to IN_DELETED_TRANSITION -> check if reclaim is needed(If yes, do reclaim) -> add new variable -> set old variable to DELETED if no reclaim happened.
to:
set old variable to IN_DELETED_TRANSITION -> check if reclaim is needed(If yes, do reclaim) -> add new variable -> set old variable to DELETED.
2. Update UpdateVariable() to correctly handle the case "both ADDED and IN_DELETED_TRANSITION variable are present", and delete both old ADDED and IN_DELETED_TRANSITION variable when deleting or updating variable.
3. Update VariableServiceGetNextVariableName() to return the valid IN_DELETED_TRANSITION variable if only IN_DELETED_TRANSITION variable is present.
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14065  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-18 01:12:32 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						73f0127f98 
					 
					
						
						
							
							Fix ICC11(VS2005) build failure.  
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14062  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-17 03:28:05 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						9f0b11ca07 
					 
					
						
						
							
							Fix build failure.  
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14056  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-16 10:14:36 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						aab9212fa9 
					 
					
						
						
							
							Fix the issue that RuntimeServiceQueryVariableInfo() in VariableSmmRuntimeDxe always return EFI_SUCCESS.  
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14050  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-15 06:43:24 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						30522140a1 
					 
					
						
						
							
							The unit of Duration for S3BootScriptSaveMemPoll() is us, but not ns, so update BootScriptExecuteMemPoll() to use MicroSecondDelay() instead of NanoSecondDelay(), and update BootScriptWriteMemPoll() to use S3BootScriptSaveMemPoll() correctly with possible minimum deviation.  
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14048  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-15 05:18:19 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						5ecab66086 
					 
					
						
						
							
							Remove the meaningless compare code.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14046  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-14 06:18:50 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						fda93fc449 
					 
					
						
						
							
							Use EFI_IFR_TYPE_VALUE type variable instead of UINT64 to avoid buffer overflow.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14044  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-10 03:01:16 +00:00 
						 
				 
			
				
					
						
							
							
								niruiyu 
							
						 
					 
					
						
						
							
						
						724f26a9d0 
					 
					
						
						
							
							Fix the bug that the device claiming too much resource cannot be rejected by the PciBus driver.  
						
						... 
						
						
						
						Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com >
Reviewed-by: Elvin Li<elvin.li@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14043  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-09 08:02:29 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						6ed1ec5946 
					 
					
						
						
							
							Add the TPL raise/restore code for VariableSmmRuntimeDxe to avoid variable services reentry.  
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14038  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-08 02:07:14 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						a7f87053e0 
					 
					
						
						
							
							Base on the type field to get the width of value field for option opcode.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14036  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-06 06:12:50 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						dcf5ba47ae 
					 
					
						
						
							
							Base on the type field to generate oneof opcode.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14035  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-06 06:09:43 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						d593121935 
					 
					
						
						
							
							Base on the type field to generate numeric opcode.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14034  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-06 06:07:38 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						335e268133 
					 
					
						
						
							
							1. Don't assume that flush the HOB variable to flash must be successful.  
						
						... 
						
						
						
						2. When no DELETED variable found, no variable space could be reclaimed, so just give some debug info and return EFI_SUCCESS.
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14029  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-04 12:21:59 +00:00 
						 
				 
			
				
					
						
							
							
								erictian 
							
						 
					 
					
						
						
							
						
						9690325d1e 
					 
					
						
						
							
							MdeModulePkg/AtaBus&ScsiBus: Dynamically calculate how long shall we wait for the finish of a read/write operation according to the actual transfer length  
						
						... 
						
						
						
						Signed-off-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Elvin Li <elvin.li@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14028  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-04 06:03:52 +00:00 
						 
				 
			
				
					
						
							
							
								erictian 
							
						 
					 
					
						
						
							
						
						e8a50d1b44 
					 
					
						
						
							
							MdeModulePkg/AtaAtapiPassThru: Not set AhciCmdC bit of CommandList when doing transaction as AHCI spec say this bit is only used to do soft reset  
						
						... 
						
						
						
						Signed-off-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Elvin Li <elvin.li@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14027  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-01-04 05:58:24 +00:00 
						 
				 
			
				
					
						
							
							
								li-elvin 
							
						 
					 
					
						
						
							
						
						c84f048224 
					 
					
						
						
							
							Set graphic mode if graphic mode is not same with the one which GraphicsConsole driver find by itself.  
						
						... 
						
						
						
						Signed-off-by: Li Elvin <elvin.li@intel.com >
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com >
Reviewed-by: Tian Hot <hot.tian@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14023  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-25 08:21:01 +00:00 
						 
				 
			
				
					
						
							
							
								erictian 
							
						 
					 
					
						
						
							
						
						51f65b3739 
					 
					
						
						
							
							MdeMdeModulePkg/Ehci: Add logic to dispatch OHCI driver first if the companion controller is OHCI.  
						
						... 
						
						
						
						Signed-off-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Elvin Li <elvin.li@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14022  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-25 06:35:11 +00:00 
						 
				 
			
				
					
						
							
							
								erictian 
							
						 
					 
					
						
						
							
						
						b3b1e97b55 
					 
					
						
						
							
							MdeMdeModulePkg/Xhci: Fix a wrong conditional judgment which bring assertion with 1.0 hub.  
						
						... 
						
						
						
						Signed-off-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Elvin Li <elvin.li@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14021  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-25 06:31:41 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						2a956f7490 
					 
					
						
						
							
							Detect some unsupported cases when save boot script, then return error early.  
						
						... 
						
						
						
						1. PciCfg Read/Write doesn't support UINT64 width.
2. PciCfg2 Segment must be zero.
Move CheckParameters () to BootScriptSave.c to check parameter early.
Add code for EfiSmbusBWBRProcessCall operation, and let the SmbusLib instance to decide if it is supported or not.
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14018  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-24 06:58:13 +00:00 
						 
				 
			
				
					
						
							
							
								sfu5 
							
						 
					 
					
						
						
							
						
						f8c075d112 
					 
					
						
						
							
							1. Fix buffer overflow bugs in SNP, MNP and IP6 driver.  
						
						... 
						
						
						
						2. Fix GCC build fail issue in DxeNetLib.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com >
Reviewed-by: Ouyang Qian <qian.ouyang@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14017  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-24 02:52:27 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						05cfd5f286 
					 
					
						
						
							
							Initialize a local work space header to be used by IsValidWorkSpace() and InitWorkSpaceHeader() to avoid executing code(gBS->CalculateCrc32 ()) outside SMRAM while inside SMM.  
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14012  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-21 00:52:57 +00:00 
						 
				 
			
				
					
						
							
							
								li-elvin 
							
						 
					 
					
						
						
							
						
						83d06ed90f 
					 
					
						
						
							
							Check status before reporting error status code.  
						
						... 
						
						
						
						Signed-off-by: Li Elvin <elvin.li@intel.com >
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14011  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-20 03:21:14 +00:00 
						 
				 
			
				
					
						
							
							
								jyao1 
							
						 
					 
					
						
						
							
						
						46ece1ff4f 
					 
					
						
						
							
							Add PI1.2.1 EndOfDxe support.  
						
						... 
						
						
						
						Signed-off-by: jiewen.yao@intel.com 
Reviewed-by: michael.d.kinney@intel.com 
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14009  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-18 05:07:35 +00:00 
						 
				 
			
				
					
						
							
							
								sfu5 
							
						 
					 
					
						
						
							
						
						1f7eb561d9 
					 
					
						
						
							
							Fix GCC build fail issue for MdeModulePkg and NetworkPkg.  
						
						... 
						
						
						
						Signed-off-by: Fu Siyuan <siyuan.fu@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com >
Reviewed-by: Ouyang Qian <qian.ouyang@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14007  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-17 06:48:35 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						23fe74dc76 
					 
					
						
						
							
							Base on the value type to get the value for default opcode.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14006  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-17 03:30:43 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						d379cbc75d 
					 
					
						
						
							
							Reclaim work space when the remaining space size is even not enough to contain one header + one record.  
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14005  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-17 03:18:16 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						0f4e03dae4 
					 
					
						
						
							
							Initialize Data.  
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Eric Dong <eric.dong@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13998  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-14 06:03:25 +00:00 
						 
				 
			
				
					
						
							
							
								sfu5 
							
						 
					 
					
						
						
							
						
						216f79703b 
					 
					
						
						
							
							1. Add EFI_COMPONENT_NAME2_PROTOCOL.GetControllerName() support.  
						
						... 
						
						
						
						2. Fix the driver binding Stop() hang issue in the network stack.
3. Add Ip4 raw data support.
4. Add iSCSI Dhcp option 60 support.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com >
Reviewed-by: Ouyang Qian <qian.ouyang@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13995  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-13 06:47:06 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						3f5c168fa8 
					 
					
						
						
							
							Use SMM_VARIABLE_COMMUNICATE_HEADER_SIZE instead of OFFSET_OF (SMM_VARIABLE_COMMUNICATE_HEADER, Data).  
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Ting Ye <ting.ye@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13993  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-12 14:12:49 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						30f804978a 
					 
					
						
						
							
							1. Update IoRead to support UINT64 also.  
						
						... 
						
						
						
						2. To be consistent, update PciCfgRead to support full S3BootScriptWidth(Uint8, FifoUint8 and FullUint8) like PciCfgWrite.
3. Use BuildLoopData() to get the addressStride and BufferStride to do PCI CFG operations.
4. Correct, refine and enhance some comments and debug messages.
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13987  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-10 12:54:02 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						02f49fc23d 
					 
					
						
						
							
							1. Duplicate the original boot script data copy, because it may have INSERT boot script at runtime in SMM. If so, we should use original copy to restore data after OS rewrites the ACPINvs region. Or the data inserted may cause some original boot script data lost.  
						
						... 
						
						
						
						2. Sync the change into LockBox for S3BootScriptMoveLastOpcode() at runtime in SMM.
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13986  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-07 07:56:59 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						3aa764ed74 
					 
					
						
						
							
							Multi-SMM drivers couldn't save their boot script successfully all at runtime in SMM, one module's boot script will overwrite another module's.  
						
						... 
						
						
						
						Allocate a SMM copy for private data structure, and use a new PCD PcdS3BootScriptTablePrivateSmmDataPtr to transfer and share data between multi-SMM drivers.
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13984  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-06 01:15:40 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						edae8d2dbd 
					 
					
						
						
							
							Update the HiiConfigToBlock to follow spec.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13983  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-05 09:27:15 +00:00 
						 
				 
			
				
					
						
							
							
								jyao1 
							
						 
					 
					
						
						
							
						
						10342a643f 
					 
					
						
						
							
							Fix build error.  
						
						... 
						
						
						
						ACPI4.0/5.0 have clear description:
FIRMWARE_CTRL: If the X_FIRMWARE_CTRL field contains a non zero value then this field must be zero.
X_FIRMWARE_CTRL: This field is used when the physical address of the FACS is above 4GB. If the FIRMWARE_CTRL field contains a non zero value then this field must be zero.
Update code in AcpiSupport/AcpiTable when it produces this field to set one only.
Update code in AcpiS3Save when it consumes this field, check 0 value.
Signed-off-by: jiewen.yao@intel.com 
Reviewed-by: star.zeng@intel.com 
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13981  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-12-03 01:06:28 +00:00 
						 
				 
			
				
					
						
							
							
								jyao1 
							
						 
					 
					
						
						
							
						
						c93776c2d4 
					 
					
						
						
							
							ACPI4.0/5.0 have clear description:  
						
						... 
						
						
						
						FIRMWARE_CTRL: If the X_FIRMWARE_CTRL field contains a non zero value then this field must be zero.
X_FIRMWARE_CTRL: This field is used when the physical address of the FACS is above 4GB. If the FIRMWARE_CTRL field contains a non zero value then this field must be zero.
Update code in AcpiSupport/AcpiTable when it produces this field to set one only.
Update code in AcpiS3Save when it consumes this field, check 0 value.
Signed-off-by: jiewen.yao@intel.com 
Reviewed-by: star.zeng@intel.com 
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13980  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-11-30 09:03:15 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						93b21ade88 
					 
					
						
						
							
							Fix the issue that S3BootScriptLabel() does not work to insert label when the specified position is not at the end of table.  
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13979  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-11-29 05:41:51 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						879dbe18d8 
					 
					
						
						
							
							Use mS3BootScriptTablePtr->TableLength + sizeof (EFI_BOOT_SCRIPT_TERMINATE) to get the correct table length.  
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13977  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-11-29 01:19:20 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						8e4585bb6c 
					 
					
						
						
							
							1. Add S3BootScriptDone Debug message when meeting S3_BOOT_SCRIPT_LIB_TERMINATE_OPCODE.  
						
						... 
						
						
						
						2. Add Label Opcode Debug message.
3. Align Debug message with code.
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13966  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-11-27 11:26:28 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						d03b313050 
					 
					
						
						
							
							Add the memory check to reserve memory for TERMINATE opcode in S3BootScriptGetBootTimeEntryAddAddress.  
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13965  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-11-27 11:20:01 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						68cc1ba3b6 
					 
					
						
						
							
							Use IA32_IDT_GATE_DESCRIPTOR defined in BaseLib instead of local struct INTERRUPT_GATE_DESCRIPTOR.  
						
						... 
						
						
						
						Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13948  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-11-16 01:24:31 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						54f8fc6d75 
					 
					
						
						
							
							Check mHiiPackageListUpdated before set it to FALSE.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13947  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-11-15 08:13:23 +00:00 
						 
				 
			
				
					
						
							
							
								niruiyu 
							
						 
					 
					
						
						
							
						
						9cdadb7c94 
					 
					
						
						
							
							Enhance SetupBrowser to call ReadKeyStroke() before calling WaitForEvent(). This can handle the case when the UI is launched in lazy ConIn mode.  
						
						... 
						
						
						
						Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com >
Reviewed-by: Eric Dong<eric.dong@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13942  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-11-14 06:30:39 +00:00 
						 
				 
			
				
					
						
							
							
								erictian 
							
						 
					 
					
						
						
							
						
						467cacbf77 
					 
					
						
						
							
							MdeModulePkg/AtaAtapiPassThru: fix buffer overflow issue introduced by previous patch(r13932).  
						
						... 
						
						
						
						Signed-off-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13941  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-11-14 05:12:40 +00:00 
						 
				 
			
				
					
						
							
							
								tye1 
							
						 
					 
					
						
						
							
						
						5f6aee0f72 
					 
					
						
						
							
							Fix issue that node is still reachable after executing ifconfig –c.  
						
						... 
						
						
						
						Signed-off-by: Ye Ting <ting.ye@intel.com >
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com >
Reviewed-by: Ouyang Qian <qian.ouyang@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13940  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-11-14 01:43:18 +00:00