summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2012-07-11 09:44:34 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2012-07-11 09:44:34 -0700
commit5931087dcd09ece4663a6eaac0c06de1a929078c (patch)
treeaf4ca1f10d1da8964574ea8769dc46ab7f1a8c3a /src
parentb00fe08cc9338cb96a151a8cd3c3d1498c716989 (diff)
downloadgem5-5931087dcd09ece4663a6eaac0c06de1a929078c.tar.xz
ruby: improved DRAM reset comment
Diffstat (limited to 'src')
-rw-r--r--src/mem/ruby/system/System.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/ruby/system/System.cc b/src/mem/ruby/system/System.cc
index 3efa74a6a..abce74830 100644
--- a/src/mem/ruby/system/System.cc
+++ b/src/mem/ruby/system/System.cc
@@ -395,7 +395,8 @@ RubySystem::startup()
delete m_cache_recorder;
m_cache_recorder = NULL;
m_warmup_enabled = false;
- // reset DRAM
+ // reset DRAM so that it's not waiting for events on the old event
+ // queue
m_memory_controller->reset();
// Restore eventq head
eventq_head = eventq->replaceHead(eventq_head);