Booting process & memory layout.

Alessandro Rubini
Fri Mar 12 16:32:18 CET 2004

> /dev/mem driver doesn't use mmap(). It makes copy_to_user(__va(p)).

I think mmap support in /dev/mem is standard. That's how X accesses
the PCI memory area, for example. And drivers/char/mem.c has mmap_mem
for all architectures.

Sure the read() implementation is copy_to_user, but mmap() works great.


More information about the Jornada820 mailing list