mmap()

John-Mark Gurney gurney_j at resnet.uoregon.edu
Tue Dec 7 14:19:21 PST 2004


Kamal R. Prasad wrote this message on Tue, Dec 07, 2004 at 22:21 +0530:
> There was a bug in my  interface routine which probably resulted in too 
> many calls.
> Something like *paddr=vtophys(base) instead of 
> *paddr=vtophys(base+offset) should result in lots of calls to the interface.

Just remeber that vtophys is not a supported interface in HEAD, (if it
still works, it will probably be removed shortly).. Also, vtophys only
works on limited archs, like i386 and alpha...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-hackers mailing list