GenFds Tool: Add FdfClassObject.
[people/mcb30/basetools.git] / Source / Python / GenFds / Fv.py
index 5ca4579..9354217 100644 (file)
@@ -3,27 +3,28 @@ import AprioriSection
 from GenFdsGlobalVariable import GenFdsGlobalVariable\r
 import os\r
 import subprocess\r
+from CommonDataClass.FdfClassObject import FvClassObject\r
 \r
 T_CHAR_LF = '\n'\r
 \r
-class FV:\r
+class FV (FvClassObject):\r
     def __init__(self):\r
-        self.UiFvName = None\r
-        self.CreateFileName = None\r
-        # 3-tuple list (blockSize, numBlocks, pcd)\r
-        self.BlockSizeList = []\r
-        # DefineVarDict[var] = value\r
-        self.DefineVarDict = {}\r
-        # SetVarDict[var] = value\r
-        self.SetVarDict = {}\r
-        self.FvAlignment = None\r
-        # FvAttributeDict[attribute] = TRUE/FALSE (1/0)\r
-        self.FvAttributeDict = {}\r
-##        self.FvAttributeset = None\r
-##        self.FvAttributeClear = None\r
-        self.AprioriSection = None\r
-        self.FfsList = []\r
-        \r
+##        self.UiFvName = None\r
+##        self.CreateFileName = None\r
+##        # 3-tuple list (blockSize, numBlocks, pcd)\r
+##        self.BlockSizeList = []\r
+##        # DefineVarDict[var] = value\r
+##        self.DefineVarDict = {}\r
+##        # SetVarDict[var] = value\r
+##        self.SetVarDict = {}\r
+##        self.FvAlignment = None\r
+##        # FvAttributeDict[attribute] = TRUE/FALSE (1/0)\r
+##        self.FvAttributeDict = {}\r
+####        self.FvAttributeset = None\r
+####        self.FvAttributeClear = None\r
+##        self.AprioriSection = None\r
+##        self.FfsList = []\r
+        FvClassObject.__init__(self)\r
         self.FvInfFile = None\r
         self.BaseAddress = None\r
         \r