/** @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
@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
@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
-EFIAPI
-PeCoffGetSizeOfHeaders (
- IN VOID *Pe32Data
- );
+UINT32\r
+EFIAPI\r
+PeCoffGetSizeOfHeaders (\r
+ IN VOID *Pe32Data\r
+ );\r
\r
#endif\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
@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
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