DMA?

Is there any documentation on programming a DMA Controller in QNX?

Bob Smith <bob@home.com> wrote:

Is there any documentation on programming a DMA Controller in QNX?

As a general rule, there isn’t a lot specific to QNX.

You do need to get physically contiguous memory – check mmap() docs
for how to do that. You also need access to control registers, usually
mmap_device_io(), and in8/16/30() and out8/16/32(). Finally you need
a physical address – mem_offset() [or mem_offset64()] will get you
that.

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com

If I understand this correctly, it is not necessary to perform a
pci_attach() and pci_attach_device() to correctly use DMA on a
peripheral card installed in the system?
For background info, I am using 6.3.0 SP2 on an Intel Pentium M
system.

Daniel