# HG changeset patch # User Brad Beckmann <brad.beckm...@amd.com> # Date 1261413068 28800 # Node ID 54d3c8cb0b7a100769137d30256c3a9d2d9131d7 # Parent d2c75e1450a015d15032fe378b030509aabeb3df ruby: added data print to ruby request
diff -r d2c75e1450a0 -r 54d3c8cb0b7a src/mem/ruby/libruby.cc --- a/src/mem/ruby/libruby.cc Mon Dec 21 08:31:08 2009 -0800 +++ b/src/mem/ruby/libruby.cc Mon Dec 21 08:31:08 2009 -0800 @@ -68,7 +68,11 @@ ostream& operator<<(std::ostream& out, const RubyRequest& obj) { - out << hex << "0x" << obj.paddr << flush; + out << hex << "0x" << obj.paddr << " data: 0x" << flush; + for (int i = 0; i < obj.len; i++) { + out << (int)obj.data[i]; + } + out << dec << " type: " << RubyRequestType_to_string(obj.type) << endl; return out; } _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev