MdePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the MdePkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
1436aea4d5
commit
2f88bd3a12
@@ -27,25 +27,25 @@
|
||||
/// EFI_VARIABLE_BOOTSERVICE_ACCESS |
|
||||
/// EFI_VARIABLE_RUNTIME_ACCESS
|
||||
///
|
||||
#define MEMORY_OVERWRITE_REQUEST_VARIABLE_NAME L"MemoryOverwriteRequestControl"
|
||||
#define MEMORY_OVERWRITE_REQUEST_VARIABLE_NAME L"MemoryOverwriteRequestControl"
|
||||
|
||||
///
|
||||
/// 0 = Firmware MUST clear the MOR bit
|
||||
/// 1 = Firmware MUST set the MOR bit
|
||||
///
|
||||
#define MOR_CLEAR_MEMORY_BIT_MASK 0x01
|
||||
#define MOR_CLEAR_MEMORY_BIT_MASK 0x01
|
||||
|
||||
///
|
||||
/// 0 = Firmware MAY autodetect a clean shutdown of the Static RTM OS.
|
||||
/// 1 = Firmware MUST NOT autodetect a clean shutdown of the Static RTM OS.
|
||||
///
|
||||
#define MOR_DISABLEAUTODETECT_BIT_MASK 0x10
|
||||
#define MOR_DISABLEAUTODETECT_BIT_MASK 0x10
|
||||
|
||||
///
|
||||
/// MOR field bit offset
|
||||
///
|
||||
#define MOR_CLEAR_MEMORY_BIT_OFFSET 0
|
||||
#define MOR_DISABLEAUTODETECT_BIT_OFFSET 4
|
||||
#define MOR_CLEAR_MEMORY_BIT_OFFSET 0
|
||||
#define MOR_DISABLEAUTODETECT_BIT_OFFSET 4
|
||||
|
||||
/**
|
||||
Return the ClearMemory bit value 0 or 1.
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
@return ClearMemory bit value
|
||||
**/
|
||||
#define MOR_CLEAR_MEMORY_VALUE(mor) (((UINT8)(mor) & MOR_CLEAR_MEMORY_BIT_MASK) >> MOR_CLEAR_MEMORY_BIT_OFFSET)
|
||||
#define MOR_CLEAR_MEMORY_VALUE(mor) (((UINT8)(mor) & MOR_CLEAR_MEMORY_BIT_MASK) >> MOR_CLEAR_MEMORY_BIT_OFFSET)
|
||||
|
||||
/**
|
||||
Return the DisableAutoDetect bit value 0 or 1.
|
||||
@@ -63,8 +63,8 @@
|
||||
|
||||
@return DisableAutoDetect bit value
|
||||
**/
|
||||
#define MOR_DISABLE_AUTO_DETECT_VALUE(mor) (((UINT8)(mor) & MOR_DISABLEAUTODETECT_BIT_MASK) >> MOR_DISABLEAUTODETECT_BIT_OFFSET)
|
||||
#define MOR_DISABLE_AUTO_DETECT_VALUE(mor) (((UINT8)(mor) & MOR_DISABLEAUTODETECT_BIT_MASK) >> MOR_DISABLEAUTODETECT_BIT_OFFSET)
|
||||
|
||||
extern EFI_GUID gEfiMemoryOverwriteControlDataGuid;
|
||||
extern EFI_GUID gEfiMemoryOverwriteControlDataGuid;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user