From: Gabe Black Date: Sun, 1 Feb 2009 08:04:34 +0000 (-0800) Subject: X86: Make sure the predecoder is cleared out for interrupts. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77209689499f2c843bebd9fca300fdd421277b15;p=gem5.git X86: Make sure the predecoder is cleared out for interrupts. --- diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index 89d9ce383..9af5d0150 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -321,6 +321,7 @@ BaseSimpleCPU::checkForInterrupts() Fault interrupt = interrupts->getInterrupt(tc); if (interrupt != NoFault) { + predecoder.reset(); interrupts->updateIntrInfo(tc); interrupt->invoke(tc); }