how can I launch DMA in current X86_64 system

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
wangt13
Posts: 20
Joined: Fri Nov 17, 2017 7:02 am

how can I launch DMA in current X86_64 system

Post by wangt13 »

Such as memory to memory copy by configuring/starting DMA engine in current X86_64 + PCH system?

Thanks,
-Tao
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: how can I launch DMA in current X86_64 system

Post 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
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Post Reply