summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
diff options
context:
space:
mode:
authorczhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524>2012-08-17 07:36:56 +0000
committerczhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524>2012-08-17 07:36:56 +0000
commitbc79c731b4eaec270bfb62d32b9fc2cc321eee61 (patch)
tree7fe94ae7b13bd1252a0ff5187f1d1b322fe2f36b /IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
parentdb1126d218ff92fa324350d077f1a610560260c7 (diff)
downloadedk2-platforms-bc79c731b4eaec270bfb62d32b9fc2cc321eee61.tar.xz
Fix the issue that consplitter should not touch ConIn variable & do ConIn connection
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com> Reviewed-by : Hot Tian <hot.tian@intel.com> Reviewed-by : Ni, Ruiyu <ruiyu.ni@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13644 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h')
-rw-r--r--IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h b/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
index 7381670bf2..d5b5b3bd02 100644
--- a/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
+++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
@@ -158,4 +158,28 @@ ValidateOption (
UINTN VariableSize
);
+/**
+ This function will create all handles associate with every device
+ path node. If the handle associate with one device path node can not
+ be created successfully, Dispatch service which load the missing drivers
+ is called basing on input parameter, since in some cases no driver
+ dependency is assumed exist, so may need not to call this service.
+
+ @param DevicePathToConnect The device path which will be connected, it can be
+ a multi-instance device path
+ @param NeedDispatch Whether requires dispatch service during connection
+
+ @retval EFI_SUCCESS All handles associate with every device path node
+ have been created
+ @retval EFI_OUT_OF_RESOURCES There is no resource to create new handles
+ @retval EFI_NOT_FOUND Create the handle associate with one device path
+ node failed
+
+**/
+EFI_STATUS
+ConnectDevicePathInternal (
+ IN EFI_DEVICE_PATH_PROTOCOL *DevicePathToConnect,
+ IN BOOLEAN NeedDispatch
+ );
+
#endif // _BDS_LIB_H_