diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2015-01-22 05:01:24 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2015-01-22 05:01:24 -0500 |
commit | 00536b0efc6d437fdf0cc0374b818b27ba32d217 (patch) | |
tree | 9a9eeb74a20a63cd91ecbf200f49b9f473151e34 /src/mem/ruby/system/Sequencer.cc | |
parent | 072f78471d11c31b6009beb572296f704912d0f7 (diff) | |
download | gem5-00536b0efc6d437fdf0cc0374b818b27ba32d217.tar.xz |
mem: Always use SenderState for response routing in RubyPort
This patch aligns how the response routing is done in the RubyPort,
using the SenderState for both memory and I/O accesses. Before this
patch, only the I/O used the SenderState, whereas the memory accesses
relied on the src field in the packet. With this patch we shift to
using SenderState in both cases, thus not relying on the src field any
longer.
Diffstat (limited to 'src/mem/ruby/system/Sequencer.cc')
-rw-r--r-- | src/mem/ruby/system/Sequencer.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/ruby/system/Sequencer.cc b/src/mem/ruby/system/Sequencer.cc index ef1b9676b..dbf350199 100644 --- a/src/mem/ruby/system/Sequencer.cc +++ b/src/mem/ruby/system/Sequencer.cc @@ -547,6 +547,8 @@ Sequencer::hitCallback(SequencerRequest* srequest, DataBlock& data, // subBlock with the recieved data. The tester will later access // this state. if (m_usingRubyTester) { + DPRINTF(RubySequencer, "hitCallback %s 0x%x using RubyTester\n", + pkt->cmdString(), pkt->getAddr()); RubyTester::SenderState* testerSenderState = pkt->findNextSenderState<RubyTester::SenderState>(); assert(testerSenderState); |