From: Geert U. <ge...@li...> - 2007-10-08 14:24:23
|
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 -- ge...@li... 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 |