diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-09-20 02:46:42 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-09-20 02:46:42 -0700 |
commit | ab8d7eee76e9d439070fe116fb23e0afe7aa74c3 (patch) | |
tree | 2fc54a18e5233e875c664b4897368805b425a174 /src/cpu/inorder/cpu.cc | |
parent | 3f9f4bf3d6ce9080adb03966599e0f1a98b091eb (diff) | |
download | gem5-ab8d7eee76e9d439070fe116fb23e0afe7aa74c3.tar.xz |
CPU: Fix O3 and possible InOrder segfaults in FS.
Diffstat (limited to 'src/cpu/inorder/cpu.cc')
-rw-r--r-- | src/cpu/inorder/cpu.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpu/inorder/cpu.cc b/src/cpu/inorder/cpu.cc index 5d4d3c580..5d42ba559 100644 --- a/src/cpu/inorder/cpu.cc +++ b/src/cpu/inorder/cpu.cc @@ -633,7 +633,9 @@ InOrderCPU::processInterrupts(Fault interrupt) this->interrupts->updateIntrInfo(this->threadContexts[0]); DPRINTF(InOrderCPU, "Interrupt %s being handled\n", interrupt->name()); - this->trap(interrupt, 0); + static StaticInstPtr dummyStatic(TheISA::NoopMachInst, 0); + static DynInstPtr dummyDyn = new Impl::DynInst(dummyStatic); + this->trap(interrupt, dummyDyn); } |