OSDev.org
https://forum.osdev.org/

how can I launch DMA in current X86_64 system
https://forum.osdev.org/viewtopic.php?f=1&t=32632
Page 1 of 1

Author:  wangt13 [ Tue Dec 12, 2017 2:38 am ]
Post subject:  how can I launch DMA in current X86_64 system

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

Thanks,
-Tao

Author:  Brendan [ Tue Dec 12, 2017 3:01 am ]
Post subject:  Re: how can I launch DMA in current X86_64 system

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

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/