include vpicd.inc
mov eax, IRQHandle
mov ebx, VMHandle
mov ecx, Mask
call VID_Mask_Change_Proc
Processes attempts to mask or unmask the specified IRQ. The system calls this procedure whenever a virtual machine attempts to mask or unmask an interrupt.
The system disables interrupts before calling this procedure. The procedure can re-enable interrupts if necessary. Uses EAX, EBX, ECX, EDX, ESI, and Flags.
A virtual device typically uses this procedure to detect contention for a device. The default interrupt routines use this callback to detect conflicts with nonglobal interrupts.