From 8e7b8fb4d6984bbb7e2d80dd3eae3254269c3798 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Mon, 21 Sep 2009 14:13:47 +0000 Subject: [PATCH] Clarify Signature field in EFI_PARTITION_ENTRY structure. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9287 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Protocol/DevicePath.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h index e10f5ba2a5..579ab89205 100644 --- a/MdePkg/Include/Protocol/DevicePath.h +++ b/MdePkg/Include/Protocol/DevicePath.h @@ -777,8 +777,7 @@ typedef struct { /// Describes the entry in a partition table, starting with entry 1. /// Partition number zero represents the entire device. Valid /// partition numbers for a MBR partition are [1, 4]. Valid - /// partition numbers for a GPT partition are [1, - /// NumberOfPartitionEntries]. + /// partition numbers for a GPT partition are [1, NumberOfPartitionEntries]. /// UINT32 PartitionNumber; /// @@ -790,7 +789,11 @@ typedef struct { /// UINT64 PartitionSize; /// - /// Signature unique to this partition + /// Signature unique to this partition: + /// If SignatureType is 0, this field has to be initialized with 16 zeros. + /// If SignatureType is 1, the MBR signature is stored in the first 4 bytes of this field. + /// The other 12 bytes are initialized with zeros. + /// If SignatureType is 2, this field contains a 16 byte signature. /// UINT8 Signature[16]; /// -- 2.39.2