X86: Make sure the predecoder is cleared out for interrupts.
authorGabe Black <gblack@eecs.umich.edu>
Sun, 1 Feb 2009 08:04:34 +0000 (00:04 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Sun, 1 Feb 2009 08:04:34 +0000 (00:04 -0800)
src/cpu/simple/base.cc

index 89d9ce3830f2965e609291d863cbb0e35d6cc7b0..9af5d01504f969d02ea7d4cfbd2e64f3484e7f2f 100644 (file)
@@ -321,6 +321,7 @@ BaseSimpleCPU::checkForInterrupts()
         Fault interrupt = interrupts->getInterrupt(tc);
 
         if (interrupt != NoFault) {
+            predecoder.reset();
             interrupts->updateIntrInfo(tc);
             interrupt->invoke(tc);
         }