From owner-freebsd-questions Fri Aug 30 10:30:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0033637B400 for ; Fri, 30 Aug 2002 10:30:17 -0700 (PDT) Received: from mail2.hd.intel.com (hdfdns02.hd.intel.com [192.52.58.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DBA443E4A for ; Fri, 30 Aug 2002 10:30:16 -0700 (PDT) (envelope-from pavan.balaji@intel.com) Received: from fmsmsxvs041.fm.intel.com (fmsmsxvs041.fm.intel.com [132.233.42.126]) by mail2.hd.intel.com (8.11.6/8.11.6/d: solo.mc,v 1.42 2002/05/23 22:21:11 root Exp $) with SMTP id g7UHUE716263 for ; Fri, 30 Aug 2002 17:30:15 GMT Received: from fmsmsx29.FM.INTEL.COM ([132.233.42.29]) by fmsmsxvs041.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002083010292406112 ; Fri, 30 Aug 2002 10:29:24 -0700 Received: by fmsmsx29.fm.intel.com with Internet Mail Service (5.5.2653.19) id ; Fri, 30 Aug 2002 10:30:13 -0700 Message-ID: <3D386AED1B47D411A94300508B11F18704AD69CD@fmsmsx116.fm.intel.com> From: "Balaji, Pavan" To: "'mark tinguely'" , freebsd-questions@FreeBSD.ORG, "Balaji, Pavan" Subject: RE: Virtual Address to Physical Address translation Date: Fri, 30 Aug 2002 10:30:08 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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). 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 8:30 AM > To: freebsd-questions@FreeBSD.ORG; pavan.balaji@intel.com > Subject: RE: Virtual Address to Physical Address translation > > > > > 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. > > in the kernel you use the kernel virtual address to assign/read data. > hardware devices require the physical address. > > --mark tinguely. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message