///\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
///\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
///\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