After deleting this Driver option, call Var_ChangeDriverOrder to\r
make sure DriverOrder is in valid state.\r
\r
-\r
- \r
-\r
@retval EFI_SUCCESS Load Option is successfully updated.\r
@return Other value than EFI_SUCCESS if failed to update "Driver Order" EFI\r
Variable.\r
rebuild DriverOrder from scratch by content from DriverOptionMenu is\r
needed.\r
\r
-\r
- \r
-\r
@retval EFI_SUCCESS The driver order is updated successfully.\r
@return EFI_STATUS other than EFI_SUCCESS if failed to\r
Set the "DriverOrder" EFI Variable.\r
based on the new BaudRate, Data Bits, parity and Stop Bits\r
set.\r
\r
- \r
-\r
- \r
-\r
**/\r
VOID\r
Var_UpdateAllConsoleOption (\r
This function delete and build multi-instance device path ConIn\r
console device.\r
\r
-\r
- \r
-\r
@retval EFI_SUCCESS The function complete successfully.\r
@return The EFI variable can be saved. See gRT->SetVariable \r
for detail return information.\r
This function delete and build multi-instance device path ConOut\r
console device.\r
\r
-\r
- \r
-\r
@retval EFI_SUCCESS The function complete successfully.\r
@return The EFI variable can be saved. See gRT->SetVariable \r
for detail return information.\r
This function delete and build multi-instance device path ErrOut\r
console device.\r
\r
-\r
- \r
-\r
@retval EFI_SUCCESS The function complete successfully.\r
@return The EFI variable can be saved. See gRT->SetVariable \r
for detail return information.\r
StrSize (LegacyDeviceContext->Description)\r
);\r
\r
- UnicodeToAscii (DescString, StrSize (DescString), DescAsciiString);\r
+ UnicodeStrToAsciiStr((CONST CHAR16*)&DescString, (CHAR8 *)&DescAsciiString);\r
\r
NewOptionSize = sizeof (UINT32) + sizeof (UINT16) + StrSize (DescString) +\r
sizeof (BBS_BBS_DEVICE_PATH);\r