Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 1997 05:51:02 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-hackers@FreeBSD.ORG, peb@george.lbl.gov
Subject:   Re: Virtual address question for VM guru's
Message-ID:  <199706041951.FAA14842@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>I am working on a project where I need to access the address space of a
>process when the process is not necessarily the current process.  I am
>working on a device driver which requires that I copy data directly into
>any writable region in the processes address space.  The user informs the
>kernel of the address range which is then verified and wired before any
>such transfers take place.  This _almost_ all works, if the process is not
>active at the time the device driver attempts to write to the buffer the
>virtual address is giberish.

The corresponding problem for DMA is handled by physio().  This is mostly
transparent to drivers.

Bruce



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