From owner-freebsd-questions Fri Aug 30 6: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 69A0D37B400 for ; Fri, 30 Aug 2002 06:30:20 -0700 (PDT) Received: from web.cs.ndsu.nodak.edu (web.cs.ndsu.NoDak.edu [134.129.125.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id B426943E3B for ; Fri, 30 Aug 2002 06:30:19 -0700 (PDT) (envelope-from tinguely@web.cs.ndsu.nodak.edu) Received: (from tinguely@localhost) by web.cs.ndsu.nodak.edu (8.11.4/8.11.4) id g7UDUIS36125; Fri, 30 Aug 2002 08:30:18 -0500 (CDT) (envelope-from tinguely) Date: Fri, 30 Aug 2002 08:30:18 -0500 (CDT) From: mark tinguely Message-Id: <200208301330.g7UDUIS36125@web.cs.ndsu.nodak.edu> To: freebsd-questions@FreeBSD.ORG, pavan.balaji@intel.com Subject: RE: Virtual Address to Physical Address translation In-Reply-To: <3D386AED1B47D411A94300508B11F18704AD69CC@fmsmsx116.fm.intel.com> 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 > 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