Google
 

Trailing-Edge - PDP-10 Archives - BB-H240E-BM_1985 - dn20/kdpddm.m11
There are 15 other files named kdpddm.m11 in the archive. Click here to see a list.
	.TITLE	KDPDDM - KDP DDM data base
	.IDENT	/001090/
	.ENABL	LC
;
;
;                    COPYRIGHT (c) 1980, 1981, 1982
;                    DIGITAL EQUIPMENT CORPORATION
;
;     This software is furnished under a license and may  be  used
;     and copied only in accordance with the terms of such license
;     and with the inclusion of the above copyright notice.   This
;     software  or any other copies thereof may not be provided or
;     otherwise made available to any other person.  No  title  to
;     and ownership of the software is hereby transferred.
;
;     The information  in  this  software  is  subject  to  change
;     without  notice  and should not be construed as a commitment
;     by DIGITAL EQUIPMENT CORPORATION.
;
;     DIGITAL assumes no responsibility for the use or reliability
;     of  its  software  on  equipment  which  is  not supplied by
;     DIGITAL.
;
;+
; DDM data base for KMC/DUP device driver.
;-

	.MCALL	MPX$
;
; KMC controller table
;

	MPX$	DSR,UNT
	.WORD	0		; Control switches
	CHR$W	CTL,0		; KMC SEL0 register address
	CHR$W	CTL,1		; KMC interrupt vector address
	CHR$B	CTL,2		; KMC interrupt priority
	CTL$B			; KMC controller number
	DSR$W
	    SYN$X		; SYNCH block
	    END$

	LST$D			; Input interrupt request queue
	DSR$W	4.*2		; DMC registers for next input transfer
	DSR$W	4.*2		; Data port holding area
	.WORD	0		; Device errors (bit mapped)
	.WORD	0		; Performance errors (bit mapped)
	.EVEN
	.BYTE	0		; Number of active DUPs
	.BYTE	KDP.mx		; Maximum number of DUPs per KMC
	.BLKB	KDP.mx		; DUP process PIX table
	.EVEN
	END$	K.LEN

;
; DUP unit table
;

	.WORD	0		; Long timer and flags
	.WORD	0		; Control flags
	LST$D			; Assignable transmit buffer chains
	LST$D			; Pending control function queue
	CTL$B			; Number of KMC controller
	.BYTE	0		; KMC process PIX
	UNT$B			; Number of DUP
	.BYTE	0		; DUP process PIX
	LIX$W			; Line index
	.BYTE	0		; Number of transmit descriptors assigned
	.BYTE	0		; Number of available transmit descriptors
	.BYTE	0		; Number of receive descriptors assigned
	.BYTE	0		; Number of available receive descriptors
	.BYTE	5		; Transmit timeout interval
	.BYTE	4		; Polling change threshold count
	.BYTE	KDP.sg		; Maximum allowable transmit segments.
	.EVEN
	.WORD	0		; Device errors (bit mapped)
	.WORD	0		; Performance errors (bit mapped)

	COR$D			; Extension table:
	    .WORD   0		;  Next transmit descriptor to assign
	    .WORD   0		;  Next receive descriptor to assign
	     LST$D		;  Assigned buffer chains
	     LST$D		;  Assigned buffer chains
	    LIX$W		;  NMX entity identification
	     CHR$W   UNT,<0>	;  Address of DUP SEL0 register
	     CHR$W   UNT,<1>	;  Line characteristics
	     CHR$W   UNT,<2>	;  Protocol characteristics
	     .WORD   0		;  Station address + CONTROL-IN flags
	     .BYTE   0		;  Polling rate
	     .BYTE   0		;  Polling adjustment threshold
	    .EVEN
	    VFY$    E.LEN
	    .REPT   <2>
	    .BLKW   1		; Link word
	    .BLKW   2		; 18 bit address of descriptor list
	    .REPT   <KDP.sg>
	    .BLKW   3		; Descriptors
	    .ENDR
	    .ENDR
	    .REPT   <2>
	    .BLKW   1		; Link word
	    .BLKW   2		; 18 bit address of descriptor list
	    .BLKW   3		; Descriptor
	    .ENDR
	    END$

	END$	D.LEN

	.END