projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1491a23
)
small cleanup to sampling cpu code.
author
Nathan Binkert
<binkertn@umich.edu>
Tue, 15 Mar 2005 17:17:22 +0000
(12:17 -0500)
committer
Nathan Binkert
<binkertn@umich.edu>
Tue, 15 Mar 2005 17:17:22 +0000
(12:17 -0500)
cpu/base_cpu.cc:
By default we should panic if the system doesn't explicitly support
switchover.
--HG--
extra : convert_revision :
4da2ec316d609cfb351fc5ceaa6d8fe36be14d4e
cpu/base_cpu.cc
patch
|
blob
|
history
diff --git
a/cpu/base_cpu.cc
b/cpu/base_cpu.cc
index 181b484e738499ad0940f6857a9960ef5c346f1c..74e57baa667d5c0017ad7034aa2d3d26e0f775b1 100644
(file)
--- a/
cpu/base_cpu.cc
+++ b/
cpu/base_cpu.cc
@@
-197,8
+197,7
@@
BaseCPU::registerExecContexts()
void
BaseCPU::switchOut(SamplingCPU *sampler)
{
- // default: do nothing, signal done
- sampler->signalSwitched();
+ panic("This CPU doesn't support sampling!");
}
void