How to write a device driver in such a fashion .????
Scott Wood
scottwood at freescale.com
Wed Jan 9 03:42:14 EST 2008
On Mon, Jan 07, 2008 at 08:31:10PM -0800, Misbah khan wrote:
>
> using mmap() in application to access the h/w is only possible if the device
> memory is mapped in the kernel virtual memory how come we directly map to
> the physical memory to virtual from user space ???
No, /dev/mem takes physical addresses, not kernel virtual.
-Scott
More information about the Linuxppc-dev
mailing list