Translating physical/linear address to virtual address

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

 



Hello,

I'm working with a kernel module that, through hardware events, gets a  
list of physical and linear memory addresses accessed by a program. I  
would like to convert these to the virtual addresses, as seen from the  
user space.

I saw there's phys_to_virt(), but as I understood it's only valid for  
kernel addresses.

What would be the correct approach? Pointers to the correct structs  
and functions are greatly appreciated.

Thank you.

Martin


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux