From owner-freebsd-hackers Tue Jun 2 20:36:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA11609 for freebsd-hackers-outgoing; Tue, 2 Jun 1998 20:36:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA11568 for ; Tue, 2 Jun 1998 20:36:22 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id UAA19842; Tue, 2 Jun 1998 20:35:34 -0700 (PDT) Message-Id: <199806030335.UAA19842@implode.root.com> To: "Chris Csanady" cc: freebsd-hackers@FreeBSD.ORG Subject: Re: VM Questions In-reply-to: Your message of "Tue, 02 Jun 1998 06:43:05 CDT." <199806021143.GAA12205@swing.ca.sandia.gov> From: David Greenman Reply-To: dg@root.com Date: Tue, 02 Jun 1998 20:35:34 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >First, I was wondering if it is possible given a physical address, >to copy data to it from a virtual address. Or is a virtual mapping >necessary? There must be a virtual mapping. >The other question is how may I map user pages into the kernel? I've >looked through vm_map.c, and it seems that support for this is >lacking. To get around this for now, I am attempting to use almost >exclusively physical address--although am now sure how it will work >out. vm_map.c isn't really the right place to look. A better place would be physio/vmapbuf/vunmapbuf in kern_physio.c and vm_machdep.c. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message