[lkml]   [1998]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: mmap RAM?
    > I am trying to write a driver for a new device.  It is an MPEG2 video
    > *encoder*. The device sits on a PCI bus. It wants to DMA encoded


    > video to the host RAM.

    > My driver needs at least 128kb. (I'd really like 256kb, but I guess
    > that's a problem). Assume I use get_free_pages to grab 128kb. How
    > can this be accessed via mmap? Are there any examples?

    Please see both video4linux in 2.1.x (the at least roughly there standard
    API for video capture on Linux) and the 0.5.6 bttv driver (I can never
    remember the url but altavista +linux +bttv finds it every time)
    has mmap support


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to

     \ /
      Last update: 2005-03-22 13:41    [W:0.017 / U:29.628 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site