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 
						 
				 
			
				
					
						
							
							
								Michael D Kinney 
							
						 
					 
					
						
						
							
						
						e3917e22e7 
					 
					
						
						
							
							MdeModulePkg: Change OPTIONAL keyword usage style  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3760 
Update all use of ', OPTIONAL' to ' OPTIONAL,' for function params.
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael Kubacki <michael.kubacki@microsoft.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn > 
						
						
					 
					
						2021-12-07 17:24:28 +00:00 
						 
				 
			
				
					
						
							
							
								Michael D Kinney 
							
						 
					 
					
						
						
							
						
						87000d7708 
					 
					
						
						
							
							MdeModulePkg: Change use of EFI_D_* to DEBUG_*  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3739 
Update all use of EFI_D_* defines in DEBUG() macros to DEBUG_* defines.
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael Kubacki <michael.kubacki@microsoft.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn > 
						
						
					 
					
						2021-12-07 17:24:28 +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 
						 
				 
			
				
					
						
							
							
								Ruiyu Ni 
							
						 
					 
					
						
						
							
						
						a0a03415d6 
					 
					
						
						
							
							MdeModulePkg/UefiBootManagerLib: Remove assertion  
						
						... 
						
						
						
						EfiBootManagerStartHotkeyService() asserts when "BootOptionSupport"
variable doesn't exist.
In fact, though "BootOptionSupport" variable is set in BdsDxe
module, it's possible that the variable is deleted by
PlatformBootManagerBeforeConsole().
The patch removes the assertion and adds code to handle the case.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com > 
						
						
					 
					
						2017-11-22 17:50:39 +08:00 
						 
				 
			
				
					
						
							
							
								Ruiyu Ni 
							
						 
					 
					
						
						
							
						
						7320b8ed18 
					 
					
						
						
							
							MdeModulePkg/BDS: Fix a buffer overflow bug  
						
						... 
						
						
						
						KeyOption points to a buffer holding the content of Key####.
So its size is smaller than EFI_BOOT_MANAGER_KEY_OPTION.
Old code to assign value to KeyOption->OptionNumber modifies
the memory outside of the KeyOption buffer.
The patch fixes this bug.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Cc: Steven Shi <steven.shi@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jeff Fan <jeff.fan@intel.com > 
						
						
					 
					
						2017-05-22 09:43:47 +08:00 
						 
				 
			
				
					
						
							
							
								Star Zeng 
							
						 
					 
					
						
						
							
						
						ac72474d00 
					 
					
						
						
							
							MdeModulePkg: Use EfiEventEmptyFunction from UefiLib  
						
						... 
						
						
						
						Use EfiEventEmptyFunction from UefiLib and remove the duplication
of event empty function.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=298 
Cc: Feng Tian <feng.tian@intel.com >
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Michael Kinney <michael.d.kinney@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com > 
						
						
					 
					
						2017-01-20 15:51:18 +08:00 
						 
				 
			
				
					
						
							
							
								Laszlo Ersek 
							
						 
					 
					
						
						
							
						
						f0209935ad 
					 
					
						
						
							
							MdeModulePkg/UefiBootManagerLib: rebase to ARRAY_SIZE()  
						
						... 
						
						
						
						Cc: Feng Tian <feng.tian@intel.com >
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com > 
						
						
					 
					
						2016-10-27 11:10:56 +02:00 
						 
				 
			
				
					
						
							
							
								Thomas Palmer 
							
						 
					 
					
						
						
							
						
						065e587c17 
					 
					
						
						
							
							MdeModulePkg/UefiBootManagerLib: BmGetActiveConsoleIn code cleanup  
						
						... 
						
						
						
						Check for NULL from AllocateCopyPool before setting Count to 1. Also
change sizeof (EFI_HANDLE*) to sizeof (EFI_HANDLE).  Handles is a
EFI_HANDLE pointer, so the allocated memory must be the size of
EFI_HANDLE.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Thomas Palmer <thomas.palmer@hpe.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com > 
						
						
					 
					
						2016-03-31 09:21:05 +08:00 
						 
				 
			
				
					
						
							
							
								Ruiyu Ni 
							
						 
					 
					
						
						
							
						
						b99e9ca916 
					 
					
						
						
							
							MdeModulePkg/Bds: Fix VS2012 build failure.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com > 
						
						
					 
					
						2016-03-24 11:24:30 +08:00 
						 
				 
			
				
					
						
							
							
								Ruiyu Ni 
							
						 
					 
					
						
						
							
						
						2d15a83017 
					 
					
						
						
							
							MdeModulePkg/Bds: BDS hotkey shouldn't work on inactive consoles  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Sunny Wang <sunnywang@intel.com > 
						
						
					 
					
						2016-03-23 13:22:30 +08:00 
						 
				 
			
				
					
						
							
							
								Ruiyu Ni 
							
						 
					 
					
						
						
							
						
						121300c452 
					 
					
						
						
							
							MdeModulePkg: Use BmForEachVariable to collect all key options  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Sunny Wang <sunnywang@hpe.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18857  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-11-17 10:10:16 +00:00 
						 
				 
			
				
					
						
							
							
								Ruiyu Ni 
							
						 
					 
					
						
						
							
						
						f9a24380b8 
					 
					
						
						
							
							MdeModulePkg: Use BM_OPTION_NAME_LEN instead of sizeof L"Boot####"  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Sunny Wang <sunnywang@hpe.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18856  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-11-17 10:09:25 +00:00 
						 
				 
			
				
					
						
							
							
								Ruiyu Ni 
							
						 
					 
					
						
						
							
						
						418e8cd924 
					 
					
						
						
							
							MdeModulePkg: Use BmCharToUint in BmIsKeyOptionVariable  
						
						... 
						
						
						
						The patch also moves the BmCharToUint to BmMisc.c because it
belongs to misc functions.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Sunny Wang <sunnywang@hpe.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18855  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-11-17 10:08:40 +00:00 
						 
				 
			
				
					
						
							
							
								Ruiyu Ni 
							
						 
					 
					
						
						
							
						
						067ed98a73 
					 
					
						
						
							
							MdeModulePkg: Fix EOL to be DOS format.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17421  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-05-13 02:23:44 +00:00 
						 
				 
			
				
					
						
							
							
								Ruiyu Ni 
							
						 
					 
					
						
						
							
						
						1d11222925 
					 
					
						
						
							
							MdeModulePkg: Add UefiBootManagerLib  
						
						... 
						
						
						
						UefiBootManagerLib provides:
 load option library functions;
 hot key library functions;
 boot library functions;
 connect and disconnect library functions;
 driver health library functions.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Eric Dong <eric.dong@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17327  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-05-06 04:47:02 +00:00