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 --- EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.c | 14 +++++++------- EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'EmulatorPkg/Library/DxeEmuLib') diff --git a/EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.c b/EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.c index 2e42ea6151..22f8da7b64 100644 --- a/EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.c +++ b/EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.c @@ -1,7 +1,7 @@ /*++ @file Copyright (c) 2006 - 2008, 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 which accompanies this distribution. The full text of the license may be found at @@ -42,16 +42,16 @@ DxeEmuLibConstructor ( GuidHob = GetFirstGuidHob (&gEmuThunkProtocolGuid); ASSERT (GuidHob != NULL); - + gEmuThunk = (EMU_THUNK_PROTOCOL *)(*(UINTN *)(GET_GUID_HOB_DATA (GuidHob))); ASSERT (gEmuThunk != NULL); - + return EFI_SUCCESS; } /** - Serach the EMU IO Thunk database for a matching EMU IO Thunk + Serach the EMU IO Thunk database for a matching EMU IO Thunk Protocol instance. @param Protocol Protocol to search for. @@ -70,19 +70,19 @@ GetIoThunkInstance ( { EFI_STATUS Status; EMU_IO_THUNK_PROTOCOL *EmuIoThunk; - + for (Status = EFI_SUCCESS, EmuIoThunk = NULL; !EFI_ERROR (Status); ) { Status = gEmuThunk->GetNextProtocol (FALSE, &EmuIoThunk); if (EFI_ERROR (Status)) { break; } - + if (EmuIoThunk->Instance == Instance) { if (CompareGuid (EmuIoThunk->Protocol, Protocol)) { return EmuIoThunk; } } } - + return NULL; } \ No newline at end of file diff --git a/EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf b/EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf index 731bddae9e..21268a439e 100644 --- a/EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf +++ b/EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf @@ -1,10 +1,10 @@ ## @file # A library to produce the global variable 'gEmuThunk' # -# This library contains a single global variable 'gEmuThunk' along with a constructor to +# This library contains a single global variable 'gEmuThunk' along with a constructor to # initialize that global. # Copyright (c) 2006 - 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 @@ -22,7 +22,7 @@ FILE_GUID = 31479AFD-B06F-4E4A-863B-A8F7E7710778 MODULE_TYPE = DXE_DRIVER VERSION_STRING = 1.0 - LIBRARY_CLASS = EmuThunkLib + LIBRARY_CLASS = EmuThunkLib CONSTRUCTOR = DxeEmuLibConstructor -- cgit v1.2.3