DMA information

Is there any technote material or example code available for handling
DMA under QNX4?

Dean Douthat <ddouthat@faac.com> wrote:

Is there any technote material or example code available for handling
DMA under QNX4?

There is an example for setting up dma safe memory (memory you can
DMA to/from) in /etc/readme/technotes/shmem.txt. This tells you how
to allocate the memory and get the physical address of the memory.

It doesn’t give information about how to talk to the DMA controller,
or IO card and initiate the DMA – often that is particular to your
IO card.

-David

QNX Training Services
dagibbs@qnx.com

OK, thanks David. For some reason, I didn’t think of this as shared
memory! Duh.

David Gibbs wrote:

Dean Douthat <> ddouthat@faac.com> > wrote:
Is there any technote material or example code available for handling
DMA under QNX4?

There is an example for setting up dma safe memory (memory you can
DMA to/from) in /etc/readme/technotes/shmem.txt. This tells you how
to allocate the memory and get the physical address of the memory.

It doesn’t give information about how to talk to the DMA controller,
or IO card and initiate the DMA – often that is particular to your
IO card.

-David

QNX Training Services
dagibbs@qnx.com