Brendan Shanks bshanks@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.