* 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
* Re: More info on revision2 and revision3 of EFI_BLOCK_IO_PROTOCOL
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
0 siblings, 0 replies; 2+ messages in thread
From: Wu, Hao A @ 2019-01-14 0:17 UTC (permalink / raw)
To: jabir, edk2-devel@lists.01.org
Hi Jabir,
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> jabir
> Sent: Friday, January 11, 2019 4:17 PM
> To: edk2-devel@lists.01.org
> Subject: [edk2] More info on revision2 and revision3 of
> EFI_BLOCK_IO_PROTOCOL
>
> 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?
Maybe you can check the latest UEFI Specification Version 2.7 (Errata A):
http://www.uefi.org/sites/default/files/resources/UEFI%20Spec%202_7_A%20Sept%206.pdf
Section 5.3.1, to see if you can get the information.
Best Regards,
Hao Wu
>
> 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
^ 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