]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c
Minor update to fix typos and update the file to use \r\n as end of line
[mirror_edk2.git] / MdePkg / Library / BasePeCoffGetEntryPointLib / PeCoffGetEntryPoint.c
index a3c117feb33bf22b5e60f09706b4058f7951f1a5..e30ae994c09e78d34359375ff19b248a5413cb8e 100644 (file)
@@ -90,7 +90,7 @@ PeCoffLoaderGetEntryPoint (
   @param  Pe32Data   Pointer to the PE/COFF image that is loaded in system\r
                      memory.\r
 \r
-  @return Machine type or zero if not a valid iamge.\r
+  @return Machine type or zero if not a valid image.\r
 \r
 **/\r
 UINT16\r
@@ -277,7 +277,7 @@ PeCoffLoaderGetPdbPointer (
   @param  Pe32Data   Pointer to the PE/COFF image that is loaded in system\r
                      memory.\r
 \r
-  @return Size of PE/COFF header in bytes or zero if not a valid iamge.\r
+  @return Size of PE/COFF header in bytes or zero if not a valid image.\r
 \r
 **/\r
 UINT32\r
@@ -306,7 +306,7 @@ PeCoffGetSizeOfHeaders (
   }\r
 \r
   if (Hdr.Te->Signature == EFI_TE_IMAGE_HEADER_SIGNATURE) {\r
-   SizeOfHeaders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize;\r
+    SizeOfHeaders = sizeof (EFI_TE_IMAGE_HEADER) + (UINTN)Hdr.Te->BaseOfCode - (UINTN)Hdr.Te->StrippedSize;\r
   } else if (Hdr.Pe32->Signature == EFI_IMAGE_NT_SIGNATURE) {\r
     SizeOfHeaders = Hdr.Pe32->OptionalHeader.SizeOfHeaders;\r
   } else {\r