MdeModulePkg: 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> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@ -1,20 +1,20 @@
|
||||
/** @file
|
||||
The EFI_SMM_SWAP_ADDRESS_RANGE_PROTOCOL is related to EDK II-specific implementation
|
||||
and used to abstract the swap operation of boot block and backup block of FV in EFI
|
||||
SMM environment. This swap is especially needed when updating the boot block of FV.
|
||||
If a power failure happens during the boot block update, the swapped backup block
|
||||
(now the boot block) can boot the machine with the old boot block backed up in it.
|
||||
The swap operation is platform dependent, so other protocols such as SMM FTW (Fault
|
||||
The EFI_SMM_SWAP_ADDRESS_RANGE_PROTOCOL is related to EDK II-specific implementation
|
||||
and used to abstract the swap operation of boot block and backup block of FV in EFI
|
||||
SMM environment. This swap is especially needed when updating the boot block of FV.
|
||||
If a power failure happens during the boot block update, the swapped backup block
|
||||
(now the boot block) can boot the machine with the old boot block backed up in it.
|
||||
The swap operation is platform dependent, so other protocols such as SMM FTW (Fault
|
||||
Tolerant Write) should use this protocol instead of handling hardware directly.
|
||||
|
||||
Copyright (c) 2010, 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 that accompanies this distribution.
|
||||
Copyright (c) 2010 - 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 that accompanies this distribution.
|
||||
The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
@ -29,10 +29,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
}
|
||||
|
||||
//
|
||||
// SMM Swap Address Range protocol structure is the same as Swap Address Range protocol.
|
||||
// The SMM one is intend to run in SMM environment, which means it can be used by
|
||||
// SMM drivers after ExitPmAuth.
|
||||
//
|
||||
// SMM Swap Address Range protocol structure is the same as Swap Address Range protocol.
|
||||
// The SMM one is intend to run in SMM environment, which means it can be used by
|
||||
// SMM drivers after ExitPmAuth.
|
||||
//
|
||||
typedef EFI_SWAP_ADDRESS_RANGE_PROTOCOL EFI_SMM_SWAP_ADDRESS_RANGE_PROTOCOL;
|
||||
|
||||
extern EFI_GUID gEfiSmmSwapAddressRangeProtocolGuid;
|
||||
|
Reference in New Issue
Block a user