Make far calls restartable when they trigger a fault pushing the return address onto the stack
This commit is contained in:
parent
b944cff3b5
commit
b0ada4229d
4 changed files with 68 additions and 31 deletions
|
|
@ -1397,6 +1397,7 @@ X86CPU.prototype.resetRegs = function()
|
|||
* currently opLIP is updated prior to every instruction, but opLSP is updated only for instructions
|
||||
* that read/write the stack (eg, RETF) and should otherwise remain set to X86.ADDR_INVALID.
|
||||
*/
|
||||
this.opCS = -1;
|
||||
this.opLIP = this.opLSP = X86.ADDR_INVALID;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue