Feng Tian 
							
						 
					 
					
						
						
						
						
							
						
						
							6e1e540554 
							
						 
					 
					
						
						
							
							1) Add type cast for better coding style.  
						
						... 
						
						
						
						2) replace StrCpy() usage in Variable driver with StrnCpy().
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15770  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2014-08-07 08:54:34 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Dong 
							
						 
					 
					
						
						
						
						
							
						
						
							4e1005eca7 
							
						 
					 
					
						
						
							
							Update code to support VS2013 tool chain.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15695  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2014-07-28 07:52:57 +00:00 
						 
				 
			
				
					
						
							
							
								Chen Fan 
							
						 
					 
					
						
						
						
						
							
						
						
							e364478661 
							
						 
					 
					
						
						
							
							Fixed typos: hanlder should be handler.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15642  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2014-07-09 03:51:56 +00:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
						
						
							
						
						
							ef96ba3cbe 
							
						 
					 
					
						
						
							
							MdeModulePkg SmmLockBoxSmmLib: Add debug message for the address of lockbox(smm) copy.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15610  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2014-07-02 02:29:02 +00:00 
						 
				 
			
				
					
						
							
							
								jyao1 
							
						 
					 
					
						
						
						
						
							
						
						
							57a1b9c425 
							
						 
					 
					
						
						
							
							Add comment for S3BootScriptSaveMemPoll API, since it does not match PI specification.  
						
						... 
						
						
						
						Signed-off by: Jiewen Yao <Jiewen.yao@intel.com>
Reviewed by: Star Zeng <Star.Zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15280  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2014-03-01 12:25:31 +00:00 
						 
				 
			
				
					
						
							
							
								Tian, Hot 
							
						 
					 
					
						
						
						
						
							
						
						
							4b738c76f5 
							
						 
					 
					
						
						
							
							Fix CRLF format  
						
						... 
						
						
						
						Signed-off-by: Tian, Hot <hot.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15155  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2014-01-22 08:38:50 +00:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
						
						
							
						
						
							f5d2935d7a 
							
						 
					 
					
						
						
							
							Correct function comments of S3BootScriptCloseTable().  
						
						... 
						
						
						
						Signed-off-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15063  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2014-01-09 01:54:43 +00:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
						
						
							
						
						
							91403ce938 
							
						 
					 
					
						
						
							
							Update MemoryAllocationLib AllocateAlignedPages API comments for memory overflow ASSERT case.  
						
						... 
						
						
						
						Signed-off-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@15034  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-12-31 07:19:52 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Dong 
							
						 
					 
					
						
						
						
						
							
						
						
							6307a8b6dc 
							
						 
					 
					
						
						
							
							Rollback the change 15021.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15030  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-12-30 06:07:29 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Dong 
							
						 
					 
					
						
						
						
						
							
						
						
							80873def60 
							
						 
					 
					
						
						
							
							Keep consistent about the return value between the caller and callee.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15021  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-12-26 04:19:37 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Dong 
							
						 
					 
					
						
						
						
						
							
						
						
							077c7aeec0 
							
						 
					 
					
						
						
							
							Update code to support guid op nest in the statement.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14995  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-12-17 08:33:06 +00:00 
						 
				 
			
				
					
						
							
							
								Jeff Fan 
							
						 
					 
					
						
						
						
						
							
						
						
							3f25e6eab9 
							
						 
					 
					
						
						
							
							Fix comments format issue.  
						
						... 
						
						
						
						Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14934  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-12-06 01:13:11 +00:00 
						 
				 
			
				
					
						
							
							
								Fu Siyuan 
							
						 
					 
					
						
						
						
						
							
						
						
							3ce454dd40 
							
						 
					 
					
						
						
							
							Update NetLibGetMacAddress() to handle the case correctly when SNP is absent.  
						
						... 
						
						
						
						Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ni, Ruiyu <ruiyu.ni@intel.com>
Reviewed-by: Jin, Eric <eric.jin@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14904  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-11-27 08:57:11 +00:00 
						 
				 
			
				
					
						
							
							
								Jeff Fan 
							
						 
					 
					
						
						
						
						
							
						
						
							57f360f261 
							
						 
					 
					
						
						
							
							1. DxeIplPeim will locate Vector Handoff Table PPI and build GUIDed HOB if it has.  
						
						... 
						
						
						
						2. DxeMain will get Vector Handoff Table GUIDed HOB to install configuration table if it has.
3. Updated CPU Exception Handler Library to provide 3 new APIs to replace original one API and updated NULL instance accordingly.
4. Updated DxeMain/CapsuleX64/BootSriptExectorDxe to use the new API in CPU Exception Handler Lib.
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14884  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-11-22 06:15:51 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Dong 
							
						 
					 
					
						
						
						
						
							
						
						
							09acdc0b24 
							
						 
					 
					
						
						
							
							Update comments for VarOffset field in the dynamic create question function.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14765  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-10-12 02:10:02 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Dong 
							
						 
					 
					
						
						
						
						
							
						
						
							980f3026e5 
							
						 
					 
					
						
						
							
							Restore the correct cursor status after finish creating the dialog.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14758  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-10-09 07:51:14 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Dong 
							
						 
					 
					
						
						
						
						
							
						
						
							af047db78d 
							
						 
					 
					
						
						
							
							Fix form flash issue.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14735  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-09-27 12:19:51 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Dong 
							
						 
					 
					
						
						
						
						
							
						
						
							5a9f73bf06 
							
						 
					 
					
						
						
							
							Refine the code logic for browser and display engine.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14543  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-08-12 04:49:48 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Dong 
							
						 
					 
					
						
						
						
						
							
						
						
							7c6c064ca8 
							
						 
					 
					
						
						
							
							Update Browser to provide the customization possibilities.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14540  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-08-12 02:19:56 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Dong 
							
						 
					 
					
						
						
						
						
							
						
						
							2536161545 
							
						 
					 
					
						
						
							
							Rollback patch 14537 & 14538, because patch 14537 is not tested by Laszlo Ersek, but i wrote it.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14539  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-08-12 02:03:10 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Dong 
							
						 
					 
					
						
						
						
						
							
						
						
							b9feb4bdf2 
							
						 
					 
					
						
						
							
							Update Browser to provide the customization possibilities.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg Patch
Tested-by: Laszlo Ersek <lersek@redhat.com>
OvmfPkg Patch  
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com> 
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14537  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-08-09 05:26:47 +00:00 
						 
				 
			
				
					
						
							
							
								Olivier Martin 
							
						 
					 
					
						
						
						
						
							
						
						
							6e84b4df30 
							
						 
					 
					
						
						
							
							Fixes the GCC build 'Unused variable' warning (raised an error when warnings are treated as errors).  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14474  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-07-16 05:13:52 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Dong 
							
						 
					 
					
						
						
						
						
							
						
						
							40ae09a2a7 
							
						 
					 
					
						
						
							
							Rollback patch 14470, because it error check in some extra ending code.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14473  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-07-16 05:09:47 +00:00 
						 
				 
			
				
					
						
							
							
								Olivier Martin 
							
						 
					 
					
						
						
						
						
							
						
						
							270e8dfd86 
							
						 
					 
					
						
						
							
							Fixes the GCC build 'Unused variable' warning (raised an error when warnings are treated as errors).  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14470  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-07-16 02:11:24 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Dong 
							
						 
					 
					
						
						
						
						
							
						
						
							82e8c1380f 
							
						 
					 
					
						
						
							
							Update HiiDataBase and  UefiHiiLib to support Name/Value varstore.  
						
						... 
						
						
						
						Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14451  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-07-02 07:53:35 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
						
						
							
						
						
							164a9b6752 
							
						 
					 
					
						
						
							
							Fix the TOCTOU issue of CommBufferSize itself for SMM communicate handler input.  
						
						... 
						
						
						
						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@14379  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-05-21 02:22:02 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
						
						
							
						
						
							5e5bb2a9ba 
							
						 
					 
					
						
						
							
							1. Fix TOCTOU issue in VariableSmm, FtwSmm, FpdtSmm, SmmCorePerformance SMM handler. For VariableSmm, pre-allocate a mVariableBufferPayload buffer with mVariableBufferPayloadSize(match with mVariableBufferPayloadSize in VariableSmmRuntimeDxe) to hold communicate buffer payload to avoid TOCTOU issue.  
						
						... 
						
						
						
						2. Add check to ensure CommBufferPayloadSize not exceed mVariableBufferPayloadSize or is enough to hold function structure in VariableSmm and FtwSmm.
3. Align FtwGetLastWrite() in FaultTolerantWriteSmmDxe.c to FtwGetLastWrite() in FaultTolerantWrite.c.
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@14325  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-05-07 05:38:32 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
						
						
							
						
						
							9d00d20ed4 
							
						 
					 
					
						
						
							
							1. Use the check IsAddressValid() to prevent SMM communication buffer overflow in SmmVariable, FtwSmm, FpdtSmm, SmmCorePerformance and SmmBaseHelper, and add check to prevent InfoSize overflows in SmmVariableHandler.  
						
						... 
						
						
						
						2. Refine the debug message.
3. Add check to make sure the input VariableName is A Null-terminated string.
4. Use local variable to hold StrSize (VariableName) to avoid duplicated StrSize calculation.
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14317  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-04-25 10:49:45 +00:00 
						 
				 
			
				
					
						
							
							
								sfu5 
							
						 
					 
					
						
						
						
						
							
						
						
							6879581d2e 
							
						 
					 
					
						
						
							
							Update dual network stack drivers to produce multiple Driver Binding Protocol.  
						
						... 
						
						
						
						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@14315  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-04-25 01:33:43 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
						
						
							
						
						
							e8654a1a1a 
							
						 
					 
					
						
						
							
							Add new HiiLib API HiiCreateGotoExOpCode() to create UEFI231 IFR REF, REF2, REF3, and REF4 opcode.  
						
						... 
						
						
						
						Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Eric Dong <dong.eric@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14146  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-02-27 02:37:27 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
						
						
							
						
						
							c9e8881516 
							
						 
					 
					
						
						
							
							Update SecurityStub SAP protocol to support SecureHandler and SecureHandler2 both.  
						
						... 
						
						
						
						Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14118  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-02-01 05:34:19 +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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								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