Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2002 13:02:23 -0500 (CDT)
From:      mark tinguely <tinguely@web.cs.ndsu.nodak.edu>
To:        freebsd-questions@FreeBSD.ORG, pavan.balaji@intel.com
Subject:   RE: Virtual Address to Physical Address translation
Message-ID:  <200208301802.g7UI2No38272@web.cs.ndsu.nodak.edu>
In-Reply-To: <3D386AED1B47D411A94300508B11F18704AD69CD@fmsmsx116.fm.intel.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>  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




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