summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Include
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/Include
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/Include')
-rw-r--r--IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h49
1 files changed, 39 insertions, 10 deletions
diff --git a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
index 422666abe0..b1887b60ca 100644
--- a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
+++ b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
@@ -386,9 +386,10 @@ BdsLibConnectAll (
);
/**
- This function creates all handles associated with the given device
- path node. If the handle associated with one device path node cannot
- be created, then it tries to execute the dispatch to load the missing drivers.
+ 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, then still give chance to do the dispatch,
+ which load the missing drivers if possible.
@param DevicePathToConnect The device path to be connected. Can be
a multi-instance device path.
@@ -507,17 +508,21 @@ BdsLibUpdateConsoleVariable (
);
/**
- Connect the console device base on the variable ConVarName. If
- ConVarName is a multi-instance device path, and at least one
- instance connects successfully, then this function
+ Connect the console device base on the variable ConVarName, if
+ device path of the ConVarName is multi-instance device path and
+ anyone of the instances is connected success, then this function
will return success.
+ If the handle associate with one device path node can not
+ be created successfully, then still give chance to do the dispatch,
+ which load the missing drivers if possible.
- @param ConVarName The console related variable name: ConIn, ConOut,
+ @param ConVarName Console related variable name, ConIn, ConOut,
ErrOut.
- @retval EFI_NOT_FOUND No console devices were connected successfully
- @retval EFI_SUCCESS Connected at least one instance of the console
- device path based on the variable ConVarName.
+ @retval EFI_NOT_FOUND There is not any console devices connected
+ success
+ @retval EFI_SUCCESS Success connect any one instance of the console
+ device path base on the variable ConVarName.
**/
EFI_STATUS
@@ -526,6 +531,30 @@ BdsLibConnectConsoleVariable (
IN CHAR16 *ConVarName
);
+/**
+ Connect the console device base on the variable ConVarName, if
+ device path of the ConVarName is multi-instance device path and
+ anyone of the instances is connected success, then this function
+ will return success.
+ Dispatch service is not called when the handle associate with one
+ device path node can not be created successfully. Here no driver
+ dependency is assumed exist, so need not to call this service.
+
+ @param ConVarName Console related variable name, ConIn, ConOut,
+ ErrOut.
+
+ @retval EFI_NOT_FOUND There is not any console devices connected
+ success
+ @retval EFI_SUCCESS Success connect any one instance of the console
+ device path base on the variable ConVarName.
+
+**/
+EFI_STATUS
+EFIAPI
+BdsLibConnectConsoleVariableWithOutDispatch (
+ IN CHAR16 *ConVarName
+ );
+
//
// Bds device path related lib functions
//