\r
Copyright (c) 2006 - 2011, 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
//\r
if (RemainingDevicePath != NULL) {\r
//\r
- // Check if RemainingDevicePath is the End of Device Path Node, \r
+ // Check if RemainingDevicePath is the End of Device Path Node,\r
// if yes, go on checking other conditions\r
//\r
if (!IsDevicePathEnd (RemainingDevicePath)) {\r
}\r
}\r
}\r
- \r
+\r
//\r
// Open the IO Abstraction(s) needed to perform the supported test\r
//\r
if (RemainingDevicePath != NULL) {\r
CreateDevice = FALSE;\r
//\r
- // Check if RemainingDevicePath is the End of Device Path Node, \r
- // if yes, don't create any child device \r
+ // Check if RemainingDevicePath is the End of Device Path Node,\r
+ // if yes, don't create any child device\r
//\r
if (!IsDevicePathEnd (RemainingDevicePath)) {\r
//\r
EmuDevice->ControllerHandle = ControllerHandle;\r
EmuDevice->ParentDevicePath = ParentDevicePath;\r
CopyMem (&EmuDevice->EmuIoThunk, EmuIoThunk, sizeof (EMU_IO_THUNK_PROTOCOL));\r
- \r
+\r
EmuDevice->ControllerNameTable = NULL;\r
\r
StrnCpy (ComponentName, EmuIoThunk->ConfigString, sizeof (ComponentName)/sizeof (CHAR16));\r
Status = gBS->UninstallMultipleProtocolInterfaces (\r
EmuDevice->Handle,\r
&gEfiDevicePathProtocolGuid, EmuDevice->DevicePath,\r
- &gEmuIoThunkProtocolGuid, EmuDevice->EmuIoThunk,\r
+ &gEmuIoThunkProtocolGuid, &EmuDevice->EmuIoThunk,\r
NULL\r
);\r
\r
\r
Returns:\r
\r
- EFI_DEVICE_PATH_PROTOCOL \r
+ EFI_DEVICE_PATH_PROTOCOL\r
\r
**/\r
EFI_DEVICE_PATH_PROTOCOL *\r
/**\r
The user Entry Point for module EmuBusDriver. The user code starts with this function.\r
\r
- @param[in] ImageHandle The firmware allocated handle for the EFI image. \r
+ @param[in] ImageHandle The firmware allocated handle for the EFI image.\r
@param[in] SystemTable A pointer to the EFI System Table.\r
- \r
+\r
@retval EFI_SUCCESS The entry point is executed successfully.\r
@retval other Some error occurs when executing this entry point.\r
\r