]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Minor update to fix typos and update the file to use \r\n as end of line
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 1 Feb 2010 13:03:17 +0000 (13:03 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 1 Feb 2010 13:03:17 +0000 (13:03 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9901 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Library/PeCoffGetEntryPointLib.h
MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c

index fe7a6b8e5da442b4a8b5a4def4f4b466a006c232..e14ea2043380b7285c64d4210b384d01a20ad004 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Provides a service to retrieve the PE/COFF entry point from a PE/COFF image.\r
 \r
 /** @file\r
   Provides a service to retrieve the PE/COFF entry point from a PE/COFF image.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation                                                         \r
+Copyright (c) 2006 - 2010, 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
 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
@@ -48,7 +48,7 @@ PeCoffLoaderGetEntryPoint (
   @param  Pe32Data   Pointer to the PE/COFF image that is loaded in system\r
                      memory.\r
 \r
   @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
 \r
 **/\r
 UINT16\r
@@ -92,13 +92,13 @@ PeCoffLoaderGetPdbPointer (
   @param  Pe32Data   Pointer to the PE/COFF image that is loaded in system\r
                      memory.\r
 \r
   @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
 \r
 **/\r
-UINT32
-EFIAPI
-PeCoffGetSizeOfHeaders (
-  IN VOID     *Pe32Data
-  );
+UINT32\r
+EFIAPI\r
+PeCoffGetSizeOfHeaders (\r
+  IN VOID     *Pe32Data\r
+  );\r
 \r
 #endif\r
 \r
 #endif\r
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
   @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
 \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
   @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
 \r
 **/\r
 UINT32\r
@@ -306,7 +306,7 @@ PeCoffGetSizeOfHeaders (
   }\r
 \r
   if (Hdr.Te->Signature == EFI_TE_IMAGE_HEADER_SIGNATURE) {\r
   }\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
   } else if (Hdr.Pe32->Signature == EFI_IMAGE_NT_SIGNATURE) {\r
     SizeOfHeaders = Hdr.Pe32->OptionalHeader.SizeOfHeaders;\r
   } else {\r