/*++ @file\r
\r
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
-Portions copyright (c) 2011, Apple Inc. All rights reserved. \r
-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
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+Portions copyright (c) 2011, Apple Inc. All rights reserved.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
\r
GuidHob = GetFirstGuidHob (&gEmuThunkProtocolGuid);\r
ASSERT (GuidHob != NULL);\r
- \r
+\r
gEmuThunk = (EMU_THUNK_PROTOCOL *)(*(UINTN *)(GET_GUID_HOB_DATA (GuidHob)));\r
ASSERT (gEmuThunk != NULL);\r
- \r
+\r
return EFI_SUCCESS;\r
}\r
\r
\r
/**\r
- Serach the EMU IO Thunk database for a matching EMU IO Thunk \r
+ Serach the EMU IO Thunk database for a matching EMU IO Thunk\r
Protocol instance.\r
\r
@param Protocol Protocol to search for.\r
{\r
EFI_STATUS Status;\r
EMU_IO_THUNK_PROTOCOL *EmuIoThunk;\r
- \r
+\r
for (Status = EFI_SUCCESS, EmuIoThunk = NULL; !EFI_ERROR (Status); ) {\r
Status = gEmuThunk->GetNextProtocol (FALSE, &EmuIoThunk);\r
if (EFI_ERROR (Status)) {\r
break;\r
}\r
- \r
+\r
if (EmuIoThunk->Instance == Instance) {\r
if (CompareGuid (EmuIoThunk->Protocol, Protocol)) {\r
return EmuIoThunk;\r
}\r
}\r
}\r
- \r
+\r
return NULL;\r
-}
\ No newline at end of file
+}\r