Problem trying to address custom hardware

Oliver King-Smith oliver.king-smith at nuvation.com
Thu Aug 26 08:29:20 EST 2004


Things are working much better.  Both the driver and the main code work
without crashing now.

> Others addressed your core problem, but you should know that this
> mmap request won't produce the desired result. You need MAP_SHARED
> since MAP_PRIVATE will result in a COW when you attempt to modify
> your register.

I am not sure I understand why this needs to be MAP_SHARED (it sure does
though).  Is there a good resource I can read to understand this a bit
better?

Oliver


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list