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