diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-11-21 00:04:15 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-11-21 00:04:15 -0800 |
commit | ab598eadbfeefceb6501d4cca13147b660642d9e (patch) | |
tree | dec2882f70c2205551469ac21e2a6da02dc34745 /src/cpu/simple | |
parent | ce26c3ccec32ac557e6f289a599d8ff2b522149f (diff) | |
download | gem5-ab598eadbfeefceb6501d4cca13147b660642d9e.tar.xz |
imported patch pagewalker.patch
--HG--
extra : convert_revision : 8ddde313f2249e1346fa51372a156f0d2ddc3b8f
Diffstat (limited to 'src/cpu/simple')
-rw-r--r-- | src/cpu/simple/base.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index 010c21e4a..ad7b14be3 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -466,9 +466,9 @@ BaseSimpleCPU::advancePC(Fault fault) if (fault != NoFault) { curMacroStaticInst = StaticInst::nullStaticInstPtr; predecoder.reset(); - fault->invoke(tc); thread->setMicroPC(0); thread->setNextMicroPC(1); + fault->invoke(tc); } else { //If we're at the last micro op for this instruction if (curStaticInst && curStaticInst->isLastMicroop()) { |