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 
						 
				 
			
				
					
						
							
							
								Abner Chang 
							
						 
					 
					
						
						
							
						
						2cfec1d840 
					 
					
						
						
							
							MdeModulePkg/Library: Revise HiiLib to check REST_STYLE  
						
						... 
						
						
						
						This change checks REST_STYLE flag.
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com >
Signed-off-by: Ting Ye <ting.ye@intel.com >
Signed-off-by: Siyuan Fu <siyuan.fu@intel.com >
Signed-off-by: Fan Wang <fan.wang@intel.com >
Signed-off-by: Abner Chang <abner.chang@hpe.com >
Cc: Dandan Bi <dandan.bi@intel.com >
Cc: Eric Dong <eric.dong@intel.com >
Cc: Nickle Wang <nickle.wang@hpe.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn > 
						
						
					 
					
						2020-11-11 00:53:00 +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 
						 
				 
			
				
					
						
							
							
								Jian J Wang 
							
						 
					 
					
						
						
							
						
						469293f8ee 
					 
					
						
						
							
							MdeModulePkg: Fix misuses of AllocateCopyPool  
						
						... 
						
						
						
						AllocateCopyPool(AllocationSize, *Buffer) will copy "AllocationSize" bytes of
memory from old "Buffer" to new allocated one. If "AllocationSize" is bigger
than size of "Buffer", heap memory overflow occurs during copy.
One solution is to allocate pool first then copy the necessary bytes to new
memory. Another is using ReallocatePool instead if old buffer will be freed
on spot.
Cc: Star Zeng <star.zeng@intel.com >
Cc: Eric Dong <eric.dong@intel.com >
Cc: Bi Dandan <dandan.bi@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jian J Wang <jian.j.wang@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Bi Dandan <dandan.bi@intel.com > 
						
						
					 
					
						2017-11-08 17:13:03 +08:00 
						 
				 
			
				
					
						
							
							
								Dandan Bi 
							
						 
					 
					
						
						
							
						
						95a7135191 
					 
					
						
						
							
							MdeModulePkg/UefiHiiLib: Validate question with bit fields  
						
						... 
						
						
						
						REF:https://bugzilla.tianocore.org/show_bug.cgi?id=545 
In UefiHiiLib, there are codes to validate the current setting of
questions, now update the logic to handle question with bit storage.
Cc: Eric Dong <eric.dong@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
Reviewed-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2017-09-21 16:17:41 +08:00 
						 
				 
			
				
					
						
							
							
								Bi, Dandan 
							
						 
					 
					
						
						
							
						
						1696b221b1 
					 
					
						
						
							
							MdeModulePkg/UefiHiiLib: Fix incorrect check for string length  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=681 
For string opcode,when checking the valid string length,
it should exclude the Null-terminated character.
And for string in NameValue storage, need to exclude
the varname and also need to convert the Config string
length to Unicode string length.
Cc: Eric Dong <eric.dong@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
Reviewed-by: Eric Dong <eric.dong@intel.com > 
						
						
					 
					
						2017-08-29 15:57:12 +08:00 
						 
				 
			
				
					
						
							
							
								Dandan Bi 
							
						 
					 
					
						
						
							
						
						fe4a28ccbf 
					 
					
						
						
							
							MdeModulePkg/UefiHiiLib:Fix incorrect comparison expression  
						
						... 
						
						
						
						Fix the incorrect comparison between pointer and constant zero character.
https://bugzilla.tianocore.org/show_bug.cgi?id=416 
V2: The pointer StringPtr points to a string returned
by ExtractConfig/ExportConfig, if it is NULL, function
InternalHiiIfrValueAction will return FALSE. So in
current usage model, the StringPtr can not be NULL before
using it, so we can add ASSERT here.
Cc: Eric Dong <eric.dong@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
Reviewed-by: Eric Dong <eric.dong@intel.com > 
						
						
					 
					
						2017-04-05 11:26:55 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
							
						
						16f6922709 
					 
					
						
						
							
							MdeModulePkg: Refine casting expression result to bigger size  
						
						... 
						
						
						
						There are cases that the operands of an expression are all with rank less
than UINT64/INT64 and the result of the expression is explicitly cast to
UINT64/INT64 to fit the target size.
An example will be:
UINT32 a,b;
// a and b can be any unsigned int type with rank less than UINT64, like
// UINT8, UINT16, etc.
UINT64 c;
c = (UINT64) (a + b);
Some static code checkers may warn that the expression result might
overflow within the rank of "int" (integer promotions) and the result is
then cast to a bigger size.
The commit refines codes by the following rules:
1). When the expression is possible to overflow the range of unsigned int/
int:
c = (UINT64)a + b;
2). When the expression will not overflow within the rank of "int", remove
the explicit type casts:
c = a + b;
3). When the expression will be cast to pointer of possible greater size:
UINT32 a,b;
VOID *c;
c = (VOID *)(UINTN)(a + b); --> c = (VOID *)((UINTN)a + b);
4). When one side of a comparison expression contains only operands with
rank less than UINT32:
UINT8 a;
UINT16 b;
UINTN c;
if ((UINTN)(a + b) > c) {...} --> if (((UINT32)a + b) > c) {...}
For rule 4), if we remove the 'UINTN' type cast like:
if (a + b > c) {...}
The VS compiler will complain with warning C4018 (signed/unsigned
mismatch, level 3 warning) due to promoting 'a + b' to type 'int'.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com > 
						
						
					 
					
						2017-03-06 14:33:20 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
							
						
						9f4048f7f8 
					 
					
						
						
							
							MdeModulePkg: Replace [Ascii|Unicode]ValueToString  
						
						... 
						
						
						
						It is the follow up of commits 51f0ceb..9e32e97 to replace
AsciiValueToString/UnicodeValueToString with
AsciiValueToStringS/UnicodeValueToStringS.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com > 
						
						
					 
					
						2017-03-02 09:58:11 +08:00 
						 
				 
			
				
					
						
							
							
								Gary Lin 
							
						 
					 
					
						
						
							
						
						3b28e7448d 
					 
					
						
						
							
							MdeModulePkg/Library: Fix typos in comments and variables  
						
						... 
						
						
						
						- servity -> severity
- TURE -> TRUE
- contiue -> continue
- Pepresentation -> Representation
- suported -> supported
- opints -> points
- sucessfully -> successfully
- hexidecimal -> hexadecimal
- Pacakge -> Package
- Libary -> Library
- successull -> successfully
- reseting -> resetting
- Retrive -> Retrieve
- dirver -> driver
- availible -> available
- chracter -> character
- seperator -> separator
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com > 
						
						
					 
					
						2016-10-27 09:11:19 +08:00 
						 
				 
			
				
					
						
							
							
								Bi, Dandan 
							
						 
					 
					
						
						
							
						
						ae9026ddfa 
					 
					
						
						
							
							MdeModulePkg/UefiHiiLib: Add error handling codes when AllocatePool fail  
						
						... 
						
						
						
						Cc: Eric Dong <eric.dong@intel.com >
Cc: Hao Wu <hao.a.wu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
Reviewed-by: Hao Wu <hao.a.wu@intel.com > 
						
						
					 
					
						2016-07-06 16:22:52 +08:00 
						 
				 
			
				
					
						
							
							
								Dandan Bi 
							
						 
					 
					
						
						
							
						
						d6cc284e6f 
					 
					
						
						
							
							MdeModulePkg:Modify the pointer type.  
						
						... 
						
						
						
						Previously the pointer type is EFI_IFR_FORM_SET, it is incorrect when
do pointer addition without conversion.Now change it to UINT8 type.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
Reviewed-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@18768  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-11-11 08:34:04 +00:00 
						 
				 
			
				
					
						
							
							
								Dandan Bi 
							
						 
					 
					
						
						
							
						
						8a4582838b 
					 
					
						
						
							
							MdeModulePkg:Add new API HiiGetFormSetFromHiiHandle into UefiHiiLib  
						
						... 
						
						
						
						This function is mainly through the Hii handle to get the formset opcode.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
Reviewed-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@18684  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-10-27 10:19:29 +00:00 
						 
				 
			
				
					
						
							
							
								Dandan Bi 
							
						 
					 
					
						
						
							
						
						2d3e4cd167 
					 
					
						
						
							
							MdeModulePkg:Fix the bug the incorrect change of StrCpyS function  
						
						... 
						
						
						
						The pointer to the destination string changed,the max length also changed.Previous change neglect this point.
And base on the code logic,we can use StrCatS to replace StrCpyS.Now this patch is to fix this bug.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
Reviewed-by: Eric Dong <eric.dong@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18497  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-09-17 07:21:22 +00:00 
						 
				 
			
				
					
						
							
							
								Dandan Bi 
							
						 
					 
					
						
						
							
						
						5ad66ec692 
					 
					
						
						
							
							MdeModulePkg:Use safe string functions  
						
						... 
						
						
						
						Replace unsafe String functions with new added safe string functions
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17724  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-06-29 02:36:31 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Dong 
							
						 
					 
					
						
						
							
						
						afc9bf796c 
					 
					
						
						
							
							MdeModulePkg: Enhance the check for numeric opcode with EFI_IFR_DISPLAY_INT_DEC attribute.  
						
						... 
						
						
						
						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@17345  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-05-06 12:30:13 +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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								erictian 
							
						 
					 
					
						
						
							
						
						02bbc6ee99 
					 
					
						
						
							
							MdeModulePkg:removes the unreachable ‘break’ instruction after a ‘return’ instruction in the switch().  
						
						... 
						
						
						
						Signed-off-by: Olivier Martin <olivier.martin@arm.com >
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@13778  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-09-29 02:44:33 +00:00 
						 
				 
			
				
					
						
							
							
								jljusten 
							
						 
					 
					
						
						
							
						
						7538d53684 
					 
					
						
						
							
							MdeModulePkg: Remove variables that are set, but not used  
						
						... 
						
						
						
						GCC 4.6 generates a warning when a variable is set,
but never used.
Signed-off-by: jljusten
Reviewed-by: lgao4
Reviewed-by: erictian
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12617  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-10-31 15:58:05 +00:00 
						 
				 
			
				
					
						
							
							
								sfu5 
							
						 
					 
					
						
						
							
						
						02a758cb0b 
					 
					
						
						
							
							Add pointer check for NULL before dereference it.  
						
						... 
						
						
						
						Signed-off-by: sfu5
Reviewed-by: xdu2
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12514  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-10-08 02:55:30 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						9c6595dca0 
					 
					
						
						
							
							Correct comments for NULL return value of HiiLib HiiAddPackages().  
						
						... 
						
						
						
						Signed-off-by: lgao4
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12366  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-09-16 08:53:03 +00:00 
						 
				 
			
				
					
						
							
							
								ydong10 
							
						 
					 
					
						
						
							
						
						81b618fe85 
					 
					
						
						
							
							Update ALTCFG reference from default name token to default ID.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11558  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-04-19 03:04:06 +00:00 
						 
				 
			
				
					
						
							
							
								mdkinney 
							
						 
					 
					
						
						
							
						
						9035e1189d 
					 
					
						
						
							
							Fix spelling error in comment  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11058  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-11-16 00:33:52 +00:00 
						 
				 
			
				
					
						
							
							
								hhuan13 
							
						 
					 
					
						
						
							
						
						19550383ac 
					 
					
						
						
							
							Fixed K9 scan issues.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10780  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-08-09 06:27:12 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						e22812c731 
					 
					
						
						
							
							Add three HiiLib APIs: HiiCreateTextOpCode, HiiCreateDateOpCode and HiiCreateTimeOpCode  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10544  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-05-27 02:54:25 +00:00 
						 
				 
			
				
					
						
							
							
								hhtian 
							
						 
					 
					
						
						
							
						
						cd5ebaa06d 
					 
					
						
						
							
							Update the copyright notice format  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10420  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-04-24 09:49:11 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						2573712e01 
					 
					
						
						
							
							Enhance SetupBrowser to support new UEFI HiiFormMap feature  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10069  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-02-25 10:10:59 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						84213069e9 
					 
					
						
						
							
							Correct comments to match function declaration.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9773  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-01-15 07:12:08 +00:00 
						 
				 
			
				
					
						
							
							
								rsun3 
							
						 
					 
					
						
						
							
						
						aa2614b728 
					 
					
						
						
							
							EFI_HII_DATABASE_PROTOCOL.NewPackageList() allows installation of multiple package lists with same package list GUID onto different handles. According, change behavior of the HII Library function HiiAddPackages() to be consistent with EFI_HII_DATABASE_PROTOCOL.NewPackageList().  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9452  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-11-20 02:34:21 +00:00 
						 
				 
			
				
					
						
							
							
								rsun3 
							
						 
					 
					
						
						
							
						
						7992c0b02d 
					 
					
						
						
							
							Change the behavior of the HII Library function HiiGetHiiHandles() when the PackageListGuid parameter is not NULL. The original behavior is that if this parameter is not NULL at most 1 HII Handle is returned. Behavior after change is if this parameter is not NULL zero or more HII Handles associated with PackageListGuid are returned, because it is possible that there are multiple package lists with same package list GUID in the HII Database.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9393  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-11-05 08:53:47 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						4e069e8b68 
					 
					
						
						
							
							Correct the typo in comments.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9383  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-10-30 07:08:22 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						62b658dd7f 
					 
					
						
						
							
							Fix the incorrect check for IFR OnfOf opcode.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9338  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-10-13 00:46:36 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						8567300ae4 
					 
					
						
						
							
							Fix K8 issues in HiiDataBase  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8325  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-05-18 12:12:56 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						1f1cb2f216 
					 
					
						
						
							
							Retire original HII APIs: IfrLibExtractDefault and ConstructConfigAltResp, which are replaced by HiiSetToDefaults API.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8319  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-05-18 03:26:54 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						76c2425177 
					 
					
						
						
							
							Update HiiDataBase to fix parsing Hii package error. Some HiiPackages have no varstore and question, they has no the built in default value.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8314  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-05-14 12:37:02 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						84f9a9ec8f 
					 
					
						
						
							
							1. Update the implementation of HII ConfigRouting Protocol in HiiDataBase module to follow new ECRs.  
						
						... 
						
						
						
						1) ConfigRouting Protocol ExtractConfig interface must return the default values built in IFR that were not returned by ConfigAccess.ExtractConfig.
  2) The parameters of ConfigRouting Protocol interfaces are clarified to the specific configuration string syntax.
2. Implement the last two HiiLib interfaces: HiiSetToDefaults and HiiValidateSettings.
3. Update DriverSample driver to use these two APIs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8313  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-05-14 07:06:06 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						278663ab10 
					 
					
						
						
							
							HiiLib exports HiiCreateRawOpCode API  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8216  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-04-30 05:58:47 +00:00