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
@@ -30,12 +30,12 @@ typedef struct {
|
||||
// The caller must be prepared to handle the case where the callback associated with Event occurs
|
||||
// before the original asynchronous I/O request call returns.
|
||||
//
|
||||
EFI_EVENT Event;
|
||||
EFI_EVENT Event;
|
||||
|
||||
//
|
||||
// Defines whether or not the signaled event encountered an error.
|
||||
//
|
||||
EFI_STATUS TransactionStatus;
|
||||
EFI_STATUS TransactionStatus;
|
||||
} EFI_DISK_IO2_TOKEN;
|
||||
|
||||
/**
|
||||
@@ -49,7 +49,7 @@ typedef struct {
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_DISK_CANCEL_EX) (
|
||||
(EFIAPI *EFI_DISK_CANCEL_EX)(
|
||||
IN EFI_DISK_IO2_PROTOCOL *This
|
||||
);
|
||||
|
||||
@@ -77,7 +77,7 @@ EFI_STATUS
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_DISK_READ_EX) (
|
||||
(EFIAPI *EFI_DISK_READ_EX)(
|
||||
IN EFI_DISK_IO2_PROTOCOL *This,
|
||||
IN UINT32 MediaId,
|
||||
IN UINT64 Offset,
|
||||
@@ -110,7 +110,7 @@ EFI_STATUS
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_DISK_WRITE_EX) (
|
||||
(EFIAPI *EFI_DISK_WRITE_EX)(
|
||||
IN EFI_DISK_IO2_PROTOCOL *This,
|
||||
IN UINT32 MediaId,
|
||||
IN UINT64 Offset,
|
||||
@@ -138,12 +138,12 @@ EFI_STATUS
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_DISK_FLUSH_EX) (
|
||||
(EFIAPI *EFI_DISK_FLUSH_EX)(
|
||||
IN EFI_DISK_IO2_PROTOCOL *This,
|
||||
IN OUT EFI_DISK_IO2_TOKEN *Token
|
||||
);
|
||||
|
||||
#define EFI_DISK_IO2_PROTOCOL_REVISION 0x00020000
|
||||
#define EFI_DISK_IO2_PROTOCOL_REVISION 0x00020000
|
||||
|
||||
///
|
||||
/// This protocol is used to abstract Block I/O interfaces.
|
||||
@@ -154,13 +154,13 @@ struct _EFI_DISK_IO2_PROTOCOL {
|
||||
/// revisions must be backwards compatible. If a future version is not
|
||||
/// backwards compatible, it is not the same GUID.
|
||||
///
|
||||
UINT64 Revision;
|
||||
EFI_DISK_CANCEL_EX Cancel;
|
||||
EFI_DISK_READ_EX ReadDiskEx;
|
||||
EFI_DISK_WRITE_EX WriteDiskEx;
|
||||
EFI_DISK_FLUSH_EX FlushDiskEx;
|
||||
UINT64 Revision;
|
||||
EFI_DISK_CANCEL_EX Cancel;
|
||||
EFI_DISK_READ_EX ReadDiskEx;
|
||||
EFI_DISK_WRITE_EX WriteDiskEx;
|
||||
EFI_DISK_FLUSH_EX FlushDiskEx;
|
||||
};
|
||||
|
||||
extern EFI_GUID gEfiDiskIo2ProtocolGuid;
|
||||
extern EFI_GUID gEfiDiskIo2ProtocolGuid;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user