summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Uefi
diff options
context:
space:
mode:
authorChen A Chen <chen.a.chen@intel.com>2019-01-16 16:11:51 +0800
committerHao Wu <hao.a.wu@intel.com>2019-01-31 11:10:54 +0800
commit0d47abeff63b40727abeba79d547d9542e04864f (patch)
treeaa5826763832bf4079dd22a8fcdf3620a9fb4bc6 /MdePkg/Include/Uefi
parent6aac772c560db55fd82c1e19767036a6f70144a2 (diff)
downloadedk2-0d47abeff63b40727abeba79d547d9542e04864f.tar.gz
edk2-0d47abeff63b40727abeba79d547d9542e04864f.tar.bz2
edk2-0d47abeff63b40727abeba79d547d9542e04864f.zip
MdePkg/UefiGpt.h: Add new definition for enable GPT support
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1470 This definition comes from UEFI Spec to support GPT in FatPei driver. Cc: Liming Gao <liming.gao@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Zhang Chao B <chao.b.zhang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chen A Chen <chen.a.chen@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg/Include/Uefi')
-rw-r--r--MdePkg/Include/Uefi/UefiGpt.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/MdePkg/Include/Uefi/UefiGpt.h b/MdePkg/Include/Uefi/UefiGpt.h
index f635b05390..e4e919beaf 100644
--- a/MdePkg/Include/Uefi/UefiGpt.h
+++ b/MdePkg/Include/Uefi/UefiGpt.h
@@ -1,7 +1,7 @@
/** @file
EFI Guid Partition Table Format Definition.
-Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
@@ -24,6 +24,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
/// EFI Partition Table Signature: "EFI PART".
///
#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
#pragma pack(1)