Fix the swichover code. It's only for FULL_SYSTEM

cpu/base_cpu.cc:
    #ifdef FULL_SYSTEM

--HG--
extra : convert_revision : 427ee93d545596da00d6c4688a7e32d584054948
This commit is contained in:
Nathan Binkert 2004-02-29 22:56:42 -05:00
parent 7f688ba6a9
commit 31ccbde829

View file

@ -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
}