summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Protocol/DiskIo2.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Protocol/DiskIo2.h')
-rw-r--r--MdePkg/Include/Protocol/DiskIo2.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/MdePkg/Include/Protocol/DiskIo2.h b/MdePkg/Include/Protocol/DiskIo2.h
index 08f2aabcd4..c989bb5f45 100644
--- a/MdePkg/Include/Protocol/DiskIo2.h
+++ b/MdePkg/Include/Protocol/DiskIo2.h
@@ -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