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>
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
## SkuInfoClass
|
||||
#
|
||||
# This class defined SkuInfo item used in Module/Platform/Package files
|
||||
#
|
||||
#
|
||||
# @param object: Inherited from object class
|
||||
# @param SkuIdName: Input value for SkuIdName, default is ''
|
||||
# @param SkuId: Input value for SkuId, default is ''
|
||||
@ -35,11 +35,11 @@
|
||||
# @var DefaultValue: To store value for DefaultValue
|
||||
#
|
||||
class SkuInfoClass(object):
|
||||
def __init__(self, SkuIdName = '', SkuId = '', VariableName = '', VariableGuid = '', VariableOffset = '',
|
||||
def __init__(self, SkuIdName = '', SkuId = '', VariableName = '', VariableGuid = '', VariableOffset = '',
|
||||
HiiDefaultValue = '', VpdOffset = '', DefaultValue = '', VariableGuidValue = '', VariableAttribute = '', DefaultStore = None):
|
||||
self.SkuIdName = SkuIdName
|
||||
self.SkuId = SkuId
|
||||
|
||||
|
||||
#
|
||||
# Used by Hii
|
||||
#
|
||||
@ -52,17 +52,17 @@ class SkuInfoClass(object):
|
||||
self.HiiDefaultValue = HiiDefaultValue
|
||||
self.VariableAttribute = VariableAttribute
|
||||
self.DefaultStoreDict = DefaultStore
|
||||
|
||||
|
||||
#
|
||||
# Used by Vpd
|
||||
#
|
||||
self.VpdOffset = VpdOffset
|
||||
|
||||
|
||||
#
|
||||
# Used by Default
|
||||
#
|
||||
self.DefaultValue = DefaultValue
|
||||
|
||||
|
||||
## Convert the class to a string
|
||||
#
|
||||
# Convert each member of the class to string
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# classes represent data in FDF
|
||||
#
|
||||
# Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -83,7 +83,7 @@ class RegionClassObject:
|
||||
|
||||
## FFS data in FDF
|
||||
#
|
||||
#
|
||||
#
|
||||
class FfsClassObject:
|
||||
## The constructor
|
||||
#
|
||||
@ -98,7 +98,7 @@ class FfsClassObject:
|
||||
|
||||
## FILE statement data in FDF
|
||||
#
|
||||
#
|
||||
#
|
||||
class FileStatementClassObject (FfsClassObject) :
|
||||
## The constructor
|
||||
#
|
||||
@ -149,7 +149,7 @@ class AprioriSectionClassObject:
|
||||
|
||||
## section data in FDF
|
||||
#
|
||||
#
|
||||
#
|
||||
class SectionClassObject:
|
||||
## The constructor
|
||||
#
|
||||
@ -157,10 +157,10 @@ class SectionClassObject:
|
||||
#
|
||||
def __init__(self):
|
||||
self.Alignment = None
|
||||
|
||||
|
||||
## Depex expression section in FDF
|
||||
#
|
||||
#
|
||||
#
|
||||
class DepexSectionClassObject (SectionClassObject):
|
||||
## The constructor
|
||||
#
|
||||
@ -186,7 +186,7 @@ class CompressSectionClassObject (SectionClassObject) :
|
||||
|
||||
## Data section data in FDF
|
||||
#
|
||||
#
|
||||
#
|
||||
class DataSectionClassObject (SectionClassObject):
|
||||
## The constructor
|
||||
#
|
||||
@ -220,7 +220,7 @@ class EfiSectionClassObject (SectionClassObject):
|
||||
|
||||
## FV image section data in FDF
|
||||
#
|
||||
#
|
||||
#
|
||||
class FvImageSectionClassObject (SectionClassObject):
|
||||
## The constructor
|
||||
#
|
||||
@ -237,7 +237,7 @@ class FvImageSectionClassObject (SectionClassObject):
|
||||
|
||||
## GUIDed section data in FDF
|
||||
#
|
||||
#
|
||||
#
|
||||
class GuidSectionClassObject (SectionClassObject) :
|
||||
## The constructor
|
||||
#
|
||||
@ -270,7 +270,7 @@ class UiSectionClassObject (SectionClassObject):
|
||||
|
||||
## Version section data in FDF
|
||||
#
|
||||
#
|
||||
#
|
||||
class VerSectionClassObject (SectionClassObject):
|
||||
## The constructor
|
||||
#
|
||||
@ -305,7 +305,7 @@ class RuleClassObject :
|
||||
|
||||
## Complex rule data in FDF
|
||||
#
|
||||
#
|
||||
#
|
||||
class RuleComplexFileClassObject(RuleClassObject) :
|
||||
## The constructor
|
||||
#
|
||||
@ -343,7 +343,7 @@ class RuleFileExtensionClassObject(RuleClassObject):
|
||||
|
||||
## Capsule data in FDF
|
||||
#
|
||||
#
|
||||
#
|
||||
class CapsuleClassObject :
|
||||
## The constructor
|
||||
#
|
||||
@ -380,7 +380,7 @@ class VtfClassObject :
|
||||
|
||||
## VTF component data in FDF
|
||||
#
|
||||
#
|
||||
#
|
||||
class ComponentStatementClassObject :
|
||||
## The constructor
|
||||
#
|
||||
@ -396,7 +396,7 @@ class ComponentStatementClassObject :
|
||||
self.CompSym = None
|
||||
self.CompSize = None
|
||||
self.FilePos = None
|
||||
|
||||
|
||||
## OptionROM data in FDF
|
||||
#
|
||||
#
|
||||
@ -408,4 +408,4 @@ class OptionRomClassObject:
|
||||
def __init__(self):
|
||||
self.DriverName = None
|
||||
self.FfsList = []
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user