Gary Lin 
							
						 
					 
					
						
						
							
						
						86379ac48b 
					 
					
						
						
							
							BaseTools: Replace StringIO.StringIO with io.BytesIO  
						
						 
						
						... 
						
						
						
						Replace StringIO.StringIO with io.BytesIO to be compatible with python3.
This commit also removes "import StringIO" from those python scripts
that don't really use it.
Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Gary Lin <glin@suse.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-06-27 16:33:28 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						d0a0c52c22 
					 
					
						
						
							
							BaseTools: standardize GUID and pack size  
						
						 
						
						... 
						
						
						
						currently GUID packing and pack size determination is spread
throughout the code. This introduces a shared function and dict and
routes all code paths through them.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-05-04 13:07:34 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						92a4eebb37 
					 
					
						
						
							
							BaseTools: AutoGen - refactor out a useless class  
						
						 
						
						... 
						
						
						
						this class was never instantiated.  the static function was called.
save the function, remove the rest.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-05-04 13:03:07 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						0caa769dbb 
					 
					
						
						
							
							BaseTools: AutoGen - refactor out a list  
						
						 
						
						... 
						
						
						
						the lists were used in __init__ then converted to sets
instead just use the sets from the begining
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-05-04 13:03:06 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						def89ed025 
					 
					
						
						
							
							BaseTools: AutoGen - refactor out functions only called in __init__  
						
						 
						
						... 
						
						
						
						Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-05-04 13:03:06 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						5565a8c4d2 
					 
					
						
						
							
							BaseTools: move PCD size calculation functions to PcdClassObject  
						
						 
						
						... 
						
						
						
						move both GetPcdMaxSize and GetPcdSize to the PcdClassObject.
fix MAX_SIZE_TYPE to have int values
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-05-04 13:03:05 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						18011927b1 
					 
					
						
						
							
							BaseTools: this function has no purpose.  
						
						 
						
						... 
						
						
						
						it looks like a old POC of the concepts then used to make the classes
in the file.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-05-04 13:02:59 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						b7b51025b9 
					 
					
						
						
							
							BaseTools: check before accessing members in __eq__  
						
						 
						
						... 
						
						
						
						minimize risk for exceptions.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-05-04 13:02:58 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						a7360838d7 
					 
					
						
						
							
							BaseTools: AutoGen - update to remove duplicate constant value  
						
						 
						
						... 
						
						
						
						PCD size by type is shared.  just use it.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-05-04 13:02:58 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Carsey, Jaben 
							
						 
					 
					
						
						
							
						
						656d2539be 
					 
					
						
						
							
							BaseTools: replace 'UINT8','UINT16','UINT32','UINT64','VOID*' with shared constants.  
						
						 
						
						... 
						
						
						
						Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
						
						
					 
					
						2018-04-23 11:11:20 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Bob Feng 
							
						 
					 
					
						
						
							
						
						072418e553 
					 
					
						
						
							
							BaseTools: Fix build fail when the number in validlist is long type.  
						
						 
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Bob Feng" <bob.c.feng@intel.com >
Reviewed-by: "Chen, Hesheng" <hesheng.chen@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18256  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-08-21 01:09:16 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Bob Feng 
							
						 
					 
					
						
						
							
						
						82a6a9605c 
					 
					
						
						
							
							BaseTools/Build: Add SDL support  
						
						 
						
						... 
						
						
						
						1.BaseTool add ATTRIBUTE (+/-RT, RO) support in PCD declaration in DSC file
2.BaseTool collect valid PCD value in DEC file and generate data base for runtime sanity check
3.BaseTool support SetPcd error.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Bob Feng" <bob.c.feng@intel.com >
Reviewed-by: "Chen, Hesheng" <hesheng.chen@intel.com >
Reviewed-by: "Liu, Yingke D" <yingke.d.liu@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17158  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-04-10 06:59:47 +00:00