1. Fix a bug of StrGather tool for a special case when defining same string with...
authorhche10x <hche10x@7335b38e-4728-0410-8992-fb3ffe349368>
Thu, 17 Jan 2008 01:12:46 +0000 (01:12 +0000)
committerhche10x <hche10x@7335b38e-4728-0410-8992-fb3ffe349368>
Thu, 17 Jan 2008 01:12:46 +0000 (01:12 +0000)
2. Move table related files of ECC to a single directory and then these files can be re-used by other tools
3. Move DataClass.py from ECC directory to CommonDataClass directory

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@945 7335b38e-4728-0410-8992-fb3ffe349368

19 files changed:
Source/Python/AutoGen/StrGather.py
Source/Python/AutoGen/UniClassObject.py
Source/Python/Common/String.py
Source/Python/CommonDataClass/DataClass.py [moved from Source/Python/Ecc/DataClass.py with 91% similarity]
Source/Python/Ecc/Database.py
Source/Python/Ecc/c.py
Source/Python/Table/Table.py [moved from Source/Python/Ecc/Table.py with 94% similarity]
Source/Python/Table/Table.pyc [new file with mode: 0644]
Source/Python/Table/TableDataModel.py [moved from Source/Python/Ecc/TableDataModel.py with 94% similarity]
Source/Python/Table/TableDataModel.pyc [new file with mode: 0644]
Source/Python/Table/TableDsc.py [new file with mode: 0644]
Source/Python/Table/TableDsc.pyc [new file with mode: 0644]
Source/Python/Table/TableFile.py [moved from Source/Python/Ecc/TableFile.py with 95% similarity]
Source/Python/Table/TableFile.pyc [new file with mode: 0644]
Source/Python/Table/TableFunction.py [moved from Source/Python/Ecc/TableFunction.py with 96% similarity]
Source/Python/Table/TableIdentifier.py [moved from Source/Python/Ecc/TableIdentifier.py with 96% similarity]
Source/Python/Table/TablePcd.py [moved from Source/Python/Ecc/TablePcd.py with 96% similarity]
Source/Python/Table/__init__.py [new file with mode: 0644]
Source/Python/Table/__init__.pyc [new file with mode: 0644]

index f9c9603..a7426a7 100644 (file)
@@ -271,11 +271,18 @@ def CreateCFileContent(BaseName, UniObjectClass):
     for IndexI in range(len(UniObjectClass.LanguageDef)):\r
         Language = UniObjectClass.LanguageDef[IndexI][0]\r
         LangPrintName = UniObjectClass.LanguageDef[IndexI][1]\r
+        print len(UniObjectClass.OrderedStringList[UniObjectClass.LanguageDef[IndexI][0]])\r
         \r
         StrStringValue = ''\r
         ArrayLength = 0\r
         NumberOfUseOhterLangDef = 0\r
-        for Item in UniObjectClass.OrderedStringList[Language]:\r
+        Index = 0\r
+        for IndexJ in range(1, len(UniObjectClass.OrderedStringList[UniObjectClass.LanguageDef[IndexI][0]])):\r
+            print IndexJ\r
+            Item = UniObjectClass.FindByToken(IndexJ, Language)\r
+            print Item\r
+            #Item = UniObjectClass.OrderedStringList[UniObjectClass.LanguageDef[IndexI][0]][IndexJ]\r
+        #for Item in UniObjectClass.OrderedStringList[Language]:\r
             Name = Item.StringName\r
             Value = Item.StringValueByteList\r
             Referenced = Item.Referenced\r
@@ -285,12 +292,15 @@ def CreateCFileContent(BaseName, UniObjectClass):
             \r
             if UseOtherLangDef != '' and Referenced:\r
                 NumberOfUseOhterLangDef = NumberOfUseOhterLangDef + 1\r
+                Index = Index + 1\r
             else:\r
                 if NumberOfUseOhterLangDef > 0:\r
                     StrStringValue = WriteLine(StrStringValue, CreateArrayItem([StringSkipType, DecToHexStr(NumberOfUseOhterLangDef, 2), EFI_HII_SIBT_END]))\r
                     NumberOfUseOhterLangDef = 0\r
                     ArrayLength = ArrayLength + 3\r
                 if Referenced and Item.Token > 0:\r
+                    Index = Index + 1\r
+                    StrStringValue = WriteLine(StrStringValue, "// %s: %s:%s" % (DecToHexStr(Index, 4), Name, DecToHexStr(Token, 4)))\r
                     StrStringValue = Write(StrStringValue, CreateCFileStringValue(Value))\r
                     Offset = Offset + Length\r
                     ArrayLength = ArrayLength + Item.Length + 1 # 1 is for the length of string type        \r
@@ -478,38 +488,13 @@ if __name__ == '__main__':
     EdkLogger.info('start')\r
 \r
     UniFileList = [\r
-#        r'C:\SVN\EDKII\Nt32Pkg\PlatformBdsDxe\Generic\FrontPageStrings.uni',\r
-#        r'C:\SVN\EDKII\Nt32Pkg\PlatformBdsDxe\Generic\Strings.uni',\r
-#        r'C:\SVN\EDKII\Nt32Pkg\PlatformBdsDxe\Generic\DeviceMngr\DeviceManagerStrings.uni',\r
-#        r'C:\SVN\EDKII\Nt32Pkg\PlatformBdsDxe\Generic\BootMngr\BootManagerStrings.uni',\r
-#        r'C:\SVN\EDKII\Nt32Pkg\PlatformBdsDxe\Generic\FrontPageStrings.uni',\r
-#        r'C:\SVN\EDKII\Nt32Pkg\PlatformBdsDxe\Generic\BootMaint\bmstring.uni'\r
-         r'C:\\temp\\Edk\\Sample\\Universal\\UserInterface\\UefiSetupBrowser\\Dxe\\DriverSample\\InventoryStrings.uni',\r
-         r'C:\\temp\\Edk\\Sample\\Universal\\UserInterface\\UefiSetupBrowser\\Dxe\\DriverSample\\VfrStrings.uni'\r
+         r'C:\\Edk\\Strings2.uni',\r
+         r'C:\\Edk\\Strings.uni'\r
     ]\r
 \r
     IncludeList = [\r
-        r'C:\SVN\EDKII\Nt32Pkg\PlatformBdsDxe\Generic\BootMngr',\r
-        r'C:\SVN\EDKII\Nt32Pkg\PlatformBdsDxe\Generic',\r
-        r'C:\SVN\EDKII\Nt32Pkg\PlatformBdsDxe\Generic\DeviceMngr',\r
-        r'C:\SVN\EDKII\Nt32Pkg\PlatformBdsDxe\Generic\BootMaint',\r
-        r'C:\SVN\EDKII\Nt32Pkg\PlatformBdsDxe',\r
-        r'C:\SVN\EDKII\Build\NT32\DEBUG_MYTOOLS\IA32\Nt32Pkg\PlatformBdsDxe\PlatformBdsDxe\DEBUG',\r
-        r'C:\SVN\EDKII\Nt32Pkg',\r
-        r'C:\SVN\EDKII\Nt32Pkg\Include',\r
-        r'C:\SVN\EDKII\MdePkg',\r
-        r'C:\SVN\EDKII\MdePkg\Include',\r
-        r'C:\SVN\EDKII\MdePkg\Include\Ia32',\r
-        r'C:\SVN\EDKII\IntelFrameworkPkg',\r
-        r'C:\SVN\EDKII\IntelFrameworkPkg\Include',\r
-        r'C:\SVN\EDKII\IntelFrameworkModulePkg',\r
-        r'C:\SVN\EDKII\IntelFrameworkModulePkg\Include',\r
-        r'C:\SVN\EDKII\MdeModulePkg',\r
-        r'C:\SVN\EDKII\MdeModulePkg\Include',\r
-        r'C:\\temp\\Edk\\Sample\\Universal\\UserInterface\\UefiSetupBrowser\\Dxe\\DriverSample'\r
+        r'C:\\Edk'\r
     ]\r
-    \r
-    \r
 \r
     SkipList = ['.inf', '.uni']\r
     BaseName = 'DriverSample'\r
index 16d22e7..1d733e7 100644 (file)
@@ -114,7 +114,8 @@ class StringDefClassObject(object):
         return repr(self.StringName) + ' ' + \\r
                repr(self.Token) + ' ' + \\r
                repr(self.Referenced) + ' ' + \\r
-               repr(self.StringValue)\r
+               repr(self.StringValue) + ' ' + \\r
+               repr(self.UseOtherLangDef)\r
 \r
 ## UniFileClassObject\r
 #\r
@@ -352,7 +353,7 @@ class UniFileClassObject(object):
                     Item.Referenced = True\r
                     break\r
     #\r
-    # Search the string in language definition\r
+    # Search the string in language definition by Name\r
     #\r
     def FindStringValue(self, Name, Lang):\r
         for Item in self.OrderedStringList[Lang]:\r
@@ -360,6 +361,16 @@ class UniFileClassObject(object):
                 return Item\r
 \r
         return None\r
+    \r
+    #\r
+    # Search the string in language definition by Token\r
+    #\r
+    def FindByToken(self, Token, Lang):\r
+        for Item in self.OrderedStringList[Lang]:\r
+            if Item.Token == Token:\r
+                return Item\r
+\r
+        return None\r
 \r
     #\r
     # Re-order strings and re-generate tokens\r
@@ -379,28 +390,39 @@ class UniFileClassObject(object):
                 for IndexJ in range(0, len(self.LanguageDef)):\r
                     LangFind = self.LanguageDef[IndexJ][0]\r
                     if self.FindStringValue(Name, LangFind) == None:\r
+                        EdkLogger.debug(EdkLogger.DEBUG_5, Name)\r
                         Token = len(self.OrderedStringList[LangFind])\r
                         self.AddStringToList(Name, LangFind, Value, Token, Referenced, LangKey, Index)\r
 \r
         #\r
         # Retoken\r
         #\r
-        for Lang in self.LanguageDef:\r
-            LangName = Lang[0]\r
-            ReferencedStringList = []\r
-            NotReferencedStringList = []\r
-            Token = 0\r
-            for Item in self.OrderedStringList[LangName]:\r
-                if Item.Referenced == True:\r
-                    Item.Token = Token\r
-                    ReferencedStringList.append(Item)\r
-                    Token = Token + 1\r
-                else:\r
-                    NotReferencedStringList.append(Item)\r
-            self.OrderedStringList[LangName] = ReferencedStringList\r
-            for Index in range(len(NotReferencedStringList)):\r
-                NotReferencedStringList[Index].Token = Token + Index\r
-                self.OrderedStringList[LangName].append(NotReferencedStringList[Index])\r
+        # First re-token the first language\r
+        LangName = self.LanguageDef[0][0]\r
+        ReferencedStringList = []\r
+        NotReferencedStringList = []\r
+        Token = 0\r
+        for Item in self.OrderedStringList[LangName]:\r
+            if Item.Referenced == True:\r
+                Item.Token = Token\r
+                ReferencedStringList.append(Item)\r
+                Token = Token + 1\r
+            else:\r
+                NotReferencedStringList.append(Item)\r
+        self.OrderedStringList[LangName] = ReferencedStringList\r
+        for Index in range(len(NotReferencedStringList)):\r
+            NotReferencedStringList[Index].Token = Token + Index\r
+            self.OrderedStringList[LangName].append(NotReferencedStringList[Index])\r
+            \r
+        #\r
+        # Adjust the orders of other languages\r
+        #\r
+        for IndexOfLanguage in range(1, len(self.LanguageDef)):\r
+            for OrderedString in self.OrderedStringList[LangName]:\r
+                for UnOrderedString in self.OrderedStringList[self.LanguageDef[IndexOfLanguage][0]]:\r
+                    if OrderedString.StringName == UnOrderedString.StringName:\r
+                        UnOrderedString.Token = OrderedString.Token\r
+                        break\r
 \r
     #\r
     # Show the instance itself\r
@@ -416,5 +438,7 @@ class UniFileClassObject(object):
 # This acts like the main() function for the script, unless it is 'import'ed into another\r
 # script.\r
 if __name__ == '__main__':\r
-    a = UniFileClassObject(['C:\\Edk\\DriverSample\\SetupBrowserStr.uni', 'C:\\Edk\\DriverSample\\VfrStrings.uni'])\r
+    EdkLogger.SetLevel(EdkLogger.DEBUG_0)\r
+    a = UniFileClassObject(['C:\\Edk\\Strings.uni', 'C:\\Edk\\Strings2.uni'])\r
+    a.ReToken()\r
     a.ShowMe()\r
index 33daeac..528e1a3 100644 (file)
@@ -17,7 +17,7 @@
 import DataType\r
 import os.path\r
 import string\r
-import EdkLogger\r
+import EdkLogger as EdkLogger\r
 from BuildToolError import *\r
 \r
 ## GetSplitValueList\r
similarity index 91%
rename from Source/Python/Ecc/DataClass.py
rename to Source/Python/CommonDataClass/DataClass.py
index 9231e69..4230426 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # This file is used to define class for data sturcture used in ECC\r
 #\r
-# Copyright (c) 2007, Intel Corporation\r
+# Copyright (c) 2008, Intel Corporation\r
 # All rights reserved. This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.    The full text of the license may be found at\r
@@ -55,6 +55,14 @@ MODEL_PCD_FEATURE_FLAG = 4003
 MODEL_PCD_DYNAMIC_EX = 4004\r
 MODEL_PCD_DYNAMIC = 4005\r
 \r
+MODEL_META_DATA_HEADER = 5001\r
+MODEL_META_DATA_INCLUDE = 5002\r
+MODEL_META_DATA_DEFINE = 5003\r
+MODEL_META_DATA_IFDEF = 5004\r
+MODEL_META_DATA_IFNDEF = 5005\r
+MODEL_META_DATA_BUILD_OPTION = 5006\r
+MODEL_META_DATA_COMPONENT = 5007\r
+\r
 MODEL_LIST = [('MODEL_UNKNOWN', MODEL_UNKNOWN),\r
               ('MODEL_FILE_C', MODEL_FILE_C),\r
               ('MODEL_FILE_H', MODEL_FILE_H),\r
@@ -86,7 +94,14 @@ MODEL_LIST = [('MODEL_UNKNOWN', MODEL_UNKNOWN),
               ('MODEL_PCD_PATCHABLE_IN_MODULE', MODEL_PCD_PATCHABLE_IN_MODULE),\r
               ('MODEL_PCD_FEATURE_FLAG', MODEL_PCD_FEATURE_FLAG),\r
               ('MODEL_PCD_DYNAMIC_EX', MODEL_PCD_DYNAMIC_EX),\r
-              ('MODEL_PCD_DYNAMIC', MODEL_PCD_DYNAMIC)\r
+              ('MODEL_PCD_DYNAMIC', MODEL_PCD_DYNAMIC),\r
+              ("MODEL_META_DATA_HEADER", MODEL_META_DATA_HEADER),\r
+              ("MODEL_META_DATA_INCLUDE", MODEL_META_DATA_INCLUDE),\r
+              ("MODEL_META_DATA_DEFINE", MODEL_META_DATA_DEFINE),\r
+              ("MODEL_META_DATA_IFDEF", MODEL_META_DATA_IFDEF),\r
+              ("MODEL_META_DATA_IFNDEF", MODEL_META_DATA_IFNDEF),\r
+              ("MODEL_META_DATA_BUILD_OPTION", MODEL_META_DATA_BUILD_OPTION),\r
+              ("MODEL_META_DATA_COMPONENT", MODEL_META_DATA_COMPONENT)\r
              ]\r
 \r
 ## FunctionClass\r
index ce44fb4..16d44bb 100644 (file)
 #\r
 import sqlite3\r
 import os\r
-from TableDataModel import TableDataModel\r
-from TableFile import TableFile\r
-from TableFunction import TableFunction\r
-from TablePcd import TablePcd\r
-from TableIdentifier import TableIdentifier\r
+\r
 import Common.EdkLogger as EdkLogger\r
-import DataClass\r
+import CommonDataClass.DataClass as DataClass\r
+\r
+from Table.TableDataModel import TableDataModel\r
+from Table.TableFile import TableFile\r
+from Table.TableFunction import TableFunction\r
+from Table.TablePcd import TablePcd\r
+from Table.TableIdentifier import TableIdentifier\r
 \r
 ##\r
 # Static definitions\r
 #\r
 DATABASE_PATH = "Database/Ecc.db"\r
 \r
-## TableDataModel\r
+## Database\r
 #\r
 # This class defined the ECC databse\r
 # During the phase of initialization, the database will create all tables and\r
@@ -44,7 +46,6 @@ DATABASE_PATH = "Database/Ecc.db"
 #\r
 class Database(object):\r
     def __init__(self, DbPath):\r
-        EdkLogger.SetLevel(EdkLogger.DEBUG_0)\r
         self.Conn = sqlite3.connect(DbPath)\r
         self.Cur = self.Conn.cursor()\r
         self.TblDataModel = TableDataModel(self.Cur)\r
@@ -205,6 +206,8 @@ class Database(object):
 # script.\r
 #\r
 if __name__ == '__main__':\r
+    EdkLogger.SetLevel(EdkLogger.DEBUG_0)\r
+    \r
     Db = Database(DATABASE_PATH)\r
     Db.InitDatabase()\r
     Db.QueryTable(Db.TblDataModel)\r
index 7ebb6e4..b23bb9e 100644 (file)
@@ -2,7 +2,7 @@ import sys
 import os\r
 import CodeFragmentCollector\r
 import FileProfile\r
-import DataClass\r
+import CommonDataClass.DataClass as DataClass\r
 \r
 for dirpath, dirnames, filenames in os.walk(sys.argv[1]):\r
     for d in dirnames:\r
similarity index 94%
rename from Source/Python/Ecc/Table.py
rename to Source/Python/Table/Table.py
index c269d01..a305d84 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # This file is used to create/update/query/erase a common table\r
 #\r
-# Copyright (c) 2007, Intel Corporation\r
+# Copyright (c) 2008, Intel Corporation\r
 # All rights reserved. This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
diff --git a/Source/Python/Table/Table.pyc b/Source/Python/Table/Table.pyc
new file mode 100644 (file)
index 0000000..116ff20
Binary files /dev/null and b/Source/Python/Table/Table.pyc differ
similarity index 94%
rename from Source/Python/Ecc/TableDataModel.py
rename to Source/Python/Table/TableDataModel.py
index aa1b5c6..7e684aa 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # This file is used to create/update/query/erase table for data models\r
 #\r
-# Copyright (c) 2007, Intel Corporation\r
+# Copyright (c) 2008, Intel Corporation\r
 # All rights reserved. This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
@@ -15,7 +15,7 @@
 # Import Modules\r
 #\r
 import Common.EdkLogger as EdkLogger\r
-import DataClass\r
+import CommonDataClass.DataClass as DataClass\r
 from Table import Table\r
 \r
 ## TableDataModel\r
diff --git a/Source/Python/Table/TableDataModel.pyc b/Source/Python/Table/TableDataModel.pyc
new file mode 100644 (file)
index 0000000..60874e1
Binary files /dev/null and b/Source/Python/Table/TableDataModel.pyc differ
diff --git a/Source/Python/Table/TableDsc.py b/Source/Python/Table/TableDsc.py
new file mode 100644 (file)
index 0000000..334f22f
--- /dev/null
@@ -0,0 +1,86 @@
+## @file\r
+# This file is used to create/update/query/erase table for dsc datas\r
+#\r
+# Copyright (c) 2008, Intel Corporation\r
+# All rights reserved. This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+\r
+##\r
+# Import Modules\r
+#\r
+import Common.EdkLogger as EdkLogger\r
+import CommonDataClass.DataClass as DataClass\r
+from Table import Table\r
+\r
+## TableDsc\r
+#\r
+# This class defined a table used for data model\r
+# \r
+# @param object:       Inherited from object class\r
+#\r
+#\r
+class TableDsc(Table):\r
+    def __init__(self, Cursor):\r
+        self.Cur = Cursor\r
+        self.Table = 'Dsc'\r
+    \r
+    ## Create table\r
+    #\r
+    # Create table Dsc\r
+    #\r
+    # @param ID:             ID of a Dsc item\r
+    # @param Model:          Model of a Dsc item\r
+    # @param Value1:         Value1 of a Dsc item\r
+    # @param Value2:         Value2 of a Dsc item\r
+    # @param Value3:         Value3 of a Dsc item\r
+    # @param Arch:           Arch of a Dsc item\r
+    # @param BelongsToItem:  The item belongs to which another item\r
+    # @param BelongsToFile:  The item belongs to which dsc file\r
+    # @param StartLine:      StartLine of a Dsc item\r
+    # @param StartColumn:    StartColumn of a Dsc item\r
+    # @param EndLine:        EndLine of a Dsc item\r
+    # @param EndColumn:      EndColumn of a Dsc item\r
+    #\r
+    def Create(self):\r
+        SqlCommand = """create table IF NOT EXISTS %s (ID SINGLE PRIMARY KEY,\r
+                                                       Model INTEGER NOT NULL,\r
+                                                       Value1 VARCHAR NOT NULL,\r
+                                                       Value2 VARCHAR,\r
+                                                       Value3 VARCHAR,\r
+                                                       Arch VarCHAR,\r
+                                                       BelongsToItem SINGLE NOT NULL,\r
+                                                       BelongsToFile SINGLE NOT NULL,\r
+                                                       StartLine INTEGER NOT NULL,\r
+                                                       StartColumn INTEGER NOT NULL,\r
+                                                       EndLine INTEGER NOT NULL,\r
+                                                       EndColumn INTEGER NOT NULL\r
+                                                      )""" % self.Table\r
+        Table.Create(self, SqlCommand)\r
+\r
+    ## Insert table\r
+    #\r
+    # Insert a record into table Dsc\r
+    #\r
+    # @param ID:             ID of a Dsc item\r
+    # @param Model:          Model of a Dsc item\r
+    # @param Value1:         Value1 of a Dsc item\r
+    # @param Value2:         Value2 of a Dsc item\r
+    # @param Value3:         Value3 of a Dsc item\r
+    # @param Arch:           Arch of a Dsc item\r
+    # @param BelongsToItem:  The item belongs to which another item\r
+    # @param BelongsToFile:  The item belongs to which dsc file\r
+    # @param StartLine:      StartLine of a Dsc item\r
+    # @param StartColumn:    StartColumn of a Dsc item\r
+    # @param EndLine:        EndLine of a Dsc item\r
+    # @param EndColumn:      EndColumn of a Dsc item\r
+    #\r
+    def Insert(self, ID, Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn):\r
+        SqlCommand = """insert into %s values(%s, %s, '%s', '%s', '%s', '%s', %s, %s, %s, %s, %s, %s)""" \\r
+                     % (self.Table, ID, Model, Value1, Value2, Value3, Arch, BelongsToItem, BelongsToFile, StartLine, StartColumn, EndLine, EndColumn)\r
+        Table.Insert(self, SqlCommand)\r
diff --git a/Source/Python/Table/TableDsc.pyc b/Source/Python/Table/TableDsc.pyc
new file mode 100644 (file)
index 0000000..a2d2c20
Binary files /dev/null and b/Source/Python/Table/TableDsc.pyc differ
similarity index 95%
rename from Source/Python/Ecc/TableFile.py
rename to Source/Python/Table/TableFile.py
index 25a2ab1..c920b3b 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # This file is used to create/update/query/erase table for files\r
 #\r
-# Copyright (c) 2007, Intel Corporation\r
+# Copyright (c) 2008, Intel Corporation\r
 # All rights reserved. This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
diff --git a/Source/Python/Table/TableFile.pyc b/Source/Python/Table/TableFile.pyc
new file mode 100644 (file)
index 0000000..a579c59
Binary files /dev/null and b/Source/Python/Table/TableFile.pyc differ
similarity index 96%
rename from Source/Python/Ecc/TableFunction.py
rename to Source/Python/Table/TableFunction.py
index 3fcb2d8..5929b98 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # This file is used to create/update/query/erase table for functions\r
 #\r
-# Copyright (c) 2007, Intel Corporation\r
+# Copyright (c) 2008, Intel Corporation\r
 # All rights reserved. This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
similarity index 96%
rename from Source/Python/Ecc/TableIdentifier.py
rename to Source/Python/Table/TableIdentifier.py
index f6b50a2..e2f83b5 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # This file is used to create/update/query/erase table for Identifiers\r
 #\r
-# Copyright (c) 2007, Intel Corporation\r
+# Copyright (c) 2008, Intel Corporation\r
 # All rights reserved. This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
similarity index 96%
rename from Source/Python/Ecc/TablePcd.py
rename to Source/Python/Table/TablePcd.py
index 4158840..918d2ea 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # This file is used to create/update/query/erase table for pcds\r
 #\r
-# Copyright (c) 2007, Intel Corporation\r
+# Copyright (c) 2008, Intel Corporation\r
 # All rights reserved. This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
diff --git a/Source/Python/Table/__init__.py b/Source/Python/Table/__init__.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/Source/Python/Table/__init__.pyc b/Source/Python/Table/__init__.pyc
new file mode 100644 (file)
index 0000000..72f313a
Binary files /dev/null and b/Source/Python/Table/__init__.pyc differ