;/////////////////////////////////////////////////////////////////////////////
;// vpicdi.inc
;//
;// Virtual PIC Device internals
;//
;// 29/10/1999	fOSSiL		Initial version
;// 2000/01/14	The Owl		nasm port

%ifndef INCLUDED_VPICDI_INC
%define INCLUDED_VPICDI_INC

struc VID_IRQCB
.nIRQ		resd 1
.PIC_Mask	resw 1
.Options	resw 1
.SomeBool1	resd 1 
.Resr1		resd 2		; 0
.Flags		resd 1
.hIrqOwner	resd 1		; PTR VID_IRQ_Struct
.IRET_Timeout	resd 1
.Whatever1	resd 8
endstruc

struc VID_IRQ_Struct
.CtrlBlock	resd 1	 	; PTR VID_IRQCB
.ChainId	resd 1		; 1-based
.hPrevOwner	resd 1		; PTR VID_IRQ_Struct
.Hw_Int_Proc	resd 1		; PTR Proc
.Virt_Int_Proc	resd 1		; PTR Proc
.EOI_Proc	resd 1		; PTR Proc
.Mask_Change_Proc resd 1	; PTR Proc
.IRET_Proc	resd 1	 	; PTR Proc
.Resr1		resd 1		; 0
.Hw_Int_Ref	resd 1
.DbgStr		resd 1		; 'SIRQ'
endstruc

%endif