summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-03-15 12:17:22 -0500
committerNathan Binkert <binkertn@umich.edu>2005-03-15 12:17:22 -0500
commit0acb2d0108d3129b3cdd66ac7aca17157762c8cf (patch)
tree0594458995cab4ba230afb31c26238bad141464f
parent1491a239d6d9bb27059baa4cd28d6bd56c44f9aa (diff)
downloadgem5-0acb2d0108d3129b3cdd66ac7aca17157762c8cf.tar.xz
small cleanup to sampling cpu code.
cpu/base_cpu.cc: By default we should panic if the system doesn't explicitly support switchover. --HG-- extra : convert_revision : 4da2ec316d609cfb351fc5ceaa6d8fe36be14d4e
-rw-r--r--cpu/base_cpu.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpu/base_cpu.cc b/cpu/base_cpu.cc
index 181b484e7..74e57baa6 100644
--- 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