Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jun 1998 20:35:34 -0700
From:      David Greenman <dg@root.com>
To:        "Chris Csanady" <cc@swing.ca.sandia.gov>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: VM Questions 
Message-ID:  <199806030335.UAA19842@implode.root.com>
In-Reply-To: Your message of "Tue, 02 Jun 1998 06:43:05 CDT." <199806021143.GAA12205@swing.ca.sandia.gov> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806030335.UAA19842>