summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Uefi/UefiGpt.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Uefi/UefiGpt.h')
-rw-r--r--MdePkg/Include/Uefi/UefiGpt.h36
1 files changed, 17 insertions, 19 deletions
diff --git a/MdePkg/Include/Uefi/UefiGpt.h b/MdePkg/Include/Uefi/UefiGpt.h
index af7fb2ff3d..c295d55198 100644
--- a/MdePkg/Include/Uefi/UefiGpt.h
+++ b/MdePkg/Include/Uefi/UefiGpt.h
@@ -13,15 +13,15 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
/// The primary GUID Partition Table Header must be
/// located in LBA 1 (i.e., the second logical block).
///
-#define PRIMARY_PART_HEADER_LBA 1
+#define PRIMARY_PART_HEADER_LBA 1
///
/// EFI Partition Table Signature: "EFI PART".
///
-#define EFI_PTAB_HEADER_ID SIGNATURE_64 ('E','F','I',' ','P','A','R','T')
+#define EFI_PTAB_HEADER_ID SIGNATURE_64 ('E','F','I',' ','P','A','R','T')
///
/// Minimum bytes reserve for EFI entry array buffer.
///
-#define EFI_GPT_PART_ENTRY_MIN_SIZE 16384
+#define EFI_GPT_PART_ENTRY_MIN_SIZE 16384
#pragma pack(1)
@@ -33,51 +33,51 @@ typedef struct {
/// The table header for the GPT partition Table.
/// This header contains EFI_PTAB_HEADER_ID.
///
- EFI_TABLE_HEADER Header;
+ EFI_TABLE_HEADER Header;
///
/// The LBA that contains this data structure.
///
- EFI_LBA MyLBA;
+ EFI_LBA MyLBA;
///
/// LBA address of the alternate GUID Partition Table Header.
///
- EFI_LBA AlternateLBA;
+ EFI_LBA AlternateLBA;
///
/// The first usable logical block that may be used
/// by a partition described by a GUID Partition Entry.
///
- EFI_LBA FirstUsableLBA;
+ EFI_LBA FirstUsableLBA;
///
/// The last usable logical block that may be used
/// by a partition described by a GUID Partition Entry.
///
- EFI_LBA LastUsableLBA;
+ EFI_LBA LastUsableLBA;
///
/// GUID that can be used to uniquely identify the disk.
///
- EFI_GUID DiskGUID;
+ EFI_GUID DiskGUID;
///
/// The starting LBA of the GUID Partition Entry array.
///
- EFI_LBA PartitionEntryLBA;
+ EFI_LBA PartitionEntryLBA;
///
/// The number of Partition Entries in the GUID Partition Entry array.
///
- UINT32 NumberOfPartitionEntries;
+ UINT32 NumberOfPartitionEntries;
///
/// The size, in bytes, of each the GUID Partition
/// Entry structures in the GUID Partition Entry
/// array. This field shall be set to a value of 128 x 2^n where n is
/// an integer greater than or equal to zero (e.g., 128, 256, 512, etc.).
///
- UINT32 SizeOfPartitionEntry;
+ UINT32 SizeOfPartitionEntry;
///
/// The CRC32 of the GUID Partition Entry array.
/// Starts at PartitionEntryLBA and is
/// computed over a byte length of
/// NumberOfPartitionEntries * SizeOfPartitionEntry.
///
- UINT32 PartitionEntryArrayCRC32;
+ UINT32 PartitionEntryArrayCRC32;
} EFI_PARTITION_TABLE_HEADER;
///
@@ -88,21 +88,21 @@ typedef struct {
/// Unique ID that defines the purpose and type of this Partition. A value of
/// zero defines that this partition entry is not being used.
///
- EFI_GUID PartitionTypeGUID;
+ EFI_GUID PartitionTypeGUID;
///
/// GUID that is unique for every partition entry. Every partition ever
/// created will have a unique GUID.
/// This GUID must be assigned when the GUID Partition Entry is created.
///
- EFI_GUID UniquePartitionGUID;
+ EFI_GUID UniquePartitionGUID;
///
/// Starting LBA of the partition defined by this entry
///
- EFI_LBA StartingLBA;
+ EFI_LBA StartingLBA;
///
/// Ending LBA of the partition defined by this entry.
///
- EFI_LBA EndingLBA;
+ EFI_LBA EndingLBA;
///
/// Attribute bits, all bits reserved by UEFI
/// Bit 0: If this bit is set, the partition is required for the platform to function. The owner/creator of the
@@ -135,5 +135,3 @@ typedef struct {
#pragma pack()
#endif
-
-