OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 7:51 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: how can I launch DMA in current X86_64 system
PostPosted: Tue Dec 12, 2017 2:38 am 
Offline

Joined: Fri Nov 17, 2017 7:02 am
Posts: 20
Such as memory to memory copy by configuring/starting DMA engine in current X86_64 + PCH system?

Thanks,
-Tao


Top
 Profile  
 
 Post subject: Re: how can I launch DMA in current X86_64 system
PostPosted: Tue Dec 12, 2017 3:01 am 
Offline
Member
Member
User avatar

Joined: Sat Jan 15, 2005 12:00 am
Posts: 8561
Location: At his keyboard!
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 67 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group