All,
I'm trying to mmap() a region of device memory into user space.
When the user app tries to write to the page, I'm getting a SIGBUS.
My code in foo_mmap() looks essentially like:
...
voff = bhandle + client_offset;
poff = vtophys(voff);
return i386_btop(poff);
I know that voff is fine as I can write in the kernel to that
address and the right things happen.
Any ideas? Anything I can do to help narrow down the cause?
Thanks,
-JohnG
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message