IntelFrameworkModulePkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Variable operation that will be used by bootmaint
|
||||
|
||||
Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@@ -19,10 +19,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
After deleting this boot option, call Var_ChangeBootOrder to
|
||||
make sure BootOrder is in valid state.
|
||||
|
||||
@retval EFI_SUCCESS If all boot load option EFI Variables corresponding to
|
||||
@retval EFI_SUCCESS If all boot load option EFI Variables corresponding to
|
||||
BM_LOAD_CONTEXT marked for deletion is deleted.
|
||||
@retval EFI_NOT_FOUND If can not find the boot option want to be deleted.
|
||||
@return Others If failed to update the "BootOrder" variable after deletion.
|
||||
@return Others If failed to update the "BootOrder" variable after deletion.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
@@ -86,7 +86,7 @@ Var_DelBootOption (
|
||||
scratch by content from BootOptionMenu is needed.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@retval EFI_SUCCESS The boot order is updated successfully.
|
||||
@return EFI_STATUS other than EFI_SUCCESS if failed to
|
||||
@@ -313,7 +313,7 @@ Var_ChangeDriverOrder (
|
||||
}
|
||||
|
||||
/**
|
||||
Update the device path of "ConOut", "ConIn" and "ErrOut"
|
||||
Update the device path of "ConOut", "ConIn" and "ErrOut"
|
||||
based on the new BaudRate, Data Bits, parity and Stop Bits
|
||||
set.
|
||||
|
||||
@@ -383,7 +383,7 @@ Var_UpdateAllConsoleOption (
|
||||
|
||||
This function clear the EFI variable defined by ConsoleName and
|
||||
gEfiGlobalVariableGuid. It then build the multi-instance device
|
||||
path by appending the device path of the Console (In/Out/Err) instance
|
||||
path by appending the device path of the Console (In/Out/Err) instance
|
||||
in ConsoleMenu. Then it scan all corresponding console device by
|
||||
scanning Terminal (built from device supporting Serial I/O instances)
|
||||
devices in TerminalMenu. At last, it save a EFI variable specifed
|
||||
@@ -447,7 +447,7 @@ Var_UpdateConsoleOption (
|
||||
) {
|
||||
Vendor.Header.Type = MESSAGING_DEVICE_PATH;
|
||||
Vendor.Header.SubType = MSG_VENDOR_DP;
|
||||
|
||||
|
||||
ASSERT (NewTerminalContext->TerminalType < (ARRAY_SIZE (TerminalTypeGuid)));
|
||||
CopyMem (
|
||||
&Vendor.Guid,
|
||||
@@ -520,7 +520,7 @@ Var_UpdateConsoleOutOption (
|
||||
console device.
|
||||
|
||||
@retval EFI_SUCCESS The function complete successfully.
|
||||
@return The EFI variable can not be saved. See gRT->SetVariable for detail return information.
|
||||
@return The EFI variable can not be saved. See gRT->SetVariable for detail return information.
|
||||
**/
|
||||
EFI_STATUS
|
||||
Var_UpdateErrorOutOption (
|
||||
@@ -531,8 +531,8 @@ Var_UpdateErrorOutOption (
|
||||
}
|
||||
|
||||
/**
|
||||
This function create a currently loaded Drive Option from
|
||||
the BMM. It then appends this Driver Option to the end of
|
||||
This function create a currently loaded Drive Option from
|
||||
the BMM. It then appends this Driver Option to the end of
|
||||
the "DriverOrder" list. It append this Driver Opotion to the end
|
||||
of DriverOptionMenu.
|
||||
|
||||
@@ -726,8 +726,8 @@ Var_UpdateDriverOption (
|
||||
}
|
||||
|
||||
/**
|
||||
This function create a currently loaded Boot Option from
|
||||
the BMM. It then appends this Boot Option to the end of
|
||||
This function create a currently loaded Boot Option from
|
||||
the BMM. It then appends this Boot Option to the end of
|
||||
the "BootOrder" list. It also append this Boot Opotion to the end
|
||||
of BootOptionMenu.
|
||||
|
||||
@@ -911,7 +911,7 @@ Var_UpdateBootOption (
|
||||
}
|
||||
|
||||
/**
|
||||
This function update the "BootNext" EFI Variable. If there is
|
||||
This function update the "BootNext" EFI Variable. If there is
|
||||
no "BootNext" specified in BMM, this EFI Variable is deleted.
|
||||
It also update the BMM context data specified the "BootNext"
|
||||
vaule.
|
||||
@@ -919,7 +919,7 @@ Var_UpdateBootOption (
|
||||
@param CallbackData The BMM context data.
|
||||
|
||||
@retval EFI_SUCCESS The function complete successfully.
|
||||
@return The EFI variable can be saved. See gRT->SetVariable
|
||||
@return The EFI variable can be saved. See gRT->SetVariable
|
||||
for detail return information.
|
||||
|
||||
**/
|
||||
@@ -1105,7 +1105,7 @@ Var_UpdateDriverOrder (
|
||||
// Changing the content without increasing its size with current variable implementation shouldn't fail.
|
||||
//
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
|
||||
BOpt_FreeMenu (&DriverOptionMenu);
|
||||
BOpt_GetDriverOptions (CallbackData);
|
||||
return EFI_SUCCESS;
|
||||
|
Reference in New Issue
Block a user