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
@@ -19,7 +19,7 @@
|
||||
|
||||
typedef struct _EFI_ERASE_BLOCK_PROTOCOL EFI_ERASE_BLOCK_PROTOCOL;
|
||||
|
||||
#define EFI_ERASE_BLOCK_PROTOCOL_REVISION ((2<<16) | (60))
|
||||
#define EFI_ERASE_BLOCK_PROTOCOL_REVISION ((2<<16) | (60))
|
||||
|
||||
///
|
||||
/// EFI_ERASE_BLOCK_TOKEN
|
||||
@@ -30,11 +30,11 @@ typedef struct {
|
||||
// non-blocking I/O is supported, then non-blocking I/O is performed, and
|
||||
// Event will be signaled when the erase request is completed.
|
||||
//
|
||||
EFI_EVENT Event;
|
||||
EFI_EVENT Event;
|
||||
//
|
||||
// Defines whether the signaled event encountered an error.
|
||||
//
|
||||
EFI_STATUS TransactionStatus;
|
||||
EFI_STATUS TransactionStatus;
|
||||
} EFI_ERASE_BLOCK_TOKEN;
|
||||
|
||||
/**
|
||||
@@ -66,7 +66,7 @@ typedef struct {
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_BLOCK_ERASE) (
|
||||
(EFIAPI *EFI_BLOCK_ERASE)(
|
||||
IN EFI_ERASE_BLOCK_PROTOCOL *This,
|
||||
IN UINT32 MediaId,
|
||||
IN EFI_LBA LBA,
|
||||
@@ -85,15 +85,15 @@ struct _EFI_ERASE_BLOCK_PROTOCOL {
|
||||
// revisions must be backwards compatible. If a future version is not
|
||||
// backwards compatible, it is not the same GUID.
|
||||
//
|
||||
UINT64 Revision;
|
||||
UINT64 Revision;
|
||||
//
|
||||
// Returns the erase length granularity as a number of logical blocks. A
|
||||
// value of 1 means the erase granularity is one logical block.
|
||||
//
|
||||
UINT32 EraseLengthGranularity;
|
||||
EFI_BLOCK_ERASE EraseBlocks;
|
||||
UINT32 EraseLengthGranularity;
|
||||
EFI_BLOCK_ERASE EraseBlocks;
|
||||
};
|
||||
|
||||
extern EFI_GUID gEfiEraseBlockProtocolGuid;
|
||||
extern EFI_GUID gEfiEraseBlockProtocolGuid;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user