/** @file\r
BDS Lib functions which relate with connect the device\r
\r
-Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\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
return EFI_OUT_OF_RESOURCES;\r
}\r
CopyOfDevicePath = DevicePath;\r
- \r
+\r
do {\r
//\r
// The outer loop handles multi instance device paths.\r
FreePool (CopyOfDevicePath);\r
return EFI_OUT_OF_RESOURCES;\r
}\r
- \r
+\r
Next = Instance;\r
while (!IsDevicePathEndType (Next)) {\r
Next = NextDevicePathNode (Next);\r
}\r
\r
/**\r
- This function will connect all current system handles recursively. \r
- \r
+ This function will connect all current system handles recursively.\r
+\r
gBS->ConnectController() service is invoked for each handle exist in system handler buffer.\r
If the handle is bus type handler, all childrens also will be connected recursively\r
by gBS->ConnectController().\r
}\r
\r
/**\r
- This function will disconnect all current system handles. \r
- \r
+ This function will disconnect all current system handles.\r
+\r
gBS->DisconnectController() is invoked for each handle exists in system handle buffer.\r
If handle is a bus type handle, all childrens also are disconnected recursively by\r
gBS->DisconnectController().\r