[RFC PATCH 0/1] Add emulation for UMIP instructions

Alexandre Julliard julliard at winehq.org
Wed Sep 18 15:32:34 CDT 2019


Brendan Shanks <bshanks at codeweavers.com> writes:

> This patch adds emulation for instructions protected by User-Mode
> Instruction Prevention (currently only implemented by Ryzen 3000 CPUs).
> I'm still working on tests but wanted to get some feedback, especially
> on these topics:
>
> - I'm currently adding the exception handler in signal_init_process()
>   but this doesn't feel like the right place to do it.
>   Is there a better place for this to go?

This shouldn't use an exception handler, it should be integrated into
the existing signal handlers for the respective platforms, most likely
as part of the is_privileged_instr() functions.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list