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.
IRQHandle
Handle for the interrupt request.
VMHandle
Handle of the current virtual machine.
Mask
Masked flag. This parameter is nonzero if the IRQ is being masked, and is zero if it is being masked.
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.