\r
Copyright (c) 2006, 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
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
\r
**/\r
#include <PiDxe.h>\r
\r
#include <Protocol/DevicePath.h>\r
-#include <Protocol/EmuThunk.h> \r
+#include <Protocol/EmuThunk.h>\r
\r
#include <Library/DebugLib.h>\r
#include <Library/UefiLib.h>\r
//\r
// EmuThunk Device Path Protocol Instance\r
//\r
-EMU_THUNK_DEVICE_PATH mEmuThunkDevicePath = {\r
+EMU_THUNK_DEVICE_PATH mEmuThunkDevicePath = {\r
{\r
{\r
{\r
HARDWARE_DEVICE_PATH,\r
HW_VENDOR_DP,\r
{\r
- (UINT8) (sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),\r
- (UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)\r
+ (UINT8)(sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),\r
+ (UINT8)((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)\r
}\r
},\r
EMU_THUNK_PROTOCOL_GUID\r
}\r
};\r
\r
-\r
EFI_STATUS\r
EFIAPI\r
InitializeEmuThunk (\r
- IN EFI_HANDLE ImageHandle,\r
- IN EFI_SYSTEM_TABLE *SystemTable\r
+ IN EFI_HANDLE ImageHandle,\r
+ IN EFI_SYSTEM_TABLE *SystemTable\r
)\r
+\r
/*++\r
\r
Routine Description:\r
(Standard EFI Image entry - EFI_IMAGE_ENTRY_POINT)\r
\r
Returns:\r
- EFI_SUCEESS - UnixThunk protocol is added or error status from \r
+ EFI_SUCEESS - UnixThunk protocol is added or error status from\r
gBS->InstallMultiProtocolInterfaces().\r
\r
**/\r
Handle = NULL;\r
Status = gBS->InstallMultipleProtocolInterfaces (\r
&Handle,\r
- &gEmuThunkProtocolGuid, gEmuThunk,\r
- &gEfiDevicePathProtocolGuid, &mEmuThunkDevicePath,\r
+ &gEmuThunkProtocolGuid,\r
+ gEmuThunk,\r
+ &gEfiDevicePathProtocolGuid,\r
+ &mEmuThunkDevicePath,\r
NULL\r
);\r
\r