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
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to