]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/Common/BasePeCoff.c
BaseTools: Various typo
[mirror_edk2.git] / BaseTools / Source / C / Common / BasePeCoff.c
index d5cefbd0b0da45cfe02264f35c184dcdafcd9d4a..9112d0131c3bb892532dc1fa8c6298b7dd81e928 100644 (file)
@@ -217,7 +217,7 @@ Returns:
       ImageContext->ImageType != EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER && \\r
       ImageContext->ImageType != EFI_IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER) {\r
     //\r
-    // upsupported PeImage subsystem type\r
+    // unsupported PeImage subsystem type\r
     //\r
     return RETURN_UNSUPPORTED;\r
   }\r
@@ -483,7 +483,7 @@ Returns:
       // In Te image header there is not a field to describe the ImageSize.\r
       // Actually, the ImageSize equals the RVA plus the VirtualSize of\r
       // the last section mapped into memory (Must be rounded up to\r
-      // a mulitple of Section Alignment). Per the PE/COFF specification, the\r
+      // a multiple of Section Alignment). Per the PE/COFF specification, the\r
       // section headers in the Section Table must appear in order of the RVA\r
       // values for the corresponding sections. So the ImageSize can be determined\r
       // by the RVA and the VirtualSize of the last section header in the\r
@@ -1315,7 +1315,7 @@ PeCoffLoaderGetPdbPointer (
       break;\r
     default:\r
       //\r
-      // For unknow Machine field, use Magic in optional Header\r
+      // For unknown Machine field, use Magic in optional Header\r
       //\r
       Magic = Hdr.Pe32->OptionalHeader.Magic;\r
     }\r