summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Include
diff options
context:
space:
mode:
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
//