ntoskrnl: Emulate sti/cli instructions on x86_64.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45521 Signed-off-by: Fabian Maurer <dark.shadow4@web.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b4a5622172
commit
d509b1579e
1 changed files with 5 additions and 0 deletions
|
@ -815,6 +815,11 @@ static DWORD emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context )
|
|||
}
|
||||
break; /* Unable to emulate it */
|
||||
}
|
||||
|
||||
case 0xfa: /* cli */
|
||||
case 0xfb: /* sti */
|
||||
context->Rip += prefixlen + 1;
|
||||
return ExceptionContinueExecution;
|
||||
}
|
||||
return ExceptionContinueSearch; /* Unable to emulate it */
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue