Closed icyfox168168 closed 2 years ago
I could expose a new callback, similar to ShemuMemAccess, which - when set - would be called by the shemu engine on CPUID emulation. The callback implementation would then return the appropriate result in the EAX, ECX, EDX and EBX registers.
Very nice, can be written as a generic callback? It can also be suitable for other assembly instructions that do not support
In this structure SHEMU_CONTEXT sets the CPUID value