diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2021-12-05 14:54:05 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-12-07 17:24:28 +0000 |
commit | 2f88bd3a1296c522317f1c21377876de63de5be7 (patch) | |
tree | ba47875489cc5698061275a495983e9dea3be098 /MdePkg/Include/Ppi/BlockIo.h | |
parent | 1436aea4d5707e672672a11bda72be2c63c936c3 (diff) | |
download | edk2-2f88bd3a1296c522317f1c21377876de63de5be7.tar.gz edk2-2f88bd3a1296c522317f1c21377876de63de5be7.tar.bz2 edk2-2f88bd3a1296c522317f1c21377876de63de5be7.zip |
MdePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737
Apply uncrustify changes to .c/.h files in the MdePkg package
Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'MdePkg/Include/Ppi/BlockIo.h')
-rw-r--r-- | MdePkg/Include/Ppi/BlockIo.h | 34 |
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
|