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
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to