OSDev.org

The Place to Start for Operating System Developers
It is currently Sun Apr 28, 2024 4:55 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: How can I use DMA to transfer my disk data?
PostPosted: Fri Jun 23, 2023 8:19 am 
Offline
Member
Member

Joined: Wed Jun 29, 2022 2:17 am
Posts: 27
This page is too brief and I can't learn from it.
I even don't know how to get the Bus Master Register.
Is there anyone help me?

_________________
I'm a new man to develop operating system.


Top
 Profile  
 
 Post subject: Re: How can I use DMA to transfer my disk data?
PostPosted: Fri Jun 23, 2023 10:06 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4597
Location: Chichester, UK
Quote:
The "address" of the Bus Master Register is stored in BAR4, in the PCI Configuration Space of the disk controller.
Ensure that you understand PCI devices and how to read the configuration space before trying to program a PCI device.


Top
 Profile  
 
 Post subject: Re: How can I use DMA to transfer my disk data?
PostPosted: Sat Jun 24, 2023 8:54 am 
Offline
Member
Member

Joined: Wed Jun 29, 2022 2:17 am
Posts: 27
iansjack wrote:
Quote:
The "address" of the Bus Master Register is stored in BAR4, in the PCI Configuration Space of the disk controller.
Ensure that you understand PCI devices and how to read the configuration space before trying to program a PCI device.

Thanks.I've found the relative pages, and my DMA works properly now!

_________________
I'm a new man to develop operating system.


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 27 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