Refine comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8794 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2009-07-08 03:10:33 +00:00
parent b66be4ca3e
commit 0977c9b214
2 changed files with 26 additions and 18 deletions

View File

@ -415,12 +415,14 @@ BdsLibConnectDevicePath (
); );
/** /**
This function will connect all current system handles recursively. The This function will connect all current system handles recursively.
connection will finish until every handle's child handle created if it have.
gBS->ConnectController() service is invoked for each handle exist in system handler buffer.
If the handle is bus type handler, all childrens also will be connected recursively
by gBS->ConnectController().
@retval EFI_SUCCESS All handles and it's child handle have been @retval EFI_SUCCESS All handles and it's child handle have been connected
connected @retval EFI_STATUS Error status returned by of gBS->LocateHandleBuffer().
@retval EFI_STATUS Return the status of gBS->LocateHandleBuffer().
**/ **/
EFI_STATUS EFI_STATUS
@ -429,13 +431,15 @@ BdsLibConnectAllEfi (
VOID VOID
); );
/** /**
This function will disconnect all current system handles. The disconnection This function will disconnect all current system handles.
will finish until every handle have been disconnected.
gBS->DisconnectController() is invoked for each handle exists in system handle buffer.
If handle is a bus type handle, all childrens also are disconnected recursively by
gBS->DisconnectController().
@retval EFI_SUCCESS All handles have been disconnected @retval EFI_SUCCESS All handles have been disconnected
@retval EFI_STATUS Return the status of gBS->LocateHandleBuffer(). @retval EFI_STATUS Error status returned by of gBS->LocateHandleBuffer().
**/ **/
EFI_STATUS EFI_STATUS

View File

@ -191,12 +191,14 @@ BdsLibConnectDevicePath (
/** /**
This function will connect all current system handles recursively. The This function will connect all current system handles recursively.
connection will finish until every handle's child handle created if it have.
gBS->ConnectController() service is invoked for each handle exist in system handler buffer.
If the handle is bus type handler, all childrens also will be connected recursively
by gBS->ConnectController().
@retval EFI_SUCCESS All handles and it's child handle have been @retval EFI_SUCCESS All handles and it's child handle have been connected
connected @retval EFI_STATUS Error status returned by of gBS->LocateHandleBuffer().
@retval EFI_STATUS Return the status of gBS->LocateHandleBuffer().
**/ **/
EFI_STATUS EFI_STATUS
@ -232,13 +234,15 @@ BdsLibConnectAllEfi (
return EFI_SUCCESS; return EFI_SUCCESS;
} }
/** /**
This function will disconnect all current system handles. The disconnection This function will disconnect all current system handles.
will finish until every handle have been disconnected.
gBS->DisconnectController() is invoked for each handle exists in system handle buffer.
If handle is a bus type handle, all childrens also are disconnected recursively by
gBS->DisconnectController().
@retval EFI_SUCCESS All handles have been disconnected @retval EFI_SUCCESS All handles have been disconnected
@retval EFI_STATUS Return the status of gBS->LocateHandleBuffer(). @retval EFI_STATUS Error status returned by of gBS->LocateHandleBuffer().
**/ **/
EFI_STATUS EFI_STATUS