Page 1 of 1

DMA

Posted: Wed Aug 25, 2004 12:13 am
by trishala
:)
hi i am new to OS.. and would like to know if the area for Direct memory access in the Main memory is fixed.
thank you

Re:DMA

Posted: Wed Aug 25, 2004 2:20 am
by Pype.Clicker
well, DMA controller can be programmed to access any page of 64KB within the lowest 16MB of your physical memory. you select it by properly setting the 'base register" and the "page register" for the DMA channel you want to use.

we have more talks about DMA here, if you want to get a look ;)

so if 'fixed' mean 'at which address should i expect DMA to read/write', then no it's not fixed, though due to alignment/range limitations, most drivers tend to always use the same (or a few) buffers for DMA transfers and then memcpy the data where it's supposed to go.