mmap doubts

arun4linux (arun4linux@indiatimes.com)
Sat, 19 Oct 2002 22:18:24 +0530


Hello,

As per our requirement, we are exporting the hardware personalities (Base Addresses) to the user space by implementing mmap(). (We write device driver for application specific PCI based controllers)

I would like to know how mmap() works actually. I meant the flow, address translations, etc.

Will there be any cache problem, if we use mmap()?

I also want to know how ring 3 and ring 0 matters in mmap() as we export ring 0 address to user space (ring 3). ( we work on intel platform).

Will there be any time delay if we use mmap() and access hardware in the user space?

It would be helpful, if you any one of you could explain/answer my doubts.

Have a nice time.

Warm Regards

Arun

Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in

Change the way you talk. Indiatimes presents Valufon, Your PC to Phone service with clear voice at rates far less than the normal ISD rates. Go to http://www.valufon.indiatimes.com. Choose your plan. BUY NOW.

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