From: Nathan Binkert <binkertn@umich.edu> Date: Tue, 15 Mar 2005 17:17:22 +0000 (-0500) Subject: small cleanup to sampling cpu code. X-Git-Tag: m5_1.0_tutorial~71^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0acb2d0108d3129b3cdd66ac7aca17157762c8cf;p=gem5.git 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 --- 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