> The pages need to be available to the interrupt and bottom-half handler
> of the driver AND to the app. The app needs write access to only one of
> the pages, all the others are read-only.
> What would be the most effective way to do this?
> The mmap() system call seems to be the way for the app to do this, since
> it knows the information it needs to use it. But I'm not sure how to
> implement the mmap file operation on the driver side.
The sound drivers actually do exactly what you try to do for mmap. They
use it to give apps direct access to the DMA buffer the sound card is playing
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:11 EST