diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-28 16:50:26 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-28 16:50:26 +0000 |
commit | d18d8a1d0e370f8ce6ccc2725f4170586d457e53 (patch) | |
tree | 7e852b6f4c4277a38734d09870eae180a113b7e9 /EmulatorPkg/Library/ThunkProtocolList | |
parent | bb89ec1a7ec2f8d35033df9e47b3604925da3bd3 (diff) | |
download | edk2-platforms-d18d8a1d0e370f8ce6ccc2725f4170586d457e53.tar.xz |
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
Diffstat (limited to 'EmulatorPkg/Library/ThunkProtocolList')
-rw-r--r-- | EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.c | 24 | ||||
-rw-r--r-- | EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf | 2 |
2 files changed, 13 insertions, 13 deletions
diff --git a/EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.c b/EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.c index 5aed594b6e..b2daa2bef5 100644 --- a/EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.c +++ b/EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.c @@ -3,7 +3,7 @@ Copyright (c) 2008 - 2011, Apple Inc. All rights reserved.<BR>
Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
-
+
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
@@ -38,7 +38,7 @@ LIST_ENTRY mThunkList = INITIALIZE_LIST_HEAD_VARIABLE (mThunkList); EFI_STATUS
EFIAPI
AddThunkProtocol (
- IN EMU_IO_THUNK_PROTOCOL *ThunkIo,
+ IN EMU_IO_THUNK_PROTOCOL *ThunkIo,
IN CHAR16 *ConfigString,
IN BOOLEAN EmuBusDriver
)
@@ -47,11 +47,11 @@ AddThunkProtocol ( CHAR16 *SubString;
UINTN Instance;
EMU_IO_THUNK_PROTOCOL_DATA *Private;
-
+
if (ThunkIo == NULL) {
return EFI_INVALID_PARAMETER;
}
-
+
Instance = 0;
StartString = AllocatePool (StrSize (ConfigString));
StrCpy (StartString, ConfigString);
@@ -81,10 +81,10 @@ AddThunkProtocol ( Private->Signature = EMU_IO_THUNK_PROTOCOL_DATA_SIGNATURE;
Private->EmuBusDriver = EmuBusDriver;
- CopyMem (&Private->Data, ThunkIo, sizeof (EMU_IO_THUNK_PROTOCOL));
+ CopyMem (&Private->Data, ThunkIo, sizeof (EMU_IO_THUNK_PROTOCOL));
Private->Data.Instance = Instance++;
Private->Data.ConfigString = StartString;
-
+
InsertTailList (&mThunkList, &Private->Link);
//
@@ -104,14 +104,14 @@ GetNextThunkProtocol ( OUT EMU_IO_THUNK_PROTOCOL **Instance OPTIONAL
)
{
- LIST_ENTRY *Link;
- EMU_IO_THUNK_PROTOCOL_DATA *Private;
-
+ LIST_ENTRY *Link;
+ EMU_IO_THUNK_PROTOCOL_DATA *Private;
+
if (mThunkList.ForwardLink == &mThunkList) {
// Skip parsing an empty list
return EFI_NOT_FOUND;
}
-
+
for (Link = mThunkList.ForwardLink; Link != &mThunkList; Link = Link->ForwardLink) {
Private = CR (Link, EMU_IO_THUNK_PROTOCOL_DATA, Link, EMU_IO_THUNK_PROTOCOL_DATA_SIGNATURE);
if (EmuBusDriver & !Private->EmuBusDriver) {
@@ -131,8 +131,8 @@ GetNextThunkProtocol ( return EFI_SUCCESS;
}
}
-
-
+
+
return EFI_NOT_FOUND;
}
diff --git a/EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf b/EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf index 06668835f3..5a22c2f41f 100644 --- a/EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf +++ b/EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf @@ -1,7 +1,7 @@ ## @file
#
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
-# 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
|