summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Protocol/PartitionInfo.h
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2021-12-05 14:54:05 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-12-07 17:24:28 +0000
commit2f88bd3a1296c522317f1c21377876de63de5be7 (patch)
treeba47875489cc5698061275a495983e9dea3be098 /MdePkg/Include/Protocol/PartitionInfo.h
parent1436aea4d5707e672672a11bda72be2c63c936c3 (diff)
downloadedk2-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/Protocol/PartitionInfo.h')
-rw-r--r--MdePkg/Include/Protocol/PartitionInfo.h23
1 files changed, 11 insertions, 12 deletions
diff --git a/MdePkg/Include/Protocol/PartitionInfo.h b/MdePkg/Include/Protocol/PartitionInfo.h
index f57f4c68b7..ad5cf1c08f 100644
--- a/MdePkg/Include/Protocol/PartitionInfo.h
+++ b/MdePkg/Include/Protocol/PartitionInfo.h
@@ -21,11 +21,10 @@
#define EFI_PARTITION_INFO_PROTOCOL_GUID \
{ 0x8cf2f62c, 0xbc9b, 0x4821, { 0x80, 0x8d, 0xec, 0x9e, 0xc4, 0x21, 0xa1, 0xa0 }};
-
-#define EFI_PARTITION_INFO_PROTOCOL_REVISION 0x0001000
-#define PARTITION_TYPE_OTHER 0x00
-#define PARTITION_TYPE_MBR 0x01
-#define PARTITION_TYPE_GPT 0x02
+#define EFI_PARTITION_INFO_PROTOCOL_REVISION 0x0001000
+#define PARTITION_TYPE_OTHER 0x00
+#define PARTITION_TYPE_MBR 0x01
+#define PARTITION_TYPE_GPT 0x02
#pragma pack(1)
@@ -36,25 +35,25 @@ typedef struct {
//
// Set to EFI_PARTITION_INFO_PROTOCOL_REVISION.
//
- UINT32 Revision;
+ UINT32 Revision;
//
// Partition info type (PARTITION_TYPE_MBR, PARTITION_TYPE_GPT, or PARTITION_TYPE_OTHER).
//
- UINT32 Type;
+ UINT32 Type;
//
// If 1, partition describes an EFI System Partition.
//
- UINT8 System;
- UINT8 Reserved[7];
+ UINT8 System;
+ UINT8 Reserved[7];
union {
///
/// MBR data
///
- MBR_PARTITION_RECORD Mbr;
+ MBR_PARTITION_RECORD Mbr;
///
/// GPT data
///
- EFI_PARTITION_ENTRY Gpt;
+ EFI_PARTITION_ENTRY Gpt;
} Info;
} EFI_PARTITION_INFO_PROTOCOL;
@@ -63,6 +62,6 @@ typedef struct {
///
/// Partition Information Protocol GUID variable.
///
-extern EFI_GUID gEfiPartitionInfoProtocolGuid;
+extern EFI_GUID gEfiPartitionInfoProtocolGuid;
#endif