diff options
-rw-r--r-- | cpu/base_cpu.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |