Translating physical/linear address to virtual address
Oct. 2, 2015
7:58 p.m.
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
3971
Age (days ago)
3971
Last active (days ago)
0 comments
1 participants
participants (1)
-
martin