[PATCH] krnl386.exe16: Check for pending DPMI events in call16_handler().

Zebediah Figura z.figura12 at gmail.com
Mon Dec 4 09:30:52 CST 2017


On 12/04/2017 05:44 AM, Alexandre Julliard wrote:
> Zebediah Figura <z.figura12 at gmail.com> writes:
> 
>> -    /* Check for pending events. */
>> -
>> -    output( "\t.byte 0x64\n\ttestl $0xffffffff,(%d)\n", VM86_PENDING_OFFSET );
>> -    output( "\tje %s\n", asm_name("DPMI_PendingEventCheck_Cleanup") );
>> -    output( "\t.byte 0x64\n\ttestl $0xffffffff,(%d)\n", DPMI_VIF_OFFSET );
>> -    output( "\tje %s\n", asm_name("DPMI_PendingEventCheck_Cleanup") );
> 
> This doesn't seem right. Are you sure it's safe to remove these checks?
> 

As far as I can tell, those flags shouldn't be modified from 32-bit
code. But I could be wrong.

Do you know of a program that relies on pending interrupts?



More information about the wine-devel mailing list