ReactOS 0.4.16-dev-732-g2d1144a
|
#include <BlockIo.h>
Block IO read only mode data and updated only via members of BlockIO
UINT32 EFI_BLOCK_IO_MEDIA::BlockSize |
The intrinsic block size of the device. If the media changes, then this field is updated.
Definition at line 173 of file BlockIo.h.
Referenced by BlockIoEfiGetBlockIoInformation(), BlockIoFirmwareRead(), UefiDiskGetDriveGeometry(), UefiDiskOpen(), UefiDiskReadLogicalSectors(), UefiInitializeBootDevices(), UefiSetBootpath(), and UefiSetupBlockDevices().
UINT32 EFI_BLOCK_IO_MEDIA::IoAlign |
Supplies the alignment requirement for any buffer to read or write block(s).
Definition at line 178 of file BlockIo.h.
Referenced by BlockIoEfiGetBlockIoInformation().
EFI_LBA EFI_BLOCK_IO_MEDIA::LastBlock |
The last logical block address on the device. If the media changes, then this field is updated.
Definition at line 184 of file BlockIo.h.
Referenced by BlockIoEfiGetBlockIoInformation(), UefiDiskGetCacheableBlockCount(), and UefiDiskGetDriveGeometry().
UINT32 EFI_BLOCK_IO_MEDIA::LogicalBlocksPerPhysicalBlock |
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.
BOOLEAN EFI_BLOCK_IO_MEDIA::LogicalPartition |
TRUE if LBA 0 is the first block of a partition; otherwise FALSE. For media with only one partition this would be TRUE.
Definition at line 156 of file BlockIo.h.
Referenced by UefiSetupBlockDevices().
EFI_LBA EFI_BLOCK_IO_MEDIA::LowestAlignedLba |
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.
UINT32 EFI_BLOCK_IO_MEDIA::MediaId |
The curent media Id. If the media changes, this value is changed.
Definition at line 138 of file BlockIo.h.
Referenced by BlockIoFirmwareRead(), and UefiDiskReadLogicalSectors().
BOOLEAN EFI_BLOCK_IO_MEDIA::MediaPresent |
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.
Definition at line 150 of file BlockIo.h.
Referenced by BlockIoEfiGetBlockIoInformation().
UINT32 EFI_BLOCK_IO_MEDIA::OptimalTransferLengthGranularity |
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.
BOOLEAN EFI_BLOCK_IO_MEDIA::ReadOnly |
BOOLEAN EFI_BLOCK_IO_MEDIA::RemovableMedia |
TRUE if the media is removable; otherwise, FALSE.
Definition at line 143 of file BlockIo.h.
Referenced by BlockIoEfiGetBlockIoInformation(), UefiInitializeBootDevices(), and UefiSetBootpath().
BOOLEAN EFI_BLOCK_IO_MEDIA::WriteCaching |