Hi Andreas,
Thanks. I got the virtual address via pkt->req->getVaddr(). I noted
that pkt->getAddr() is the physical address.
packet.hh says
/// The address of the request. This address could be virtual
or physical, depending on the system configuration.
Addr addr;
How can I configure the system to store virtual address in addr field
instead of physical address?
cheers
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users