[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tracking adresses of write and read



Hi,

I'm writing a driver for some special hardware. It's a PCI device.
First I have a kernel module which ioremap the hardware registers. Then
I have a user space program which mmap the device to user space. And
then i read/write the devices registers throught this mmap-ed region.

I would like to be abble to see which physical adress i'm
writing/reading to when I write/read in the mmap-ed memory.

Who could i do this? 

Thanks.

-- 
Fabrice Gautier <gautier@email.enstfr>

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/