Subject: How to map Physical address from Virtual address in the kernel driver ?
To: netbsd-help@netbsd.org <netbsd-help@netbsd.org>
From: Sera <esha@sharada.ncore.soft.net>
List: tech-kern
Date: 12/08/1998 12:50:16
Hi,
I am passing a buffer of 2k with some data (from user application) to my
driver using write system call. This data will be used by the driver for
busmaster DMA. for that, in the kernel driver I need the physical
address of the virtual address sent by the user. How do I get this ?
(basically from virtual address to physical address)
Regards
esha