include vpicd.inc
mov eax, IRQNum
mov ebx, VMHandle
VxDcall VPICD_Force_Default_Owner
jc errorhandler
Forces VPICD's default interrupt handler to direct a specified IRQ to a particular virtual machine, or to make the IRQ global so that any virtual machine can receive the interrupt. Uses Flags.
VPICD_FDO_NO_CONTENTION | Specifies that VPICD should not indicate contention on a non-virtualized IRQ to the user. |
VPICD_FDO_FAVOR_FOCUS | Specifies that VPICD should request interrupts into the execution focus VM instead of the current VM, if the critical section is not owned. |