ruby: improved DRAM reset comment
authorBrad Beckmann <Brad.Beckmann@amd.com>
Wed, 11 Jul 2012 16:44:34 +0000 (09:44 -0700)
committerBrad Beckmann <Brad.Beckmann@amd.com>
Wed, 11 Jul 2012 16:44:34 +0000 (09:44 -0700)
src/mem/ruby/system/System.cc

index 3efa74a6a017cffdb57ee353f4529a240440c26e..abce7483077539de745e35a828b36e7895dba598 100644 (file)
@@ -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);