- UINT32 MediaId; ///< The curent media Id. If the media changes, this value is changed.\r
- BOOLEAN RemovableMedia; ///< TRUE if the media is removable; otherwise, FALSE.\r
- BOOLEAN MediaPresent; /**< TRUE if there is a media currently present in the device;\r
- othersise, FALSE. THis field shows the media present status\r
- as of the most recent ReadBlocks() or WriteBlocks() call.\r
- **/\r
- BOOLEAN LogicalPartition; /**< TRUE if LBA 0 is the first block of a partition; otherwise\r
- FALSE. For media with only one partition this would be TRUE.\r
- **/\r
- BOOLEAN ReadOnly; /**< TRUE if the media is marked read-only otherwise, FALSE.\r
- This field shows the read-only status as of the most recent WriteBlocks () call.\r
- **/\r
- BOOLEAN WriteCaching; ///< TRUE if the WriteBlock () function caches write data.\r
-\r
- UINT32 BlockSize; /**< The intrinsic block size of the device. If the media changes, then\r
- this field is updated.\r
- **/\r
- UINT32 IoAlign; ///< Supplies the alignment requirement for any buffer to read or write block(s).\r
-\r
- EFI_LBA LastBlock; /**< The last logical block address on the device.\r
- If the media changes, then this field is updated.\r
- **/\r
+ ///\r
+ /// The curent media Id. If the media changes, this value is changed.\r
+ ///\r
+ UINT32 MediaId;\r
+\r
+ ///\r
+ /// TRUE if the media is removable; otherwise, FALSE.\r
+ ///\r
+ BOOLEAN RemovableMedia;\r
+\r
+ ///\r
+ /// TRUE if there is a media currently present in the device;\r
+ /// othersise, FALSE. THis field shows the media present status\r
+ /// as of the most recent ReadBlocks() or WriteBlocks() call.\r
+ ///\r
+ BOOLEAN MediaPresent;\r
+\r
+ ///\r
+ /// TRUE if LBA 0 is the first block of a partition; otherwise\r
+ /// FALSE. For media with only one partition this would be TRUE.\r
+ ///\r
+ BOOLEAN LogicalPartition;\r
+\r
+ ///\r
+ /// TRUE if the media is marked read-only otherwise, FALSE.\r
+ /// This field shows the read-only status as of the most recent WriteBlocks () call.\r
+ ///\r
+ BOOLEAN ReadOnly;\r
+\r
+ ///\r
+ /// TRUE if the WriteBlock () function caches write data.\r
+ ///\r
+ BOOLEAN WriteCaching;\r
+\r
+ ///\r
+ /// The intrinsic block size of the device. If the media changes, then\r
+ /// this field is updated.\r
+ ///\r
+ UINT32 BlockSize;\r
+\r
+ ///\r
+ /// Supplies the alignment requirement for any buffer to read or write block(s).\r
+ ///\r
+ UINT32 IoAlign;\r
+\r
+ ///\r
+ /// The last logical block address on the device.\r
+ /// 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
+\r
+ ///\r
+ /// Only present if EFI_BLOCK_IO_PROTOCOL.Revision is greater than or equal to\r
+ /// EFI_BLOCK_IO_PROTOCOL_REVISION3. Returns the optimal transfer length\r
+ /// granularity as a number of logical blocks.\r
+ ///\r
+ UINT32 OptimalTransferLengthGranularity;\r