]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/BlockIo2.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Protocol / BlockIo2.h
index a2868b9895d8eee33453a8e5bbcac47962f9eff3..d25f51f73354f42b831d14b4a7238b94e93f0cbd 100644 (file)
     0xa77b2472, 0xe282, 0x4e9f, {0xa2, 0x45, 0xc2, 0xc0, 0xe2, 0x7b, 0xbc, 0xc1} \\r
   }\r
 \r
-typedef struct _EFI_BLOCK_IO2_PROTOCOL  EFI_BLOCK_IO2_PROTOCOL;\r
+typedef struct _EFI_BLOCK_IO2_PROTOCOL EFI_BLOCK_IO2_PROTOCOL;\r
 \r
 /**\r
   The struct of Block IO2 Token.\r
 **/\r
 typedef struct {\r
-\r
   ///\r
   /// If Event is NULL, then blocking I/O is performed.If Event is not NULL and\r
   /// non-blocking I/O is supported, then non-blocking I/O is performed, and\r
   /// Event will be signaled when the read request is completed.\r
   ///\r
-  EFI_EVENT               Event;\r
+  EFI_EVENT     Event;\r
 \r
   ///\r
   /// Defines whether or not the signaled event encountered an error.\r
   ///\r
-  EFI_STATUS              TransactionStatus;\r
+  EFI_STATUS    TransactionStatus;\r
 } EFI_BLOCK_IO2_TOKEN;\r
 \r
-\r
 /**\r
   Reset the block device hardware.\r
 \r
@@ -56,7 +54,7 @@ typedef struct {
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_BLOCK_RESET_EX) (\r
+(EFIAPI *EFI_BLOCK_RESET_EX)(\r
   IN EFI_BLOCK_IO2_PROTOCOL  *This,\r
   IN BOOLEAN                 ExtendedVerification\r
   );\r
@@ -96,13 +94,13 @@ EFI_STATUS
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_BLOCK_READ_EX) (\r
+(EFIAPI *EFI_BLOCK_READ_EX)(\r
   IN     EFI_BLOCK_IO2_PROTOCOL *This,\r
   IN     UINT32                 MediaId,\r
   IN     EFI_LBA                LBA,\r
   IN OUT EFI_BLOCK_IO2_TOKEN    *Token,\r
   IN     UINTN                  BufferSize,\r
-     OUT VOID                  *Buffer\r
+  OUT VOID                  *Buffer\r
   );\r
 \r
 /**\r
@@ -138,7 +136,7 @@ EFI_STATUS
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_BLOCK_WRITE_EX) (\r
+(EFIAPI *EFI_BLOCK_WRITE_EX)(\r
   IN     EFI_BLOCK_IO2_PROTOCOL  *This,\r
   IN     UINT32                 MediaId,\r
   IN     EFI_LBA                LBA,\r
@@ -171,7 +169,7 @@ EFI_STATUS
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_BLOCK_FLUSH_EX) (\r
+(EFIAPI *EFI_BLOCK_FLUSH_EX)(\r
   IN     EFI_BLOCK_IO2_PROTOCOL   *This,\r
   IN OUT EFI_BLOCK_IO2_TOKEN      *Token\r
   );\r
@@ -186,15 +184,14 @@ struct _EFI_BLOCK_IO2_PROTOCOL {
   /// A pointer to the EFI_BLOCK_IO_MEDIA data for this device.\r
   /// Type EFI_BLOCK_IO_MEDIA is defined in BlockIo.h.\r
   ///\r
-  EFI_BLOCK_IO_MEDIA      *Media;\r
+  EFI_BLOCK_IO_MEDIA    *Media;\r
 \r
-  EFI_BLOCK_RESET_EX      Reset;\r
-  EFI_BLOCK_READ_EX       ReadBlocksEx;\r
-  EFI_BLOCK_WRITE_EX      WriteBlocksEx;\r
-  EFI_BLOCK_FLUSH_EX      FlushBlocksEx;\r
+  EFI_BLOCK_RESET_EX    Reset;\r
+  EFI_BLOCK_READ_EX     ReadBlocksEx;\r
+  EFI_BLOCK_WRITE_EX    WriteBlocksEx;\r
+  EFI_BLOCK_FLUSH_EX    FlushBlocksEx;\r
 };\r
 \r
-extern EFI_GUID gEfiBlockIo2ProtocolGuid;\r
+extern EFI_GUID  gEfiBlockIo2ProtocolGuid;\r
 \r
 #endif\r
-\r