VPICD_Get_Status


include vpicd.inc

mov     eax, IRQHandle
mov     ebx, VMHandle
VxDcall VPICD_Get_Status
mov     [Status], ecx

Retrieves the status for a virtual IRQ in a specified virtual machine. Although this service does not return the complete status, it returns the most commonly used information and is much faster than the VPICD_Get_Complete_Status service. Uses ECX and Flags.

VPICD_Stat_In_Service

The IRQ is virtually in service.

VPICD_Stat_IRET_Pending

A virtual iret instruction is pending.

VPICD_STAT_GLOBAL

VPICD is treating the IRQ as a global IRQ. Interrupts get requested into the current VM at the time of the real hardware interrupt. This applies only to IRQs which have not been virtualized.

VPICD_STAT_OWNED_BY_VM

The IRQ is owned by the current VM. This applies only to IRQs which have not been virtualized.


IRQHandle

Handle of the IRQ for which to receive status.

VMHandle

Handle of the virtual machine.