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:
@@ -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
|
||||
|
||||
@@ -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 &
|
||||
|
||||
Reference in New Issue
Block a user