From 31ccbde8299239718ba5fc45387c30d5ccb045a7 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Sun, 29 Feb 2004 22:56:42 -0500 Subject: [PATCH] Fix the swichover code. It's only for FULL_SYSTEM cpu/base_cpu.cc: #ifdef FULL_SYSTEM --HG-- extra : convert_revision : 427ee93d545596da00d6c4688a7e32d584054948 --- cpu/base_cpu.cc | 2 ++ 1 file changed, 2 insertions(+) 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 }