]> git.proxmox.com Git - mirror_edk2.git/commitdiff
New data field added follow UEFI Spec.
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 1 Apr 2009 08:14:55 +0000 (08:14 +0000)
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 1 Apr 2009 08:14:55 +0000 (08:14 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7998 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Protocol/BlockIo.h

index ba3cae208201370e3df7de2ad9b0704bb1dde3f5..ce218b2ba05631970c42b99fc584f06af61f0a2c 100644 (file)
@@ -182,9 +182,24 @@ typedef struct {
   /// If the media changes, then this field is updated. \r
   ///\r
   EFI_LBA LastBlock; \r
+\r
+  ///\r
+  /// Only present if EFI_BLOCK_IO_PROTOCOL.Revision is greater than or equal to\r
+  /// EFI_BLOCK_IO_PROTOCOL_REVISION2. Returns the first LBA is aligned to \r
+  /// a physical block boundary. \r
+  ///\r
+  EFI_LBA LowestAlignedLba;\r
+\r
+  ///\r
+  /// Only present if EFI_BLOCK_IO_PROTOCOL.Revision is greater than or equal to\r
+  /// EFI_BLOCK_IO_PROTOCOL_REVISION2. Returns the number of logical blocks \r
+  /// per physical block.\r
+  ///\r
+  UINT32 LogicalBlocksPerPhysicalBlock;\r
 } EFI_BLOCK_IO_MEDIA;\r
 \r
 #define EFI_BLOCK_IO_PROTOCOL_REVISION  0x00010000\r
+#define EFI_BLOCK_IO_PROTOCOL_REVISION2 0x00020001\r
 \r
 ///\r
 /// Revision defined in EFI1.1.\r