Date: Thu, 29 Aug 2002 14:50:16 -0700 From: "Balaji, Pavan" <pavan.balaji@intel.com> To: "'Lowell Gilbert'" <freebsd-questions-local@be-well.no-ip.com>, freebsd-questions@freebsd.org, "Balaji, Pavan" <pavan.balaji@intel.com> Subject: RE: Virtual Address to Physical Address translation Message-ID: <3D386AED1B47D411A94300508B11F18704AD69CC@fmsmsx116.fm.intel.com>
next in thread | raw e-mail | index | archive | help
Thanx. vtophys() was indeed what I was looking for. I have one more question. Now, that I have the physical address (which is locked, pinned, protected from swapping out), I need to write data to this. I can't use normal copy functions, can I? Cause they expect the address to be the virtual address. Thanx, Pavan Balaji, Intel Corporation Email: pavan.balaji@intel.com "Only the Paranoid Survive" -- Andy Grove > -----Original Message----- > From: Lowell Gilbert > [mailto:freebsd-questions-local@be-well.no-ip.com] > Sent: Thursday, August 29, 2002 12:45 PM > To: freebsd-questions@freebsd.org; pavan.balaji@intel.com > Subject: Re: Virtual Address to Physical Address translation > > > "Balaji, Pavan" <pavan.balaji@intel.com> writes: > > > I believe BSD provides a function to do this translation... > Some onw knows > > of this? > > Yes, of course. They even wrote a nice developers' handbook. > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ > > vtophys() is what you're looking for. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D386AED1B47D411A94300508B11F18704AD69CC>