Michael Kubacki 
							
						 
					 
					
						
						
							
						
						1436aea4d5 
					 
					
						
						
							
							MdeModulePkg: Apply uncrustify changes  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 
Apply uncrustify changes to .c/.h files in the MdeModulePkg package
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn > 
						
						
					 
					
						2021-12-07 17:24:28 +00:00 
						 
				 
			
				
					
						
							
							
								Tan, Ming 
							
						 
					 
					
						
						
							
						
						d4945b1027 
					 
					
						
						
							
							MdeModulePkg/Universal/StatusCodeHandler: Fix a bug about log lost  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3126 
1. If use PeiDxeDebugLibReportStatusCode as DebugLib, then some logs
after ExitBootService() will be lost.
2. The root cause:
2.1 The original code will register an unregister function
of gEfiEventExitBootServicesGuid, this unregister function will call
EFI_RSC_HANDLER_PROTOCOL->Unregister and does not support log through
serial port.
2.2 And some other drivers also register call back funtions of
gEfiEventExitBootServicesGuid.
2.3 Then after the unregister function is called, other call back
functions can't out log if them use RSC as DebugLib.
3. The DxeMain will report status code EFI_SW_BS_PC_EXIT_BOOT_SERVICES
after notify all the call back functions of
gEfiEventExitBootServicesGuid.
4. Solution: the StatusCodeHandlerRuntimeDxe.c will not register an
unregister function of gEfiEventExitBootServicesGuid, but unregister it
after receive the status code of EFI_SW_BS_PC_EXIT_BOOT_SERVICES.
Cc: Dandan Bi <dandan.bi@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Signed-off-by: Ming Tan <ming.tan@intel.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
Reviewed-by: Dandan Bi <dandan.bi@intel.com > 
						
						
					 
					
						2020-12-22 08:23:51 +00:00 
						 
				 
			
				
					
						
							
							
								Tan, Ming 
							
						 
					 
					
						
						
							
						
						58ae92a993 
					 
					
						
						
							
							MdeModulePkg/StatusCodeHandler: do not output \n\r for string data  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2787 
When output string data through serial port, will not ouput \n\r now.
Caller can output several data in one line, and output \n\r when needed.
Signed-off-by: Ming Tan <ming.tan@intel.com >
Reviewed-by: Jian J Wang <jian.j.wang@intel.com >
Reviewed-by: Eric Dong <eric.dong@intel.com > 
						
						
					 
					
						2020-06-17 03:35:43 +00:00 
						 
				 
			
				
					
						
							
							
								Michael D Kinney 
							
						 
					 
					
						
						
							
						
						9d510e61fc 
					 
					
						
						
							
							MdeModulePkg: Replace BSD License with BSD+Patent License  
						
						... 
						
						
						
						https://bugzilla.tianocore.org/show_bug.cgi?id=1373 
Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:
  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html 
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html 
RFCs with detailed process for the license change:
  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html 
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html 
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html 
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Jian J Wang <jian.j.wang@intel.com > 
					
						2019-04-09 10:58:08 -07:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
							
						
						d1102dba72 
					 
					
						
						
							
							MdeModulePkg: Clean up source files  
						
						... 
						
						
						
						1. Do not use tab characters
2. No trailing white space in one line
3. All files must end with CRLF
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com > 
						
						
					 
					
						2018-06-28 11:19:45 +08:00 
						 
				 
			
				
					
						
							
							
								Li, Elvin 
							
						 
					 
					
						
						
							
						
						5d0f0ac480 
					 
					
						
						
							
							Print the CodeType and Value of status code with fixed length.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Li, Elvin <elvin.li@intel.com >
Reviewed-by: Gao, Liming <liming.gao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15687  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2014-07-28 01:59:02 +00:00 
						 
				 
			
				
					
						
							
							
								lzeng14 
							
						 
					 
					
						
						
							
						
						90eaa3c1e0 
					 
					
						
						
							
							EFI_STATUS_CODE_DATA_MAX_SIZE is just for the maximum size of an EFI_DEBUG_INFO structure. Seemly, it is not suitable to be used in SerialStatusCodeHandler, so update SerialStatusCodeHandler to use MAX_DEBUG_MESSAGE_LENGTH (0x100) as the max printed string size to align with other DebugLib’s behavior.  
						
						... 
						
						
						
						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@13445  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-06-12 04:52:23 +00:00 
						 
				 
			
				
					
						
							
							
								li-elvin 
							
						 
					 
					
						
						
							
						
						30d636c8d9 
					 
					
						
						
							
							AsciiSPrint returns The number of ASCII characters in the produced output buffer not including the Null-terminator, but SerialStatusCodeWorker has bug which overwrites the last character, which causes there is a missing character in serial log output. The fix is to resolve this issue.  
						
						... 
						
						
						
						Signed-off-by: li-elvin
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12526  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-10-11 03:45:24 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						fbe12b79ae 
					 
					
						
						
							
							Refine code to make code run more safely.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10955  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-10-18 11:33:26 +00:00 
						 
				 
			
				
					
						
							
							
								xli24 
							
						 
					 
					
						
						
							
						
						bc369e7975 
					 
					
						
						
							
							Add NULL pointer checking against Data.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10724  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-07-30 08:38:52 +00:00 
						 
				 
			
				
					
						
							
							
								xli24 
							
						 
					 
					
						
						
							
						
						96a2516355 
					 
					
						
						
							
							Handle gEfiStatusCodeDataTypeStringGuid in status code handler drivers.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10716  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-07-30 05:35:19 +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 
						 
				 
			
				
					
						
							
							
								geekboy15a 
							
						 
					 
					
						
						
							
						
						e798cd87ca 
					 
					
						
						
							
							Fixed GCC 4.4 build issues due to EFIAPI not being used when required.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10379  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-04-16 23:24:45 +00:00 
						 
				 
			
				
					
						
							
							
								xli24 
							
						 
					 
					
						
						
							
						
						3af9b38827 
					 
					
						
						
							
							Move Status Code Handler modules for PI implementation to MdeModulePkg.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9608  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-12-25 06:49:52 +00:00