From 1a512d8f77fb81151dfc356805e2dc083102eb12 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tiago=20M=C3=BCck?= Date: Mon, 1 Jun 2020 18:08:03 -0500 Subject: [PATCH] mem-ruby: move AddrRange propagation to RubyPort MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/31268 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- src/mem/ruby/system/DMASequencer.cc | 3 --- src/mem/ruby/system/RubyPort.cc | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mem/ruby/system/DMASequencer.cc b/src/mem/ruby/system/DMASequencer.cc index 938044a74..4c61dd296 100644 --- a/src/mem/ruby/system/DMASequencer.cc +++ b/src/mem/ruby/system/DMASequencer.cc @@ -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 diff --git a/src/mem/ruby/system/RubyPort.cc b/src/mem/ruby/system/RubyPort.cc index 116f04f22..246971005 100644 --- a/src/mem/ruby/system/RubyPort.cc +++ b/src/mem/ruby/system/RubyPort.cc @@ -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 & -- 2.30.2