From 0acb2d0108d3129b3cdd66ac7aca17157762c8cf Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 15 Mar 2005 12:17:22 -0500 Subject: 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 --- cpu/base_cpu.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpu') 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 -- cgit v1.2.3