X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FUefi%2FUefiGpt.h;h=5ae762db079fe2277ac1742b2d6c661ccff67cec;hb=2c6d600e1cf7a20ce92da563acfc7258c3c2bb7b;hp=202397b80ff4cfaa1e66e739d38ddfb77f59e3e2;hpb=842f5579c7e2a313f56c576e4c5150f7f4793079;p=mirror_edk2.git diff --git a/MdePkg/Include/Uefi/UefiGpt.h b/MdePkg/Include/Uefi/UefiGpt.h index 202397b80f..5ae762db07 100644 --- a/MdePkg/Include/Uefi/UefiGpt.h +++ b/MdePkg/Include/Uefi/UefiGpt.h @@ -1,7 +1,7 @@ -/* @file +/** @file EFI Guid Partition Table Format Definition. - Copyright (c) 2006 - 2007, Intel Corporation + Copyright (c) 2006 - 2008, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -15,17 +15,22 @@ #ifndef __UEFI_GPT_H__ #define __UEFI_GPT_H__ +/// +/// The primary GUID Partition Table Header must be +/// located in LBA 1 (i.e., the second logical block). +/// #define PRIMARY_PART_HEADER_LBA 1 -// -// EFI Partition Table Signature: "EFI PART" -// +/// +/// EFI Partition Table Signature: "EFI PART" +/// #define EFI_PTAB_HEADER_ID 0x5452415020494645ULL #pragma pack(1) -// -// GPT Partition Table Header -// + +/// +/// GPT Partition Table Header +/// typedef struct { EFI_TABLE_HEADER Header; EFI_LBA MyLBA; @@ -39,9 +44,9 @@ typedef struct { UINT32 PartitionEntryArrayCRC32; } EFI_PARTITION_TABLE_HEADER; -// -// GPT Partition Entry -// +/// +/// GPT Partition Entry +/// typedef struct { EFI_GUID PartitionTypeGUID; EFI_GUID UniquePartitionGUID; @@ -51,14 +56,6 @@ typedef struct { CHAR16 PartitionName[36]; } EFI_PARTITION_ENTRY; -// -// GPT Partition Entry Status -// -typedef struct { - BOOLEAN OutOfRange; - BOOLEAN Overlap; -} EFI_PARTITION_ENTRY_STATUS; - #pragma pack() #endif