]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.h
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Library / BootMaintenanceManagerUiLib / BootMaintenanceManager.h
index 99d1656b9ed90535fcd822b1dd9af41e16ef7e93..e8288b53ad258c3e89ea1710bae94b2f2b36c543 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 Header file for boot maintenance module.\r
 \r
-Copyright (c) 2004 - 2017, 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
@@ -333,7 +333,7 @@ typedef struct {
 } BM_MENU_ENTRY;\r
 \r
 typedef struct {\r
-  \r
+\r
   UINTN                          Signature;\r
 \r
   EFI_HII_HANDLE                 BmmHiiHandle;\r
@@ -355,7 +355,7 @@ typedef struct {
   //\r
   // BMM main formset callback data.\r
   //\r
-  \r
+\r
   EFI_FORM_ID                    BmmCurrentPageId;\r
   EFI_FORM_ID                    BmmPreviousPageId;\r
   BOOLEAN                        BmmAskSaveOrNot;\r
@@ -403,7 +403,7 @@ BOpt_GetBootOptions (
 \r
   @return EFI_SUCESS The functin completes successfully.\r
   @retval EFI_OUT_OF_RESOURCES Not enough memory to compete the operation.\r
-  \r
+\r
 \r
 **/\r
 EFI_STATUS\r
@@ -505,12 +505,12 @@ BOpt_GetMenuEntry (
   );\r
 \r
 /**\r
-  Get option number according to Boot#### and BootOrder variable. \r
+  Get option number according to Boot#### and BootOrder variable.\r
   The value is saved as #### + 1.\r
 \r
   @param CallbackData    The BMM context data.\r
 **/\r
-VOID  \r
+VOID\r
 GetBootOrder (\r
   IN  BMM_CALLBACK_DATA    *CallbackData\r
   );\r
@@ -519,9 +519,9 @@ GetBootOrder (
   Get driver option order from globalc DriverOptionMenu.\r
 \r
   @param CallbackData    The BMM context data.\r
-  \r
+\r
 **/\r
-VOID  \r
+VOID\r
 GetDriverOrder (\r
   IN  BMM_CALLBACK_DATA    *CallbackData\r
   );\r
@@ -596,11 +596,11 @@ ChangeVariableDevicePath (
 \r
 /**\r
   Update the multi-instance device path of Terminal Device based on\r
-  the global TerminalMenu. If ChangeTernimal is TRUE, the terminal \r
+  the global TerminalMenu. If ChangeTernimal is TRUE, the terminal\r
   device path in the Terminal Device in TerminalMenu is also updated.\r
 \r
   @param DevicePath      The multi-instance device path.\r
-  @param ChangeTerminal  TRUE, then device path in the Terminal Device \r
+  @param ChangeTerminal  TRUE, then device path in the Terminal Device\r
                          in TerminalMenu is also updated; FALSE, no update.\r
 \r
   @return EFI_SUCCESS    The function completes successfully.\r
@@ -616,8 +616,8 @@ ChangeTerminalDevicePath (
 // Variable operation by menu selection\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
@@ -635,9 +635,9 @@ Var_UpdateBootOption (
 /**\r
   Delete Boot Option that represent a Deleted state in BootOptionMenu.\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
-  @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
@@ -646,8 +646,8 @@ Var_DelBootOption (
   );\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
@@ -719,11 +719,11 @@ Var_UpdateErrorOutOption (
 \r
 /**\r
   This function delete and build Out of Band console device.\r
-  \r
+\r
   @param   MenuIndex   Menu index which user select in the terminal menu list.\r
-  \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_UpdateOutOfBandOption (\r
@@ -731,7 +731,7 @@ Var_UpdateOutOfBandOption (
   );\r
 \r
 /**\r
-  This function update the "BootNext" EFI Variable. If there is no "BootNex" specified in BMM, \r
+  This function update the "BootNext" EFI Variable. If there is no "BootNex" specified in BMM,\r
   this EFI Variable is deleted.\r
   It also update the BMM context data specified the "BootNext" value.\r
 \r
@@ -747,7 +747,7 @@ Var_UpdateBootNext (
   );\r
 \r
 /**\r
-  This function update the "BootOrder" EFI Variable based on BMM Formset's NV map. It then refresh \r
+  This function update the "BootOrder" EFI Variable based on BMM Formset's NV map. It then refresh\r
   BootOptionMenu with the new "BootOrder" list.\r
 \r
   @param CallbackData           The BMM context data.\r
@@ -816,7 +816,7 @@ RefreshUpdateData (
 \r
 /**\r
   Clean up the dynamic opcode at label and form specified by\r
-  both LabelId. \r
+  both LabelId.\r
 \r
   @param LabelId         It is both the Form ID and Label ID for\r
                          opcode deletion.\r
@@ -937,7 +937,7 @@ UpdateOptionPage(
 \r
   @param VarName            A Null-terminated Unicode string that is\r
                             the name of the vendor's variable.\r
-                         \r
+\r
   @param VarGuid            A unique identifier for the vendor.\r
 \r
   @retval  EFI_SUCCESS           The variable was found and removed\r
@@ -969,7 +969,7 @@ EfiDevicePathInstanceCount (
   );\r
 \r
 /**\r
-  Get a string from the Data Hub record based on \r
+  Get a string from the Data Hub record based on\r
   a device path.\r
 \r
   @param DevPath         The device Path.\r
@@ -1065,8 +1065,8 @@ InitBootMaintenance(
 \r
   @param CallbackData    The BMM context data.\r
 \r
-**/  \r
-VOID  \r
+**/\r
+VOID\r
 GetConsoleInCheck (\r
   IN  BMM_CALLBACK_DATA    *CallbackData\r
   );\r
@@ -1091,7 +1091,7 @@ GetConsoleOutCheck (
 \r
   @param CallbackData    The BMM context data.\r
 \r
-**/        \r
+**/\r
 VOID\r
 GetConsoleErrCheck (\r
   IN  BMM_CALLBACK_DATA    *CallbackData\r
@@ -1112,9 +1112,9 @@ GetTerminalAttribute (
 \r
 /**\r
   This function will change video resolution and text mode\r
-  according to defined setup mode or defined boot mode  \r
+  according to defined setup mode or defined boot mode\r
 \r
-  @param  IsSetupMode   Indicate mode is changed to setup mode or boot mode. \r
+  @param  IsSetupMode   Indicate mode is changed to setup mode or boot mode.\r
 \r
   @retval  EFI_SUCCESS  Mode is changed successfully.\r
   @retval  Others             Mode failed to be changed.\r
@@ -1195,7 +1195,7 @@ BootMaintExtractConfig (
 \r
   @param[in]  This                Points to the EFI_HII_CONFIG_ACCESS_PROTOCOL.\r
   @param[in]  Configuration       A null-terminated Unicode string in\r
-                                  <ConfigString> format.   \r
+                                  <ConfigString> format.\r
   @param[out] Progress            A pointer to a string filled in with the\r
                                   offset of the most recent '&' before the\r
                                   first failing name / value pair (or the\r
@@ -1205,7 +1205,7 @@ BootMaintExtractConfig (
                                   successful.\r
 \r
   @retval EFI_SUCCESS             The results have been distributed or are\r
-                                  awaiting distribution.  \r
+                                  awaiting distribution.\r
   @retval EFI_OUT_OF_RESOURCES    Not enough memory to store the\r
                                   parts of the results that must be\r
                                   stored awaiting possible future\r
@@ -1262,7 +1262,7 @@ BootMaintCallback (
   @retval FALSE  Not exit caller function.\r
 \r
 **/\r
-BOOLEAN \r
+BOOLEAN\r
 EFIAPI\r
 CreateBootOptionFromFile (\r
   IN EFI_DEVICE_PATH_PROTOCOL    *FilePath\r
@@ -1276,7 +1276,7 @@ CreateBootOptionFromFile (
   @retval TRUE   Exit caller function.\r
   @retval FALSE  Not exit caller function.\r
 **/\r
-BOOLEAN \r
+BOOLEAN\r
 EFIAPI\r
 CreateDriverOptionFromFile (\r
   IN EFI_DEVICE_PATH_PROTOCOL    *FilePath\r
@@ -1289,9 +1289,9 @@ CreateDriverOptionFromFile (
 \r
   @retval TRUE   Exit caller function.\r
   @retval FALSE  Not exit caller function.\r
-  \r
+\r
 **/\r
-BOOLEAN \r
+BOOLEAN\r
 EFIAPI\r
 BootFromFile (\r
   IN EFI_DEVICE_PATH_PROTOCOL    *FilePath\r