]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/BlockIo.h
New data field added follow UEFI Spec.
[mirror_edk2.git] / 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