lkml.org 
[lkml]   [1999]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Address spaces on a i386 - Getting Confused
Date
> I think unless you are willing to go into the hair the bttv driver
> does, you're going to need to have the device put it into a kernel
> buffer and then copy it into user space.

The bttv is hairy because it maps a lot of vmalloc space using scatter
gather DMA. If you need 32K for a 3D acceleration buffer then you can
handle it much more cleanly than the bttv driver. Take a look at the
sound drivers. They kmalloc a block of memory and mmap it into the user
space. Thats pretty clean

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.461 / U:0.140 seconds]
©2003-2011 Jasper Spaans. Advertise on this site