mem-ruby: move AddrRange propagation to RubyPort

Doing the master address range notification from the RubyPort.
This allows us the DMASequencer to be replaced by Sequencer in future
protocols.

Change-Id: I95edb54b39a8adf0cac5caf2b58e4a2efb573f56
Signed-off-by: Tiago Mück <tiago.muck@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/31268
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Tiago Mück
2020-06-01 18:08:03 -05:00
parent ab309b9e4e
commit 1a512d8f77
2 changed files with 2 additions and 3 deletions

View File

@@ -56,9 +56,6 @@ DMASequencer::init()
{
RubyPort::init();
m_data_block_mask = mask(RubySystem::getBlockSizeBits());
for (const auto &response_port : response_ports)
response_port->sendRangeChange();
}
RequestStatus

View File

@@ -86,6 +86,8 @@ RubyPort::init()
{
assert(m_controller != NULL);
m_mandatory_q_ptr = m_controller->getMandatoryQueue();
for (const auto &response_port : response_ports)
response_port->sendRangeChange();
}
Port &