Page 1 of 1
how can I launch DMA in current X86_64 system
Posted: Tue Dec 12, 2017 2:38 am
by wangt13
Such as memory to memory copy by configuring/starting DMA engine in current X86_64 + PCH system?
Thanks,
-Tao
Re: how can I launch DMA in current X86_64 system
Posted: Tue Dec 12, 2017 3:01 am
by Brendan
Hi,
wangt13 wrote:Such as memory to memory copy by configuring/starting DMA engine in current X86_64 + PCH system?
Which DMA engine?
The old ISA DMA chips were originally able to be used for memory to memory copying, but that ended in the 1980s and more modern legacy DMA chips aren't able to do it.
For some Intel chipsets there's a
"QuickData Technology Device" that might (should) also be able to do it; but it's far from standard (only provided on some server motherboards with Intel chipsets) and likely to be quite complex. I don't think anyone here has looked into writing a device driver for these (I know I haven't).
Mostly, it's probably better to just use something like "memcpy()".
Cheers,
Brendan