Messages in this thread | | | Date | Sat, 7 Aug 2010 20:38:30 +0200 | Subject | UIO DMA to userspace question | From | Leon Woestenberg <> |
| |
Hello all,
can I use the UIO framework for the following?
The userspace portion of the driver allocates memory in user-space using malloc() - usually resulting in a scatter pages in physical memory. The UIO kernel portion of the driver maps those using pci_map_sg().
Is this possible, or does the UIO framework assume memory for DMA is allocated in kernel space?
Thanks, -- Leon
| |