X11 still uses /dev/mem ?
nameer.yarkon at gmail.com
Wed Feb 17 09:29:35 PST 2010
On Wed, Feb 17, 2010 at 6:04 PM, Daniel Stone <daniel at fooishbar.org> wrote:
> What's your real question? i.e. what problem are you trying to solve?
I'm trying to understand how user space can efficiently manipulate
physical memory, and I'm sure that X11 does that great. So this is
just a learning exercise for me about X11..
I know that it can be done via:
1. mmap'ing /dev/mem
2. creating a char device driver that allocates physical memory and
expose it via mmap() support
and now i understand it can also be done via sysfs ?
can you please comment on that and maybe tell what's the best way ?
thank you for helping!
More information about the xorg