public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* More info on revision2 and revision3 of EFI_BLOCK_IO_PROTOCOL
@ 2019-01-11  8:17 jabir
  2019-01-14  0:17 ` Wu, Hao A
  0 siblings, 1 reply; 2+ messages in thread
From: jabir @ 2019-01-11  8:17 UTC (permalink / raw)
  To: edk2-devel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-14  0:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-11  8:17 More info on revision2 and revision3 of EFI_BLOCK_IO_PROTOCOL jabir
2019-01-14  0:17 ` Wu, Hao A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox