mpc8xx: how to allocate memory for framebuffer in a loadable module?

Paolo Scaffardi arsenio at tin.it
Wed Aug 9 02:07:11 EST 2000


I'm developing a framebuffer device for the mpc823 video. I wrote a loadable
module, that initializes the display and registers the new framebuffer.
The only problem is getting a physical contiguos block of memory where to
put the memory buffer. What function should i use to allocate it outside the
kernel? How, inside it?

Thanx,
Paolo Scaffardi.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list