projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e25617
)
only do this assert after you know you're not switched out or idle.
author
Lisa Hsu
<hsul@eecs.umich.edu>
Wed, 18 Oct 2006 21:59:11 +0000
(17:59 -0400)
committer
Lisa Hsu
<hsul@eecs.umich.edu>
Wed, 18 Oct 2006 21:59:11 +0000
(17:59 -0400)
--HG--
extra : convert_revision :
0cd0d31db44fe7e8e44bde90e1756873faca422f
src/cpu/o3/cpu.cc
patch
|
blob
|
history
diff --git
a/src/cpu/o3/cpu.cc
b/src/cpu/o3/cpu.cc
index 4c9a8e91f5e8c4f49cf358aea31adc1604071468..36750828852e3a1fb3a7d1aff3fe1296b6d47e94 100644
(file)
--- a/
src/cpu/o3/cpu.cc
+++ b/
src/cpu/o3/cpu.cc
@@
-850,9
+850,6
@@
template <class Impl>
void
FullO3CPU<Impl>::resume()
{
-#if FULL_SYSTEM
- assert(system->getMemoryMode() == System::Timing);
-#endif
fetch.resume();
decode.resume();
rename.resume();
@@
-864,6
+861,10
@@
FullO3CPU<Impl>::resume()
if (_status == SwitchedOut || _status == Idle)
return;
+#if FULL_SYSTEM
+ assert(system->getMemoryMode() == System::Timing);
+#endif
+
if (!tickEvent.scheduled())
tickEvent.schedule(curTick);
_status = Running;