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
This commit is contained in:
@ -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
|
||||
//
|
||||
|
Reference in New Issue
Block a user