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
This commit is contained in:
Ali Saidi 2007-01-16 19:12:33 -05:00
parent 8d75e4ac3f
commit 64528df38d

View file

@ -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