/** @file\r
Variable operation that will be used by bootmaint\r
\r
-Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
After deleting this boot option, call Var_ChangeBootOrder to\r
make sure BootOrder is in valid state.\r
\r
- @retval EFI_SUCCESS If all boot load option EFI Variables corresponding to \r
+ @retval EFI_SUCCESS If all boot load option EFI Variables corresponding to\r
BM_LOAD_CONTEXT marked for deletion is deleted.\r
@retval EFI_NOT_FOUND If can not find the boot option want to be deleted.\r
- @return Others If failed to update the "BootOrder" variable after deletion. \r
+ @return Others If failed to update the "BootOrder" variable after deletion.\r
\r
**/\r
EFI_STATUS\r
scratch by content from BootOptionMenu is needed.\r
\r
\r
- \r
+\r
\r
@retval EFI_SUCCESS The boot order is updated successfully.\r
@return EFI_STATUS other than EFI_SUCCESS if failed to\r
}\r
\r
/**\r
- Update the device path of "ConOut", "ConIn" and "ErrOut" \r
+ Update the device path of "ConOut", "ConIn" and "ErrOut"\r
based on the new BaudRate, Data Bits, parity and Stop Bits\r
set.\r
\r
\r
This function clear the EFI variable defined by ConsoleName and\r
gEfiGlobalVariableGuid. It then build the multi-instance device\r
- path by appending the device path of the Console (In/Out/Err) instance \r
+ path by appending the device path of the Console (In/Out/Err) instance\r
in ConsoleMenu. Then it scan all corresponding console device by\r
scanning Terminal (built from device supporting Serial I/O instances)\r
devices in TerminalMenu. At last, it save a EFI variable specifed\r
) {\r
Vendor.Header.Type = MESSAGING_DEVICE_PATH;\r
Vendor.Header.SubType = MSG_VENDOR_DP;\r
- \r
+\r
ASSERT (NewTerminalContext->TerminalType < (ARRAY_SIZE (TerminalTypeGuid)));\r
CopyMem (\r
&Vendor.Guid,\r
console device.\r
\r
@retval EFI_SUCCESS The function complete successfully.\r
- @return The EFI variable can not be saved. See gRT->SetVariable for detail return information. \r
+ @return The EFI variable can not be saved. See gRT->SetVariable for detail return information.\r
**/\r
EFI_STATUS\r
Var_UpdateErrorOutOption (\r
}\r
\r
/**\r
- This function create a currently loaded Drive Option from \r
- the BMM. It then appends this Driver Option to the end of \r
+ This function create a currently loaded Drive Option from\r
+ the BMM. It then appends this Driver Option to the end of\r
the "DriverOrder" list. It append this Driver Opotion to the end\r
of DriverOptionMenu.\r
\r
}\r
\r
/**\r
- This function create a currently loaded Boot Option from \r
- the BMM. It then appends this Boot Option to the end of \r
+ This function create a currently loaded Boot Option from\r
+ the BMM. It then appends this Boot Option to the end of\r
the "BootOrder" list. It also append this Boot Opotion to the end\r
of BootOptionMenu.\r
\r
}\r
\r
/**\r
- This function update the "BootNext" EFI Variable. If there is \r
+ This function update the "BootNext" EFI Variable. If there is\r
no "BootNext" specified in BMM, this EFI Variable is deleted.\r
It also update the BMM context data specified the "BootNext"\r
vaule.\r
@param CallbackData The BMM context data.\r
\r
@retval EFI_SUCCESS The function complete successfully.\r
- @return The EFI variable can be saved. See gRT->SetVariable \r
+ @return The EFI variable can be saved. See gRT->SetVariable\r
for detail return information.\r
\r
**/\r
// Changing the content without increasing its size with current variable implementation shouldn't fail.\r
//\r
ASSERT_EFI_ERROR (Status);\r
- \r
+\r
BOpt_FreeMenu (&DriverOptionMenu);\r
BOpt_GetDriverOptions (CallbackData);\r
return EFI_SUCCESS;\r