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

Data Fields

EFI_PEI_BLOCK_DEVICE_TYPE DeviceType
 
BOOLEAN MediaPresent
 
UINTN LastBlock
 
UINTN BlockSize
 

Detailed Description

Specification inconsistency here: PEI_BLOCK_IO_MEDIA has been changed to EFI_PEI_BLOCK_IO_MEDIA. Inconsistency exists in UEFI Platform Initialization Specification 1.2 Volume 1: Pre-EFI Initialization Core Interface, where all references to this structure name are with the "EFI_" prefix, except for the definition which is without "EFI_". So the name of PEI_BLOCK_IO_MEDIA is taken as the exception, and EFI_PEI_BLOCK_IO_MEDIA is used to comply with most of the specification.

Field Documentation

UINTN EFI_PEI_BLOCK_IO_MEDIA::BlockSize

The size of a logical block in bytes.

EFI_PEI_BLOCK_DEVICE_TYPE EFI_PEI_BLOCK_IO_MEDIA::DeviceType

The type of media device being referenced by DeviceIndex.

UINTN EFI_PEI_BLOCK_IO_MEDIA::LastBlock

The last logical block that the device supports.

BOOLEAN EFI_PEI_BLOCK_IO_MEDIA::MediaPresent

A flag that indicates if media is present. This flag is always set for nonremovable media devices.