Hi Guru, If you are talking about guest physical address, then it should be very easy, as it is a linear mapping to the host. The KVM CPU uses this fact quite extensively. Depending on where you want to do this, the easiest may be to create a PortProxy and simply read it out.
Andreas From: Guru Prasad <[email protected]<mailto:[email protected]>> Reply-To: gem5 users mailing list <[email protected]<mailto:[email protected]>> Date: Tuesday, 9 June 2015 23:36 To: gem5 users mailing list <[email protected]<mailto:[email protected]>> Subject: [gem5-users] Copy memory out of simulation Hi, I'm trying to copy out a chunk of memory from within the simulation. Is there a way to translate simulation memory addresses to host addresses? I've looked at CopyOut, however, I don't have access to the current ThreadContext. When I tried with sys->getThreadContext(0), I got: panic: Table walkers support functional accesses. We should never get here Regards Guru -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590 ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
