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

Brendan Shanks bshanks at codeweavers.com
Tue Jan 21 18:54:09 CST 2020


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(-)

-- 
2.24.1




More information about the wine-devel mailing list