ifndef _VPICD_H
_VPICD_H	EQU	1
VPICD_STAT_IRET_PENDING	EQU	01H
VPICD_STAT_IRET_PENDING_BIT	EQU	0
VPICD_STAT_IN_SERVICE	EQU	02H
VPICD_STAT_IN_SERVICE_BIT	EQU	1
VPICD_STAT_PHYS_MASK	EQU	04H
VPICD_STAT_PHYS_MASK_BIT	EQU	2
VPICD_STAT_PHYS_IN_SERV	EQU	08H
VPICD_STAT_PHYS_IN_SERV_BIT	EQU	3
VPICD_STAT_VIRT_MASK	EQU	10H
VPICD_STAT_VIRT_MASK_BIT	EQU	4
VPICD_STAT_VIRT_REQ	EQU	20H
VPICD_STAT_VIRT_REQ_BIT	EQU	5
VPICD_STAT_PHYS_REQ	EQU	40H
VPICD_STAT_PHYS_REQ_BIT	EQU	6
VPICD_STAT_VIRT_DEV_REQ	EQU	80H
VPICD_STAT_VIRT_DEV_REQ_BIT	EQU	7
VPICD_STAT_GLOBAL	EQU	100H
VPICD_STAT_GLOBAL_BIT	EQU	8
VPICD_STAT_OWNED_BY_VM	EQU	200H
VPICD_STAT_OWNED_BY_VM_BIT	EQU	9
VPICD_OPT_READ_HW_IRR	EQU	01H
VPICD_OPT_READ_HW_IRR_BIT	EQU	0
VPICD_OPT_CAN_SHARE	EQU	02H
VPICD_OPT_CAN_SHARE_BIT	EQU	1
VPICD_OPT_REF_DATA	EQU	04H
VPICD_OPT_REF_DATA_BIT	EQU	2
VPICD_OPT_VIRT_INT_REJECT	EQU	10H
VPICD_OPT_VIRT_INT_REJECT_BIT	EQU	4
VPICD_OPT_SHARE_PMODE_ONLY	EQU	20H
VPICD_OPT_SHARE_PMODE_ONLY_BIT	EQU	5
VPICD_OPT_SUPPORT_EDGE_SHARE_BIT	EQU	8
VPICD_OPT_SUPPORT_EDGE_SHARE	EQU	(1 SHL VPICD_OPT_SUPPORT_EDGE_SHARE_BIT)
VPICD_OPT_SORTABLE_BIT	EQU	9
VPICD_OPT_SORTABLE	EQU	(1 SHL VPICD_OPT_SORTABLE_BIT)
VPICD_OPT_ALL	EQU	33FH
VPICD_FDO_NO_CONTENTION	EQU	10000H
VPICD_FDO_NO_CONTENTION_BIT	EQU	16
VPICD_FDO_FAVOR_FOCUS	EQU	20000H
VPICD_FDO_FAVOR_FOCUS_BIT	EQU	17
NUM_IRQL_LEVELS	EQU	32

VPICD_IRQ_Descriptor	STRUC
VID_IRQ_Number	DW	?
VID_Options	DW	0
VID_Hw_Int_Proc	DD	?
VID_Virt_Int_Proc	DD	0
VID_EOI_Proc	DD	0
VID_Mask_Change_Proc	DD	0
VID_IRET_Proc	DD	0
VID_IRET_Time_Out	DD	500
VID_Hw_Int_Ref	DD	?
VPICD_IRQ_Descriptor	ENDS
Begin_Service_Table VPICD
VPICD_Service    VPICD_Get_Version, VxD_LOCKED_CODE
VPICD_Service    VPICD_Virtualize_IRQ, VxD_LOCKED_CODE
VPICD_Service    VPICD_Set_Int_Request, VxD_LOCKED_CODE
VPICD_Service    VPICD_Clear_Int_Request, VxD_LOCKED_CODE
VPICD_Service    VPICD_Phys_EOI, VxD_LOCKED_CODE
VPICD_Service    VPICD_Get_Complete_Status, VxD_LOCKED_CODE
VPICD_Service    VPICD_Get_Status, VxD_LOCKED_CODE
VPICD_Service    VPICD_Test_Phys_Request, VxD_LOCKED_CODE
VPICD_Service    VPICD_Physically_Mask, VxD_LOCKED_CODE
VPICD_Service    VPICD_Physically_Unmask, VxD_LOCKED_CODE
VPICD_Service    VPICD_Set_Auto_Masking, VxD_LOCKED_CODE
VPICD_Service    VPICD_Get_IRQ_Complete_Status, VxD_LOCKED_CODE
VPICD_Service    VPICD_Convert_Handle_To_IRQ, VxD_LOCKED_CODE
VPICD_Service    VPICD_Convert_IRQ_To_Int, VxD_LOCKED_CODE
VPICD_Service    VPICD_Convert_Int_To_IRQ, VxD_LOCKED_CODE
VPICD_Service    VPICD_Call_When_Hw_Int, VxD_LOCKED_CODE
VPICD_Service    VPICD_Force_Default_Owner, VxD_LOCKED_CODE
VPICD_Service    VPICD_Force_Default_Behavior, VxD_LOCKED_CODE
VPICD_Service    VPICD_Auto_Mask_At_Inst_Swap
VPICD_Service    VPICD_Begin_Inst_Page_Swap
VPICD_Service    VPICD_End_Inst_Page_Swap
VPICD_Service    VPICD_Virtual_EOI, VxD_LOCKED_CODE
VPICD_Service    VPICD_Get_Virtualization_Count
VPICD_Service    VPICD_Post_Sys_Critical_Init, LOCAL
VPICD_Service    VPICD_VM_SlavePIC_Mask_Change, VxD_LOCKED_CODE
VPICD_Service    _VPICD_Clear_IR_Bits, VxD_LOCKED_CODE
VPICD_Service	 _VPICD_Get_Level_Mask, VXD_LOCKED_CODE
VPICD_Service	 _VPICD_Set_Level_Mask, VXD_LOCKED_CODE
VPICD_Service    _VPICD_Set_Irql_Mask, VxD_LOCKED_CODE
VPICD_Service    _VPICD_Set_Channel_Irql, VxD_LOCKED_CODE
VPICD_Service    _VPICD_Prepare_For_Shutdown, VxD_LOCKED_CODE
VPICD_Service	 _VPICD_Register_Trigger_Handler, VxD_LOCKED_CODE
End_Service_Table VPICD
VPICD_TRIGGER_HANDLER_GET	EQU	00000000H
VPICD_TRIGGER_HANDLER_SET	EQU	00000001H
endif
