I am trying to decipher how to use /proc/pid/pagemap to get the physical address of a given set of pages. Suppose from the /proc/pid/maps, I get the virtual address afa2d000
I hope this link will help. It's a very simple tool, and determining the address you need to access is very simple:
http://fivelinesofcode.blogspot.com/2014/03/how-to-translate-virtual-to-physical.html