[PATCH v5 0/2] Add emulation for UMIP instructions

Brendan Shanks bshanks at codeweavers.com
Fri Feb 14 14:07:27 CST 2020


> On Jan 21, 2020, at 4:54 PM, Brendan Shanks <bshanks at codeweavers.com> wrote:
> 
> This patch adds emulation for instructions protected by User-Mode
> Instruction Prevention (currently implemented by AMD Ryzen 3000 CPUs and
> some rare Intel CPUs).
> 
> Changes from previous patch:
> Switch the return values of emulate_umip_instr() to make is_privileged_instr() simpler
> 
> Brendan Shanks (2):
>  ntdll: Add emulation for UMIP instructions.
>  ntdll/tests: Add tests for UMIP instructions.
> 
> dlls/ntdll/signal_i386.c     | 307 +++++++++++++++++++++++++++-
> dlls/ntdll/signal_x86_64.c   | 346 +++++++++++++++++++++++++++++++-
> dlls/ntdll/tests/exception.c | 375 +++++++++++++++++++++++++++++++++++
> 3 files changed, 1012 insertions(+), 16 deletions(-)
> 

Please disregard this series, I’ve tested more games and have found some bugs in this patch.

Brendan


More information about the wine-devel mailing list