ARM: Zero the micropc when vectoring to a fault.

This commit is contained in:
Gabe Black 2010-06-02 12:58:10 -05:00
parent 1d5233958a
commit b6cb6f1874

View file

@ -141,6 +141,7 @@ ArmFaultBase::invoke(ThreadContext *tc)
Addr newPc = getVector(tc) | (sctlr.te ? (ULL(1) << PcTBitShift) : 0);
tc->setPC(newPc);
tc->setNextPC(newPc + cpsr.t ? 2 : 4 );
tc->setMicroPC(0);
}
#else