[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
framebuffer mmap
- To: linux-mm@kvack.org
- Subject: framebuffer mmap
- From: Kromer <krom@gazeta.pl>
- Date: Thu, 09 Oct 2003 10:58:22 +0200
- Fake-Sender: owner-linux-mm@kvack.org
- Original-Recipient: rfc822;linux-mm-archive@humbolt.geo.uu.nl
- Sender: Rik van Riel <riel@nl.linux.org>
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.2.1) Gecko/20021130
hello mm-everybody
i'm just writing my own framebuffer driver for device acessed only via
parallel port (there is no way to direct read/write it's memory)
i just want to use memory allocated in kernel module, and acess it
application with mmmap (and of course flush this memory to device
peridicaly)
q1: where is documentation of writing own mmap functions
q2: what fields need to be set in mmap function implementation
q3: what kind of memory allocation i should use inside driver
(kmalloc, vmalloc, with GFP_KERNEL or FGP_USER?)
q4: how to remap (or not?) in mmap function
q5: is there any simply way to build acess for non-direct memory ?
i mean for each byte read/write to this
memory need to be called my own function
please answer to my priv (mailto:krom@gazeta.pl) too
thx
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>