summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/BdsDxe/BootMaint/Variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Universal/BdsDxe/BootMaint/Variable.c')
-rw-r--r--MdeModulePkg/Universal/BdsDxe/BootMaint/Variable.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/BootMaint/Variable.c b/MdeModulePkg/Universal/BdsDxe/BootMaint/Variable.c
index 35faf1ae27..b97af5cd29 100644
--- a/MdeModulePkg/Universal/BdsDxe/BootMaint/Variable.c
+++ b/MdeModulePkg/Universal/BdsDxe/BootMaint/Variable.c
@@ -176,9 +176,6 @@ Var_ChangeBootOrder (
After deleting this Driver option, call Var_ChangeDriverOrder to
make sure DriverOrder is in valid state.
-
-
-
@retval EFI_SUCCESS Load Option is successfully updated.
@return Other value than EFI_SUCCESS if failed to update "Driver Order" EFI
Variable.
@@ -237,9 +234,6 @@ Var_DelDriverOption (
rebuild DriverOrder from scratch by content from DriverOptionMenu is
needed.
-
-
-
@retval EFI_SUCCESS The driver order is updated successfully.
@return EFI_STATUS other than EFI_SUCCESS if failed to
Set the "DriverOrder" EFI Variable.
@@ -320,10 +314,6 @@ Var_ChangeDriverOrder (
based on the new BaudRate, Data Bits, parity and Stop Bits
set.
-
-
-
-
**/
VOID
Var_UpdateAllConsoleOption (
@@ -486,9 +476,6 @@ Var_UpdateConsoleOption (
This function delete and build multi-instance device path ConIn
console device.
-
-
-
@retval EFI_SUCCESS The function complete successfully.
@return The EFI variable can be saved. See gRT->SetVariable
for detail return information.
@@ -505,9 +492,6 @@ Var_UpdateConsoleInpOption (
This function delete and build multi-instance device path ConOut
console device.
-
-
-
@retval EFI_SUCCESS The function complete successfully.
@return The EFI variable can be saved. See gRT->SetVariable
for detail return information.
@@ -524,9 +508,6 @@ Var_UpdateConsoleOutOption (
This function delete and build multi-instance device path ErrOut
console device.
-
-
-
@retval EFI_SUCCESS The function complete successfully.
@return The EFI variable can be saved. See gRT->SetVariable
for detail return information.
@@ -1272,7 +1253,7 @@ Var_UpdateBBSOption (
StrSize (LegacyDeviceContext->Description)
);
- UnicodeToAscii (DescString, StrSize (DescString), DescAsciiString);
+ UnicodeStrToAsciiStr((CONST CHAR16*)&DescString, (CHAR8 *)&DescAsciiString);
NewOptionSize = sizeof (UINT32) + sizeof (UINT16) + StrSize (DescString) +
sizeof (BBS_BBS_DEVICE_PATH);