On Tue, 2017-03-14 at 00:25 +0300, Stas Sergeev wrote:Not quite, I meant also sgdt and sidt in vm86.
11.03.2017 02:59, Ricardo Neri ÐÐÑÐÑ:Stas, I apologize for the delayed reply; I missed your e-mail.
On Fri, 2017-03-10 at 14:33 +0300, Stas Sergeev wrote:Why would you do that?
Why would you need one?It str and sldt can be emulated in vm86 but as Andy mention, the
Or do you really want to allow these instructions
in v86 by the means of emulation? If so - this wasn't
clearly stated in the patch description, neither it was
properly discussed, it seems.
behavior sould be the same with and without emulation.
I looked up the dosemu2 CPU simulator code that
is used under x86-64. It says this:
It only implements smsw.Do you mean the unneeded emulation for SLDT and STR?
So maybe you can make your code much
simpler and remove the unneeded emulation?
Same is for prot mode.
Likely so.You know the wine'sBut emulation is still needed for SMSW, right?
requirements now - they are very small. And
dosemu doesn't need anything at all but smsw.
And even smsw is very rare.