summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-02-01 00:04:34 -0800
committerGabe Black <gblack@eecs.umich.edu>2009-02-01 00:04:34 -0800
commit77209689499f2c843bebd9fca300fdd421277b15 (patch)
treeef5b62c48bec9c2c32936ba513886724b8652a24
parent3ecc38cb8b882169fb64bf939f709326915f375e (diff)
downloadgem5-77209689499f2c843bebd9fca300fdd421277b15.tar.xz
X86: Make sure the predecoder is cleared out for interrupts.
-rw-r--r--src/cpu/simple/base.cc1
1 files changed, 1 insertions, 0 deletions
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);
}