VPICD_Get_Complete_Status

include vpicd.inc

mov eax, IRQHand ; IRQ handle

mov ebx, VM ; VM handle

VxDcall VPICD_Get_Complete_Status

mov [Status], ecx ; IRQ status


The VPICD_Get_Complete_Status service returns the complete status for a virtual IRQ in a specified virtual machine.

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.
VPICD_Stat_Phys_In_Serv The IRQ is physically in service.
VPICD_Stat_Phys_Mask The IRQ is physically masked.
VPICD_Stat_Phys_Req The physical interrupt request has been set.
VPICD_Stat_Virt_Dev_Req The virtual interrupt request has been set by the calling virtual device.
VPICD_Stat_Virt_Mask The virtual machine has masked the IRQ.
VPICD_Stat_Virt_Req The virtual interrupt request for the virtual machine has been set (by a virtual device, not necessarily the caller).

Uses

ECX, Flags

See Also

VPICD_Get_Status