> 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 <[EMAIL PROTECTED]>                        <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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
  • vm fun David Rufino
    • Brian Somers

Reply via email to