
4 Jun
2010
4 Jun
'10
2:37 p.m.
Hi,
I have a question regarding (disk) transfers. For example Sata read and write takes an unspecified address which very well could be an unaligned byte address.
Many DMA-controllers though require 16 or 32bit alignments for transfers.
Is it safe to assume that the address is correct or bail out with an error message if source/destinaton address isn't correctly aligned for the underlaying HW?
/Tor