From owner-freebsd-hackers Thu Apr 19 7:57:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id BDF8137B423 for ; Thu, 19 Apr 2001 07:57:41 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.3/8.11.3) with ESMTP id f3JEwab64379; Thu, 19 Apr 2001 15:58:36 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f3JEvu505789; Thu, 19 Apr 2001 15:57:56 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200104191457.f3JEvu505789@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: David Rufino Cc: freebsd-hackers@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: vm fun In-Reply-To: Message from David Rufino of "Thu, 19 Apr 2001 16:39:16 BST." <20010419163916.A816@btinternet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 19 Apr 2001 15:57:55 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi, > > If inside a syscall, what is the proper way to find the physical address of > an arbitrary userland address of the current process ? Probably something like VM_PAGE_TO_PHYS - but you'll need a vm_page_t to use that. vm_page_list_find() looks promising, but I've never used it :-/ > Thanks, > David Rufino -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message