projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f688ba
)
Fix the swichover code. It's only for FULL_SYSTEM
author
Nathan Binkert
<binkertn@umich.edu>
Mon, 1 Mar 2004 03:56:42 +0000
(22:56 -0500)
committer
Nathan Binkert
<binkertn@umich.edu>
Mon, 1 Mar 2004 03:56:42 +0000
(22:56 -0500)
cpu/base_cpu.cc:
#ifdef FULL_SYSTEM
--HG--
extra : convert_revision :
427ee93d545596da00d6c4688a7e32d584054948
cpu/base_cpu.cc
patch
|
blob
|
history
diff --git
a/cpu/base_cpu.cc
b/cpu/base_cpu.cc
index 19dd115987b107ecdb50d37521cb7fa0aa158964..367662f2593c137ffb02bd9c7c8a7b156239e26c 100644
(file)
--- a/
cpu/base_cpu.cc
+++ b/
cpu/base_cpu.cc
@@
-185,9
+185,11
@@
BaseCPU::takeOverFrom(BaseCPU *oldCPU)
#endif
}
+#ifdef FULL_SYSTEM
for (int i = 0; i < NumInterruptLevels; ++i)
interrupts[i] = oldCPU->interrupts[i];
intstatus = oldCPU->intstatus;
+#endif
}