From: Nathan Binkert Date: Mon, 1 Mar 2004 03:56:42 +0000 (-0500) Subject: Fix the swichover code. It's only for FULL_SYSTEM X-Git-Tag: m5_1.0_beta2~105^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31ccbde8299239718ba5fc45387c30d5ccb045a7;p=gem5.git Fix the swichover code. It's only for FULL_SYSTEM cpu/base_cpu.cc: #ifdef FULL_SYSTEM --HG-- extra : convert_revision : 427ee93d545596da00d6c4688a7e32d584054948 --- diff --git a/cpu/base_cpu.cc b/cpu/base_cpu.cc index 19dd11598..367662f25 100644 --- 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 }