right - that's what I was referring to - the data buffer alignment -
looks like it's smart enough to handle that - perfect.

On Mon, Feb 11, 2013 at 5:41 PM, Andrew Fish <[email protected]> wrote:
>
> On Feb 11, 2013, at 5:34 PM, "David F." <[email protected]> wrote:
>
>> Hi,
>>
>> Is the DISK_IO protocol smart enough to handle using an internal
>> buffer ONLY WHEN NEEDED?  or does it always us it.  i.e. Assuming all
>> IO will be block size aligned on blocks, if a buffer is aligned does
>> it transfer data directly to/from the buffer or does it still use the
>> internal buffers?  and/or is it implementation specific?
>>
>
> It is not just block alignment, but IO alignment as well. It is legal for a 
> Block IO device to specify an alignment it requires to DMA into your buffer.
>
> Quality of service is implementation:
> https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c
>
> Thanks,
>
> Andrew Fish
>
>> TIA!!
>>
>> ------------------------------------------------------------------------------
>> Free Next-Gen Firewall Hardware Offer
>> Buy your Sophos next-gen firewall before the end March 2013
>> and get the hardware for free! Learn more.
>> http://p.sf.net/sfu/sophos-d2d-feb
>> _______________________________________________
>> edk2-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to