summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/DevicePath.h
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-21 14:13:47 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-21 14:13:47 +0000
commit8e7b8fb4d6984bbb7e2d80dd3eae3254269c3798 (patch)
treeb49e5c1502eb313a4eb841efe295806c6fc8f205 /MdePkg/Include/Protocol/DevicePath.h
parentadd9c350e7e6988578aa2b61a0412f71d3169671 (diff)
downloadedk2-8e7b8fb4d6984bbb7e2d80dd3eae3254269c3798.zip
edk2-8e7b8fb4d6984bbb7e2d80dd3eae3254269c3798.tar.gz
edk2-8e7b8fb4d6984bbb7e2d80dd3eae3254269c3798.tar.bz2
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
Diffstat (limited to 'MdePkg/Include/Protocol/DevicePath.h')
-rw-r--r--MdePkg/Include/Protocol/DevicePath.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h
index e10f5ba..579ab89 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];
///