m68k: trying accessing fb memory

"Gavin Lambert" <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <009001cdd8b0$de05faf0$9a11f0d0$@com>
Quoth angelo:
> I have written then a little framebuffer driver for a 128x64 graphic 
> lcd.
[...]
> buffer = mmap( 0, buflen, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0 ); 
> This fails (-1) Then i tried:
> buffer = mmap( 0, buflen, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0 
> ); works, returns a valid pointer, but i cannot see any change on the 
> screen writing in this area.

Have you read the nommu mmap documentation in the kernel tree?  You have to
implement an extra handler in your driver in order to support shared mmaps
on nommu.


_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.