Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

what I have to pay attention if I use mmap to r/w register under Mips

2 views
Skip to first unread message

miloody

unread,
Nov 5, 2009, 11:25:41 AM11/5/09
to
Dear all:
I try to use mmap to mapping Hw registers and r/w them under Mips.
Are there "must" functions or flags I should use when open "/dev/mem"
and r/w it?
Since my program ramdomly will let the kernel crash, sometimes it
will show unalignment exception and sometimes it dead without anything
shows up.
appreciate your help,
miloody.
0 new messages