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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user