diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-01-16 19:12:33 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-01-16 19:12:33 -0500 |
commit | 64528df38d7484591ae27bb2a2252fc1bccd4e9a (patch) | |
tree | e95cdfd29e122e4fa38770e73c5005b32ade1c41 | |
parent | 8d75e4ac3f3eb06733e85079e852f64576553519 (diff) | |
download | gem5-64528df38d7484591ae27bb2a2252fc1bccd4e9a.tar.xz |
In the case that we generate a fault (e.g. a tlb miss) on a microcoded instruction set curMacroStaticInst to null
This way we'll jump immediately to the handler
--HG--
extra : convert_revision : 36218d3a5c2342337e66e1229ea2219533efd41e
-rw-r--r-- | src/cpu/simple/base.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index 4e5754bbb..ddccc5a9b 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -437,6 +437,7 @@ void BaseSimpleCPU::advancePC(Fault fault) { if (fault != NoFault) { + curMacroStaticInst = StaticInst::nullStaticInstPtr; fault->invoke(tc); } else { //If we're at the last micro op for this instruction |