[PATCH v2 1/2] ntdll: Add emulation for UMIP instructions.

Alexandre Julliard julliard at winehq.org
Thu Nov 14 02:31:34 CST 2019


Brendan Shanks <bshanks at codeweavers.com> writes:

> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47571
> Signed-off-by: Brendan Shanks <bshanks at codeweavers.com>
> ---
>  dlls/ntdll/Makefile.in     |   1 +
>  dlls/ntdll/signal_i386.c   |  19 +
>  dlls/ntdll/signal_x86_64.c |  19 +
>  dlls/ntdll/umip.c          | 780 +++++++++++++++++++++++++++++++++++++
>  dlls/ntdll/umip.h          |  21 +
>  5 files changed, 840 insertions(+)
>  create mode 100644 dlls/ntdll/umip.c
>  create mode 100644 dlls/ntdll/umip.h

Please also merge this with the existing is_privileged_instr() functions
in the respective signal_*.c files, we don't need to parse the code
multiple times for the same exception.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list