X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2FCommonDataClass%2FFdfClass.py;h=96a630f4d2cc94525371760fdff8b9e638a634c3;hp=a6953b8c5ac06eda99a4ddf279fd06257b23c91b;hb=92beb1e4c73a40a708c7c0cade5c7cee314b3887;hpb=52302d4dee589a5df43a464420c9fe68ba83937d diff --git a/BaseTools/Source/Python/CommonDataClass/FdfClass.py b/BaseTools/Source/Python/CommonDataClass/FdfClass.py index a6953b8c5a..96a630f4d2 100644 --- a/BaseTools/Source/Python/CommonDataClass/FdfClass.py +++ b/BaseTools/Source/Python/CommonDataClass/FdfClass.py @@ -1,9 +1,9 @@ ## @file # classes represent data in FDF # -# Copyright (c) 2007 - 2010, Intel Corporation +# Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.
# -# All rights reserved. This program and the accompanying materials +# 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 @@ -27,7 +27,7 @@ class FDClassObject: self.BaseAddressPcd = None self.Size = None self.SizePcd = None - self.ErasePolarity = '1' + self.ErasePolarity = None # 3-tuple list (blockSize, numBlocks, pcd) self.BlockSizeList = [] # DefineVarDict[var] = value @@ -58,6 +58,7 @@ class FvClassObject: # FvAttributeDict[attribute] = TRUE/FALSE (1/0) self.FvAttributeDict = {} self.FvNameGuid = None + self.FvNameString = None self.AprioriSectionList = [] self.FfsList = [] self.BsBaseAddress = None @@ -249,6 +250,7 @@ class GuidSectionClassObject (SectionClassObject) : self.SectionType = None self.ProcessRequired = False self.AuthStatusValid = False + self.ExtraHeaderSize = -1 self.FvAddr = [] self.FvParentAddr = None self.IncludeFvSection = False @@ -359,6 +361,7 @@ class CapsuleClassObject : # TokensDict[var] = value self.TokensDict = {} self.CapsuleDataList = [] + self.FmpPayloadList = [] ## VTF data in FDF #