X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2FCommonDataClass%2FCommonClass.py;h=5e908a6edf2ae75618622bb943c1c89ecb914631;hp=e226f1b0d6b2661ea4398b44e6b961322373f89e;hb=5b97eb4c35316cbe8235ae526209263da818e1a4;hpb=b303ea726e1c8ed240dad2bce54821318567eab3 diff --git a/BaseTools/Source/Python/CommonDataClass/CommonClass.py b/BaseTools/Source/Python/CommonDataClass/CommonClass.py index e226f1b0d6..5e908a6edf 100644 --- a/BaseTools/Source/Python/CommonDataClass/CommonClass.py +++ b/BaseTools/Source/Python/CommonDataClass/CommonClass.py @@ -1,8 +1,8 @@ ## @file # This file is used to define common items of class object # -# Copyright (c) 2007, Intel Corporation -# All rights reserved. This program and the accompanying materials +# Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.
+# This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at # http://opensource.org/licenses/bsd-license.php @@ -38,7 +38,7 @@ def GenerateHelpText(Text, Lang): # ALWAYS_CONSUMED | SOMETIMES_CONSUMED | ALWAYS_PRODUCED | SOMETIMES_PRODUCED | TO_START | BY_START | PRIVATE # @var FeatureFlag: To store value for FeatureFlag # @var SupArchList: To store value for SupArchList, selection scope is in below list -# EBC | IA32 | X64 | IPF | ARM | PPC +# EBC | IA32 | X64 | IPF | ARM | PPC | AARCH64 # @var HelpText: To store value for HelpText # class CommonClass(object): @@ -53,7 +53,7 @@ class CommonClass(object): self.HelpText = HelpText self.HelpTextList = [] -## CommonClass +## CommonHeaderClass # # This class defined common items used in Module/Platform/Package files # @@ -270,7 +270,7 @@ class PpiClass(GuidProtocolPpiCommonClass): # class SkuInfoClass(object): def __init__(self, SkuIdName = '', SkuId = '', VariableName = '', VariableGuid = '', VariableOffset = '', - HiiDefaultValue = '', VpdOffset = '', DefaultValue = '', VariableGuidValue = ''): + HiiDefaultValue = '', VpdOffset = '', DefaultValue = '', VariableGuidValue = '', VariableAttribute = ''): self.SkuIdName = SkuIdName self.SkuId = SkuId @@ -282,6 +282,7 @@ class SkuInfoClass(object): self.VariableGuidValue = VariableGuidValue self.VariableOffset = VariableOffset self.HiiDefaultValue = HiiDefaultValue + self.VariableAttribute = VariableAttribute # # Used by Vpd @@ -301,7 +302,7 @@ class SkuInfoClass(object): # @retval Rtn Formatted String # def __str__(self): - Rtn = Rtn = 'SkuId = ' + str(self.SkuId) + "," + \ + Rtn = 'SkuId = ' + str(self.SkuId) + "," + \ 'SkuIdName = ' + str(self.SkuIdName) + "," + \ 'VariableName = ' + str(self.VariableName) + "," + \ 'VariableGuid = ' + str(self.VariableGuid) + "," + \ @@ -400,7 +401,7 @@ class PcdClass(CommonClass): # @var TagName: To store value for TagName # @var ToolCode: To store value for ToolCode # @var SupArchList: To store value for SupArchList, selection scope is in below list -# EBC | IA32 | X64 | IPF | ARM | PPC +# EBC | IA32 | X64 | IPF | ARM | PPC | AARCH64 # class BuildOptionClass(IncludeStatementClass): def __init__(self, ToolChainFamily = '', ToolChain = '', Option = ''):