diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-21 14:13:47 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-21 14:13:47 +0000 |
commit | 8e7b8fb4d6984bbb7e2d80dd3eae3254269c3798 (patch) | |
tree | b49e5c1502eb313a4eb841efe295806c6fc8f205 /MdePkg/Include/Protocol | |
parent | add9c350e7e6988578aa2b61a0412f71d3169671 (diff) | |
download | edk2-platforms-8e7b8fb4d6984bbb7e2d80dd3eae3254269c3798.tar.xz |
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')
-rw-r--r-- | MdePkg/Include/Protocol/DevicePath.h | 9 |
1 files 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];
///
|