]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConnect.c
Refine comments.
[mirror_edk2.git] / IntelFrameworkModulePkg / Library / GenericBdsLib / BdsConnect.c
index 7d0254d33c810d9ebc5be85edf16d01a5f379c6d..2b01f5392bb7dc1ff4e178eb33045d07401d2f06 100644 (file)
@@ -191,12 +191,14 @@ BdsLibConnectDevicePath (
 \r
 \r
 /**\r
-  This function will connect all current system handles recursively. The\r
-  connection will finish until every handle's child handle created if it have.\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
-  @retval EFI_SUCCESS           All handles and it's child handle have been\r
-                                connected\r
-  @retval EFI_STATUS            Return the status of gBS->LocateHandleBuffer().\r
+  @retval EFI_SUCCESS           All handles and it's child handle have been connected\r
+  @retval EFI_STATUS            Error status returned by of gBS->LocateHandleBuffer().\r
 \r
 **/\r
 EFI_STATUS\r
@@ -232,13 +234,15 @@ BdsLibConnectAllEfi (
   return EFI_SUCCESS;\r
 }\r
 \r
-\r
 /**\r
-  This function will disconnect all current system handles. The disconnection\r
-  will finish until every handle have been disconnected.\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
 \r
   @retval EFI_SUCCESS           All handles have been disconnected\r
-  @retval EFI_STATUS            Return the status of gBS->LocateHandleBuffer().\r
+  @retval EFI_STATUS            Error status returned by of gBS->LocateHandleBuffer().\r
 \r
 **/\r
 EFI_STATUS\r