Hi All,

EFI_BLOCK_IO_MEDIA has two new fields, LowestAlignedLba and
LogicalBlocksPerPhysicalBlock, added in the revision2 and a field
OptimalTransferLengthGranularity added in revision3 of
EFI_BLOCK_IO_PROTOCOL.
Couldn’t find more info from https://github.com/tianocore/edk2.

Please help to understand how these fields are consumed by the system
firmware?

typedef struct {
UINT32 MediaId;
BOOLEAN RemovableMedia;
BOOLEAN MediaPresent;
BOOLEAN LogicalPartition;
BOOLEAN ReadOnly;
BOOLEAN WriteCaching;
UINT32 BlockSize;
UINT32 IoAlign;
EFI_LBA LastBlock;
EFI_LBA LowestAlignedLba; //added in Revision 2
UINT32 LogicalBlocksPerPhysicalBlock; //added in Revision 2
UINT32 OptimalTransferLengthGranularity; // added in Revision 3
} EFI_BLOCK_IO_MEDIA;

Thanks,
Jabir
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to