git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8794
6f19259b-4bc3-4df7-8a09-
765794883524
- 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
- @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
- 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
\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
- 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
- @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
return EFI_SUCCESS;\r
}\r
\r
return EFI_SUCCESS;\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
\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