lkml.org 
[lkml]   [2010]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Question: how to copy to user space from a tasklet
Tom Brown wrote:
> [Sorry to have to ask this here - I can't find any driver-specific
> newsgroup or mailing lists - are there any??]

linux-newbie perhaps.

> I have a driver which needs to copy device data direct to user space
> from a tasklet.

One way would be to use mmap() to allocate the DMA buffer and insert it into
the user address space before DMA commences. An additional poll/read/write
based protocol or so can be used for buffer management during DMA.
--
Stefan Richter
-=====-==-=- =-=- -====
http://arcgraph.de/sr/


\
 
 \ /
  Last update: 2010-10-15 08:01    [W:0.070 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site