include vpicd.inc
mov eax, IRQHandle
VxDcall VPICD_Set_Auto_Masking
Enables automatic masking for the specified IRQ. When automatic masking is enabled, the system automatically masks the physical IRQ if all virtual machines have masked the corresponding virtual IRQs. However, if at least one virtual machine has the IRQ unmasked, the physical IRQ remains unmasked. Uses Flags.
Automatic masking is the default for every IRQ. It can be overridden by the VPICD_Physically_Mask and VPICD_Physically_Unmask services.