EFI_BLOCK_IO_MEDIA Struct Reference


Data Fields

UINT32 MediaId
BOOLEAN RemovableMedia
BOOLEAN MediaPresent
BOOLEAN LogicalPartition
BOOLEAN ReadOnly
BOOLEAN WriteCaching
UINT32 BlockSize
UINT32 IoAlign
EFI_LBA LastBlock
EFI_LBA LowestAlignedLba
UINT32 LogicalBlocksPerPhysicalBlock
UINT32 OptimalTransferLengthGranularity

Detailed Description

Block IO read only mode data and updated only via members of BlockIO

Field Documentation

The intrinsic block size of the device. If the media changes, then this field is updated.

Supplies the alignment requirement for any buffer to read or write block(s).

The last logical block address on the device. If the media changes, then this field is updated.

Only present if EFI_BLOCK_IO_PROTOCOL.Revision is greater than or equal to EFI_BLOCK_IO_PROTOCOL_REVISION2. Returns the number of logical blocks per physical block.

TRUE if LBA 0 is the first block of a partition; otherwise FALSE. For media with only one partition this would be TRUE.

Only present if EFI_BLOCK_IO_PROTOCOL.Revision is greater than or equal to EFI_BLOCK_IO_PROTOCOL_REVISION2. Returns the first LBA is aligned to a physical block boundary.

The curent media Id. If the media changes, this value is changed.

TRUE if there is a media currently present in the device; othersise, FALSE. THis field shows the media present status as of the most recent ReadBlocks() or WriteBlocks() call.

Only present if EFI_BLOCK_IO_PROTOCOL.Revision is greater than or equal to EFI_BLOCK_IO_PROTOCOL_REVISION3. Returns the optimal transfer length granularity as a number of logical blocks.

TRUE if the media is marked read-only otherwise, FALSE. This field shows the read-only status as of the most recent WriteBlocks () call.

TRUE if the media is removable; otherwise, FALSE.

TRUE if the WriteBlock () function caches write data.


Generated on Wed Sep 23 16:24:26 2015 for MdePkg[ALL] by  doxygen 1.5.7.1