Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2004 14:19:19 -0800
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        "Kamal R. Prasad" <kamalp@acm.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: mmap()
Message-ID:  <20041207221919.GQ19624@funkthat.com>
In-Reply-To: <41B5DF9B.50501@acm.org>
References:  <41B20B19.3090204@acm.org> <20041206025126.GO19624@funkthat.com> <41B3F24B.1000903@acm.org> <20041206074237.GP19624@funkthat.com> <41B5DF9B.50501@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041207221919.GQ19624>