]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ppi/BlockIo.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Ppi / BlockIo.h
index 3a4955be6b59978ed86fb0c736cc002a45a8d0d4..3aa5410b2d7fec01031982eb7b1ac79fb8d2d844 100644 (file)
@@ -33,24 +33,24 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 ///\r
 /// The forward declaration for EFI_PEI_RECOVERY_BLOCK_IO_PPI.\r
 ///\r
-typedef struct _EFI_PEI_RECOVERY_BLOCK_IO_PPI  EFI_PEI_RECOVERY_BLOCK_IO_PPI;\r
+typedef struct _EFI_PEI_RECOVERY_BLOCK_IO_PPI EFI_PEI_RECOVERY_BLOCK_IO_PPI;\r
 \r
 ///\r
 /// All blocks on the recovery device are addressed with a 64-bit Logical Block Address (LBA).\r
 ///\r
-typedef UINT64  EFI_PEI_LBA;\r
+typedef UINT64 EFI_PEI_LBA;\r
 \r
 ///\r
 /// EFI_PEI_BLOCK_DEVICE_TYPE\r
 ///\r
 typedef enum {\r
-  LegacyFloppy  = 0,   ///< The recovery device is a floppy.\r
-  IdeCDROM      = 1,   ///< The recovery device is an IDE CD-ROM\r
-  IdeLS120      = 2,   ///< The recovery device is an IDE LS-120\r
-  UsbMassStorage= 3,   ///< The recovery device is a USB Mass Storage device\r
-  SD            = 4,   ///< The recovery device is a Secure Digital device\r
-  EMMC          = 5,   ///< The recovery device is a eMMC device\r
-  UfsDevice     = 6,   ///< The recovery device is a Universal Flash Storage device\r
+  LegacyFloppy   = 0,  ///< The recovery device is a floppy.\r
+  IdeCDROM       = 1,  ///< The recovery device is an IDE CD-ROM\r
+  IdeLS120       = 2,  ///< The recovery device is an IDE LS-120\r
+  UsbMassStorage = 3,  ///< The recovery device is a USB Mass Storage device\r
+  SD             = 4,  ///< The recovery device is a Secure Digital device\r
+  EMMC           = 5,  ///< The recovery device is a eMMC device\r
+  UfsDevice      = 6,  ///< The recovery device is a Universal Flash Storage device\r
   MaxDeviceType\r
 } EFI_PEI_BLOCK_DEVICE_TYPE;\r
 \r
@@ -68,20 +68,20 @@ typedef struct {
   ///\r
   /// The type of media device being referenced by DeviceIndex.\r
   ///\r
-  EFI_PEI_BLOCK_DEVICE_TYPE  DeviceType;\r
+  EFI_PEI_BLOCK_DEVICE_TYPE    DeviceType;\r
   ///\r
   /// A flag that indicates if media is present. This flag is always set for\r
   /// nonremovable media devices.\r
   ///\r
-  BOOLEAN                    MediaPresent;\r
+  BOOLEAN                      MediaPresent;\r
   ///\r
   /// The last logical block that the device supports.\r
   ///\r
-  UINTN                      LastBlock;\r
+  UINTN                        LastBlock;\r
   ///\r
   /// The size of a logical block in bytes.\r
   ///\r
-  UINTN                      BlockSize;\r
+  UINTN                        BlockSize;\r
 } EFI_PEI_BLOCK_IO_MEDIA;\r
 \r
 /**\r
@@ -214,19 +214,19 @@ struct _EFI_PEI_RECOVERY_BLOCK_IO_PPI {
   ///\r
   /// Gets the number of block I/O devices that the specific block driver manages.\r
   ///\r
-  EFI_PEI_GET_NUMBER_BLOCK_DEVICES      GetNumberOfBlockDevices;\r
+  EFI_PEI_GET_NUMBER_BLOCK_DEVICES        GetNumberOfBlockDevices;\r
 \r
   ///\r
   /// Gets the specified media information.\r
   ///\r
-  EFI_PEI_GET_DEVICE_MEDIA_INFORMATION  GetBlockDeviceMediaInfo;\r
+  EFI_PEI_GET_DEVICE_MEDIA_INFORMATION    GetBlockDeviceMediaInfo;\r
 \r
   ///\r
   /// Reads the requested number of blocks from the specified block device.\r
   ///\r
-  EFI_PEI_READ_BLOCKS                   ReadBlocks;\r
+  EFI_PEI_READ_BLOCKS                     ReadBlocks;\r
 };\r
 \r
-extern EFI_GUID gEfiPeiVirtualBlockIoPpiGuid;\r
+extern EFI_GUID  gEfiPeiVirtualBlockIoPpiGuid;\r
 \r
 #endif\r