If I remember it correctly, the addresses exposed to cache modules are all physical addresses.

Leonard



On , Stevenson Jian <[email protected]> wrote:
Hi,I would like to trace the physical address of the instruction that is accessing the cache. I see that there is in the packet going from the CPU to the cache there is the PacketPtr->getPC() method. I assume that this is the virtual address of the instruction reading the cache. However, what would be the best way to go about getting the physical address of the instruction accessing the cache?

Thanks a lot of your help,
Steve

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to