kernel driver/ user program

Aug 30, 2006 4 Replies

my pci card does dma into a kernel space .my driver(network interface) which contains a handler to handle the dma requests from the card. I want to import the data into my user program and process it befor the next interrupt occurs and so on ? How do I link ythe two ? Which topics should I be looking into ?



-D



If you want to directly access the DMA memory from user space I suppose you should do a driver that on "open" requests a contiguous memory range, on "read" has this mapped to an address range of the calling process and output the user land address to the process, and on "release" releases the memory.

-Michael

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required