uterm: fbdev: map FBs for read access
authorDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 15 Jan 2013 10:09:32 +0000 (11:09 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 15 Jan 2013 10:09:32 +0000 (11:09 +0100)
commit2fd3afc10b9b038d9bfea0828e6738517854914c
treec8fcf2afcdca254f7b7f1740fbd3ad714eec81b2
parent3eb9cc6f50f96fcf6ba87408064c2d8090d401cb
uterm: fbdev: map FBs for read access

We want to provide read-access to users of get_buffers() so map memory
with PROT_READ. However, read is almost always horribly slow so this
should only be used as fallback.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_fbdev_video.c