Skip to contentSkip to conversation

mmap doubts

DISCUSSION arun4linux 1 participant 1 message Oct 19, 2002

lore
Share & tools
lore

arun4linux

author
#0 lore raw

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.