VPICD_Get_Status

include vpicd.inc

mov eax, IRQHand ; IRQ handle

mov ebx, VM ; VM handle

VxDcall VPICD_Get_Status

mov [Status], ecx ; IRQ status


The VPICD_Get_Status service returns 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.

Parameters

IRQHand

Specifies the handle identifying the IRQ for which to receive status.

VM

Specifies the handle identifying the virtual machine.

Return Value

The ECX register contains a combination of the following status flag values:

Value Meaning

VPICD_Stat_In_Service The IRQ is virtually in service.
VPICD_Stat_IRET_Pending A virtual iret instruction is pending.

Uses

ECX, Flags

See Also

VPICD_Get_Complete_Status