MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
EFI_PEI_BLOCK_IO2_MEDIA Struct Reference

Data Fields

UINT8 InterfaceType
 
BOOLEAN RemovableMedia
 
BOOLEAN MediaPresent
 
BOOLEAN ReadOnly
 
UINT32 BlockSize
 
EFI_PEI_LBA LastBlock
 

Field Documentation

UINT32 EFI_PEI_BLOCK_IO2_MEDIA::BlockSize

The size of a logical block in bytes.

UINT8 EFI_PEI_BLOCK_IO2_MEDIA::InterfaceType

A type of interface that the device being referenced by DeviceIndex is attached to. This field re-uses Messaging Device Path Node sub-type values as defined by Section 9.3.5 Messaging Device Path of UEFI Specification. When more than one sub-type is associated with the interface, sub-type with the smallest number must be used.

EFI_PEI_LBA EFI_PEI_BLOCK_IO2_MEDIA::LastBlock

The last logical block that the device supports.

BOOLEAN EFI_PEI_BLOCK_IO2_MEDIA::MediaPresent

A flag that indicates if media is present. This flag is always set for non-removable media devices.

BOOLEAN EFI_PEI_BLOCK_IO2_MEDIA::ReadOnly

A flag that indicates if media is read-only.

BOOLEAN EFI_PEI_BLOCK_IO2_MEDIA::RemovableMedia

A flag that indicates if media is removable.