projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b00fe08
)
ruby: improved DRAM reset comment
author
Brad Beckmann
<Brad.Beckmann@amd.com>
Wed, 11 Jul 2012 16:44:34 +0000
(09:44 -0700)
committer
Brad Beckmann
<Brad.Beckmann@amd.com>
Wed, 11 Jul 2012 16:44:34 +0000
(09:44 -0700)
src/mem/ruby/system/System.cc
patch
|
blob
|
history
diff --git
a/src/mem/ruby/system/System.cc
b/src/mem/ruby/system/System.cc
index 3efa74a6a017cffdb57ee353f4529a240440c26e..abce7483077539de745e35a828b36e7895dba598 100644
(file)
--- 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);