Hi,

Another way to do that is I guess to redirect the two calls of memcpy in
cache_impl.hh in Cache<TagStore>::access (handles the writeback case) and
in Cache<TagStore>::handleFill (when data in the cache is updated from
memory if I'm right?) to Packet::writeDataToBlock (already used to write
data requested by the cpu in Cache<TagStore>::access). And then put your
DPRINTF in Packet::writeDataToBlock.

By the way, I'm curious to know why Cache<TagStore>::access and
Cache<TagStore>::handleFill use memcpy and not Packet::writeDataToBlock? Is
it on purpose and I missed something?


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

Reply via email to