X86: Fix store microops so they don't drop faults in timing mode.

If a fault was returned by the CPU when a store initiated it's write, the
store instruction would ignore the fault. This change fixes that.
This commit is contained in:
Gabe Black 2011-07-02 22:31:22 -07:00
parent 45b411fc5f
commit 2f72d6a1f4

View file

@ -201,7 +201,7 @@ def template MicroStoreInitiateAcc {{
if(fault == NoFault)
{
write(xc, Mem, EA, memFlags);
fault = write(xc, Mem, EA, memFlags);
}
return fault;
}