;       SCCSID = @(#)nmi.inc	6.1 90/11/17
;      SCCSID = @(#)nmi.inc	13.1 88/10/14

;
;	This is IBM Unique Code


RB0	STRUC			 ; This structure is statically defined
				 ; and is used to get LID Parameters
	RBLength     dw	     ?
	LogicalID    dw	     ?
	Unit	     dw	     ?
	Function     dw	     ?
	RBFlags	     dw	     ?
		     dw	     ?
	ReturnCode   dw	     ?
		     dw	     ?
	NMIInt	     db	     ?
	NMIArb	     db	     ?
	NMIDeviceID  dw	     ?
	NMIUnits     dw	     ?
	NMILIDF	     dw	     ?
	NMIRBLength  dw	     ?
		     dw	     8 dup (0)

RB0	ENDS


RB1	STRUC			 ; This structure is used as the request
				 ; block for enable / disable nmi calls.
	RBLength1    dw	      ?  ; It is allocated based on length info
	LogicalID1   dw	      ?  ; from get LIDParms call
	Unit1	     dw	      ?
	Function1    dw	      ?
	RBFlags1     dw	      ?
		     dw	      ?
	ReturnCode1  dw	      ?
		     dw	      14 dup(?)

RB1	ENDS


RB2	STRUC			 ; This structure is the request block
				 ; for the NMI Continuous read function.
	RBLength2     dw      ?  ; It is outstanding after making the call
	LogicalID2    dw      ?  ; and is passed to the interrupt service
	Unit2	      dw      ?  ; routine in the event of an NMI.
	Function2     dw      ?
	RBFlags2      dw      ?
	ELAOFset      dw      ?
	ReturnCode2   dw      ?
		      dw      ?
	NMIType	      dw      ?
	ArbNMI	      db      ?
	ErrLength     db      ?
	NMIInt2	      db      ?
	NMIArb2	      db      ?
	NMIDeviceID2  dw      ?
	PortK_Status  db      ?
	PortB_Status  db      ?
	PortWD_Status db      ?
	Mask_Status   db      ?
	NMI_ErrCode   dw      ?
	Arb_Level     db      ?
	Work_Bytes    db      11 dup(?)


RB2	ENDS

NMIDevice	equ    0AH
NMIParm		equ	1
NMIEnab		equ	6
NMIDisab	equ	7
IntVal		equ	474AH

