]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Clarify Signature field in EFI_PARTITION_ENTRY structure.
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 21 Sep 2009 14:13:47 +0000 (14:13 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 21 Sep 2009 14:13:47 +0000 (14:13 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9287 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Protocol/DevicePath.h

index e10f5ba2a53b665783c1d967ce179c5af7f7b7c9..579ab89205df9c1f5e686bac5c53a70b72798129 100644 (file)
@@ -777,8 +777,7 @@ typedef struct {
   /// Describes the entry in a partition table, starting with entry 1.\r
   /// Partition number zero represents the entire device. Valid\r
   /// partition numbers for a MBR partition are [1, 4]. Valid\r
-  /// partition numbers for a GPT partition are [1,\r
-  /// NumberOfPartitionEntries].\r
+  /// partition numbers for a GPT partition are [1, NumberOfPartitionEntries].\r
   ///\r
   UINT32                          PartitionNumber;\r
   ///\r
@@ -790,7 +789,11 @@ typedef struct {
   ///\r
   UINT64                          PartitionSize;\r
   ///\r
-  /// Signature unique to this partition\r
+  /// Signature unique to this partition:\r
+  /// If SignatureType is 0, this field has to be initialized with 16 zeros.\r
+  /// If SignatureType is 1, the MBR signature is stored in the first 4 bytes of this field.\r
+  /// The other 12 bytes are initialized with zeros.\r
+  /// If SignatureType is 2, this field contains a 16 byte signature.\r
   ///\r
   UINT8                           Signature[16];\r
   ///\r