Re: How to mmap multiple pages?
Geert Uytterhoeven <[email protected]> Mon, 8 Oct 2007 16:24:12 +0200 (CEST)
| Newsgroups | gmane.linux.fbdev.user |
|---|---|
| Message-ID | <Pine.LNX.4.64.0710081623090.1416@anakin> |
On Mon, 8 Oct 2007, Oliver Zander wrote:
> I wrote a framebuffer driver for an Atmel AVR32 microcontroller with a
> simple monochrome LCD wired to GPIO. The fb uses system RAM.
> My problem is that I need 8 PAGES of mem (256*64*16 bpp) and cannot find
> code which is able to mmap more than 1 PAGE.
You can use remap_pfn_range() (cfr. ps3fb_mmap() in
drivers/video/ps3fb.c).
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/