]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/AutoGen/GenPcdDb.py
BaseTools: Various typo
[mirror_edk2.git] / BaseTools / Source / Python / AutoGen / GenPcdDb.py
index cbf7a39dd53470b58e738a503ce54960ddd677b6..b3f4ccf4f4c2e43f54877ea84a936f860f3dcf8f 100644 (file)
@@ -342,7 +342,7 @@ class DbComItemList (DbItemList):
         Offset = 0\r
         if self.ItemSize == 0:\r
             #\r
-            # Variable length, need to calculte one by one\r
+            # Variable length, need to calculate one by one\r
             # The only variable table is stringtable, it is not Composite item, should not reach here\r
             #\r
             assert(False)\r
@@ -631,7 +631,7 @@ def BuildExDataBase(Dict):
     Dict['STRING_TABLE_DB_VALUE'] = [StringArrayToList(x) for x in Dict['STRING_TABLE_VALUE']]\r
 \r
     StringTableValue = Dict['STRING_TABLE_DB_VALUE']\r
-    # when calcute the offset, should use StringTableLen instead of StringTableValue, as string maxium len may be different with actual len\r
+    # when calcute the offset, should use StringTableLen instead of StringTableValue, as string maximum len may be different with actual len\r
     StringTableLen = Dict['STRING_TABLE_LENGTH']\r
     DbStringTableLen = DbStringItemList(0, RawDataList = StringTableValue, LenList = StringTableLen)\r
 \r
@@ -1011,7 +1011,7 @@ def CreatePcdDatabasePhaseSpecificAutoGen (Platform, DynamicPcdList, Phase):
         'SKUID_TABLE_EMPTY'             : 'TRUE',\r
         'DATABASE_EMPTY'                : 'TRUE',\r
         'EXMAP_TABLE_EMPTY'             : 'TRUE',\r
-        'PCD_DATABASE_UNINIT_EMPTY'     : '  UINT8  dummy; /* PCD_DATABASE_UNINIT is emptry */',\r
+        'PCD_DATABASE_UNINIT_EMPTY'     : '  UINT8  dummy; /* PCD_DATABASE_UNINIT is empty */',\r
         'SYSTEM_SKU_ID'                 : '  SKU_ID             SystemSkuId;',\r
         'SYSTEM_SKU_ID_VALUE'           : '0U'\r
     }\r