Re: malloc()? vmalloc()? kmalloc()?

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Tue, 4 Aug 1998 10:16:27 +0200 (MEST)


Carsten Pluntke wrote:
>
> Hi,
>
> I'm thinking about a device driver (for a framegrabber card, to be more
> specific) and it would need a quite large frame buffer because after a
> snapshot it should have the whole image at random access, if I read the
> code for video4linux correctly...

Take a peek at:

http://samba.anu.edu.au/linux-patches?findid=267

It does exactly what you want. (You'll have to do the mmap buffer yourself).

Roger.

-- 
Actor asks a collegue: "To what do you owe your success in acting?"
Answer: "Honesty. Once you've learned how to fake that, you've got it made."
-------- Custom Linux device drivers for sale! Call for a quote. ----------
Email: R.E.Wolff@BitWizard.nl || Tel: +31-15-2137555 || FAX: +31-15-2138217

- 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.altern.org/andrebalsa/doc/lkml-faq.html