From d18d8a1d0e370f8ce6ccc2725f4170586d457e53 Mon Sep 17 00:00:00 2001 From: jljusten Date: Tue, 28 Jun 2011 16:50:26 +0000 Subject: EmulatorPkg: Remove all trailing whitespace Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11919 6f19259b-4bc3-4df7-8a09-765794883524 --- .../PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.c | 8 ++++---- .../PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib') diff --git a/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.c b/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.c index e229805cfe..2c47a4f006 100644 --- a/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.c +++ b/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.c @@ -68,11 +68,11 @@ PeCoffLoaderGetEntryPoint ( } /** - Returns the machine type of PE/COFF image. + Returns the machine type of PE/COFF image. This is copied from MDE BasePeCoffGetEntryPointLib, the code should be sync with it. The reason is Emu package needs to load the image to memory to support source level debug. - + @param Pe32Data Pointer to a PE/COFF header @@ -84,7 +84,7 @@ EFIAPI PeCoffLoaderGetMachineType ( IN VOID *Pe32Data ) -{ +{ EFI_IMAGE_OPTIONAL_HEADER_PTR_UNION Hdr; EFI_IMAGE_DOS_HEADER *DosHdr; @@ -270,7 +270,7 @@ PeCoffGetSizeOfHeaders ( UINTN SizeOfHeaders; ASSERT (Pe32Data != NULL); - + DosHdr = (EFI_IMAGE_DOS_HEADER *)Pe32Data; if (DosHdr->e_magic == EFI_IMAGE_DOS_SIGNATURE) { // diff --git a/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf b/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf index 9cd1fbbfe4..bf35a35f1e 100644 --- a/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf +++ b/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf @@ -3,7 +3,7 @@ # # PeCoffGetEntryPointLib library class for NT32 instance implemented by use NTPeiLoadFile PPI. # Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.
-# Portions copyright (c) 2011, Apple Inc. All rights reserved. +# Portions copyright (c) 2011, Apple Inc. All rights reserved. # # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -21,7 +21,7 @@ FILE_GUID = 1CBED347-7DE6-BC48-AC68-3758598124D2 MODULE_TYPE = PEIM VERSION_STRING = 1.0 - LIBRARY_CLASS = PeCoffGetEntryPointLib + LIBRARY_CLASS = PeCoffGetEntryPointLib # -- cgit v1.2.3