Re: User mode Virt -> Phys

Philipp Rumpf (prumpf@jcsbs.lanobis.de)
Tue, 12 Jan 1999 11:43:17 +0100


On Tue, Jan 12, 1999 at 12:54:45AM +0000, Alan Cox wrote:
> > The linux kernel is full of calls to virt_to_phys. This function seems
> > only to work in kernel mode. Is there a way to convert a physical address
> > to a virtual address in user mode (from a regular program)?
>
> No. Nor should there ever need to be.

Wouldn't that just be a mmap() of /dev/mem ?

Philipp Rumpf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/