wenyi,xie via groups.io 
							
						 
					 
					
						
						
							
						
						88e47d1959 
					 
					
						
						
							
							BaseTools/EfiRom: remove redundant checking of argc  
						
						... 
						
						
						
						As the condition of while statement is argc > 0, so argc < 1 will always
be false, it's redundant.
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Yuwei Chen <yuwei.chen@intel.com >
Signed-off-by: Wenyi Xie <xiewenyi2@huawei.com >
Reviewed-by: Bob Feng <bob.c.feng@intel.com > 
						
						
					 
					
						2020-12-22 11:22:36 +00:00 
						 
				 
			
				
					
						
							
							
								Michael D Kinney 
							
						 
					 
					
						
						
							
						
						2e351cbe8e 
					 
					
						
						
							
							BaseTools: 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: Bob Feng <bob.c.feng@intel.com > 
					
						2019-04-09 09:10:20 -07:00 
						 
				 
			
				
					
						
							
							
								Antoine Coeur 
							
						 
					 
					
						
						
							
						
						fb0b35e05f 
					 
					
						
						
							
							BaseTools: Various typo  
						
						... 
						
						
						
						Various typo in BaseTools.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Coeur <coeur@gmx.fr >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2019-02-14 10:02:28 +08:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
							
						
						f7496d7173 
					 
					
						
						
							
							BaseTools: 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 >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-07-09 10:25:47 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
							
						
						52e8c56838 
					 
					
						
						
							
							BaseTools/EfiRom: Add/refine boundary checks for strcpy/strcat calls  
						
						... 
						
						
						
						Add checks to ensure when the destination string buffer is of fixed
size, the strcpy/strcat functions calls will not access beyond the
boundary.
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2017-12-25 09:54:22 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
							
						
						31c295e71a 
					 
					
						
						
							
							BaseTools/EfiRom: Refine the logic in main()  
						
						... 
						
						
						
						This commit refines the logic for main(). It makes the logic more
straightforward to prevent possible mis-reports by static code
checkers.
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2017-12-25 09:53:37 +08:00 
						 
				 
			
				
					
						
							
							
								Daniel Verkamp 
							
						 
					 
					
						
						
							
						
						9f3a38cdfb 
					 
					
						
						
							
							BaseTools/EfiRom: Add multiple device id support  
						
						... 
						
						
						
						This is a patch to implement writing and dumping of PCI 3.0 Device ID
lists in EFI option ROMs in the EfiRom tool.
Using this modification, multiple space-delimited device IDs can be
specified after -i.  The first device in the list is used for the main
PCI ROM header Device ID field and is also written in the list.  The
list is only written when more than one device ID has been specified;
when only one device ID is given on the command line, the EfiRom output
should be identical to the current code.
Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=666 
Cc: Liming Gao <liming.gao@intel.com >
Cc: Tomas Pilar <tpilar@solarflare.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2017-08-26 07:19:03 +08:00 
						 
				 
			
				
					
						
							
							
								Yonghong Zhu 
							
						 
					 
					
						
						
							
						
						ef6cd66ae4 
					 
					
						
						
							
							BaseTools/EfiRom: Fix a segmentation fault from vsprintf()/vfprintf()  
						
						... 
						
						
						
						Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=534 
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2017-08-01 10:52:01 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
							
						
						1e124de018 
					 
					
						
						
							
							BaseTools/EfiRom: Fix file handles not being closed  
						
						... 
						
						
						
						Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2016-11-08 16:37:54 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
							
						
						fb4ea38c46 
					 
					
						
						
							
							BaseTools/EfiRom: Fix potential memory leak  
						
						... 
						
						
						
						Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2016-11-08 16:37:30 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
							
						
						47affb48e9 
					 
					
						
						
							
							BaseTools/EfiRom: Add checks for user/file inputs  
						
						... 
						
						
						
						Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2016-11-08 16:37:09 +08:00 
						 
				 
			
				
					
						
							
							
								Hao Wu 
							
						 
					 
					
						
						
							
						
						02875ba228 
					 
					
						
						
							
							BaseTools/EfiRom: Avoid possible NULL pointer dereference  
						
						... 
						
						
						
						Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2016-11-08 16:36:12 +08:00 
						 
				 
			
				
					
						
							
							
								Gary Lin 
							
						 
					 
					
						
						
							
						
						99e55970ff 
					 
					
						
						
							
							BaseTools: Fix typos in comments and variables  
						
						... 
						
						
						
						- Pacakge -> Package
- outputed -> outputted
- successull -> successfully
- Libary -> Library
- Pointion -> Position
- paramter -> parameter
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2016-10-20 11:18:27 +08:00 
						 
				 
			
				
					
						
							
							
								Yingke Liu 
							
						 
					 
					
						
						
							
						
						97fa0ee9b1 
					 
					
						
						
							
							License header updated to match correct format.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yingke Liu <yingke.d.liu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15971  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2014-08-28 13:53:34 +00:00 
						 
				 
			
				
					
						
							
							
								Hess Chen 
							
						 
					 
					
						
						
							
						
						1be2ed90a2 
					 
					
						
						
							
							There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hess Chen <hesheng.chen@intel.com >
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15809  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2014-08-15 03:06:48 +00:00 
						 
				 
			
				
					
						
							
							
								Gao, Liming 
							
						 
					 
					
						
						
							
						
						2bc3256ca6 
					 
					
						
						
							
							Sync BaseTool trunk (version r2640) into EDKII BaseTools.  
						
						... 
						
						
						
						Signed-off-by: Gao, Liming <liming.gao@intel.com >
Reviewed-by: Liu, Jiang A <jiang.a.liu@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15089  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2014-01-10 05:25:50 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						d0acc87a41 
					 
					
						
						
							
							Sync BaseTool trunk (version r2460) into EDKII BaseTools.  The change mainly includes:  
						
						... 
						
						
						
						1. Support use expression as DSC file PCD value.
  2. Update FDF parser to fix bug to get complete macro value.
  3. Fix bug to replace SET statement macro and evaluate SET statement PCD value in FDF file.
  4. Fix a bug for MACRO defined in conditional block cannot be processed correctly
Signed-off-by: lgao4
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12827  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-12-07 06:19:28 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						b36d134faf 
					 
					
						
						
							
							Sync BaseTools Branch (version r2321) to EDKII main trunk.  
						
						... 
						
						
						
						Signed-off-by: lgao4
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12372  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-09-18 12:17:25 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						40d841f6a8 
					 
					
						
						
							
							Sync EDKII BaseTools to BaseTools project r1971  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10502  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-05-18 05:04:32 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						52302d4dee 
					 
					
						
						
							
							Sync EDKII BaseTools to BaseTools project r1903.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10123  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-02-28 23:39:39 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
							
						
						fd171542e0 
					 
					
						
						
							
							Sync basetools' source and binary files with r1707 of the basetools project.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9257  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-09-11 03:14:43 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						30fdf1140b 
					 
					
						
						
							
							Check In tool source code based on Build tool project revision r1655.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8964  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-07-17 09:10:31 +00:00