BaseTools: Support Structure PCD value inherit between the different SKUs
https://bugzilla.tianocore.org/show_bug.cgi?id=543 Structure PCD field value can inherit between the different SKUIds. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Feng Bob C <bob.c.feng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@ -270,19 +270,22 @@ class PpiClass(GuidProtocolPpiCommonClass):
|
||||
#
|
||||
class SkuInfoClass(object):
|
||||
def __init__(self, SkuIdName = '', SkuId = '', VariableName = '', VariableGuid = '', VariableOffset = '',
|
||||
HiiDefaultValue = '', VpdOffset = '', DefaultValue = '', VariableGuidValue = '', VariableAttribute = ''):
|
||||
HiiDefaultValue = '', VpdOffset = '', DefaultValue = '', VariableGuidValue = '', VariableAttribute = '', DefaultStore = None):
|
||||
self.SkuIdName = SkuIdName
|
||||
self.SkuId = SkuId
|
||||
|
||||
#
|
||||
# Used by Hii
|
||||
#
|
||||
if DefaultStore is None:
|
||||
DefaultStore = {}
|
||||
self.VariableName = VariableName
|
||||
self.VariableGuid = VariableGuid
|
||||
self.VariableGuidValue = VariableGuidValue
|
||||
self.VariableOffset = VariableOffset
|
||||
self.HiiDefaultValue = HiiDefaultValue
|
||||
self.VariableAttribute = VariableAttribute
|
||||
self.DefaultStoreDict = DefaultStore
|
||||
|
||||
#
|
||||
# Used by Vpd
|
||||
|
Reference in New Issue
Block a user