Date: Thu, 19 Apr 2001 15:57:55 +0100 From: Brian Somers <brian@Awfulhak.org> To: David Rufino <daverufino@btinternet.com> Cc: freebsd-hackers@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: vm fun Message-ID: <200104191457.f3JEvu505789@hak.lan.Awfulhak.org> In-Reply-To: Message from David Rufino <daverufino@btinternet.com> of "Thu, 19 Apr 2001 16:39:16 BST." <20010419163916.A816@btinternet.com>
index | next in thread | previous in thread | raw e-mail
> 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 <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org>
<http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org>
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104191457.f3JEvu505789>
