Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2002 16:29:28 -0300 (ART)
From:      Fernando Gleiser <fgleiser@cactus.fi.uba.ar>
To:        "Balaji, Pavan" <pavan.balaji@intel.com>
Cc:        "'mark tinguely'" <tinguely@web.cs.ndsu.nodak.edu>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Virtual Address to Physical Address translation
Message-ID:  <20020830162711.W19938-100000@localhost>
In-Reply-To: <3D386AED1B47D411A94300508B11F18704AD69CE@fmsmsx116.fm.intel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Aug 2002, Balaji, Pavan wrote:

>
> Grrrr... The address I have is a PHYSICAL ADDRESS!!! I did the translation
> asynchronously. I need to know if there's any function through which I can
> copy from a virtual address space to a physical address space.

That kind of deep technical questions are more apropiate for -hackers.
There is where all the kernel gurus are.
Try asking there, maybe Matt or Terry (or somebody else) know how to do
what you need.

Hope this helps.


				Fer

>
>
> Pavan Balaji,
> Intel Corporation
> Email: pavan.balaji@intel.com
>
>     "Only the Paranoid Survive"  --  Andy Grove
>
>
> > -----Original Message-----
> > From: mark tinguely [mailto:tinguely@web.cs.ndsu.nodak.edu]
> > Sent: Friday, August 30, 2002 1:02 PM
> > To: freebsd-questions@FreeBSD.ORG; pavan.balaji@intel.com
> > Subject: RE: Virtual Address to Physical Address translation
> >
> >
> >
> > >  The physical address in my context is that of some user
> > space of a certain
> > >  process. I need to place incoming data into it. Now, the
> > incoming data is in
> > >  the kernel virtual space, so I need a mechanism to copy
> > this data to the
> > >  physical pages of the user space (which are pinned).
> >
> > Both kernel and user space addresses are virtual addresses,
> > but we don't
> > need to go there.
> >
> > To copy from kernel space to user space, use the routine copyout(9).
> >
> > To copy from user space into kernel space, use copyin(9).
> >
> > --mark tinguely.
> >
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


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?20020830162711.W19938-100000>