Google
 

Trailing-Edge - PDP-10 Archives - DECNET-20_PhaseIII_4-1-82 - dn20/nstab.m11
There are 16 other files named nstab.m11 in the archive. Click here to see a list.
	.title	NSTAB
	.ident	/X00030/
	.enabl	lc



; COPYRIGHT (C) 1980
; DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASSACHUSETTS 01754
;
; THIS SOFTWARE IS FURNISHED UNDER A LICENSE FOR USE ONLY ON A SINGLE
; COMPUTER SYSTEM AND MAY BE COPIED ONLY 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
; EXCEPT FOR USE ON SUCH SYSTEM AND TO ONE WHO AGREES TO THESE LICENSE
; TERMS. TITLE TO AND OWNERSHIP OF THE SOFTWARE SHALL AT ALL TIMES
; REMAIN IN DEC.
;
; THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE
; AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT
; CORPORATION.
;
; DEC ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF ITS
; SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DEC.




;++
; FACILITY:	MCB network device driver data structures.
;
; ABSTRACT:	This module defines the NS: device tables -
;		specifically, the DCB and UCB.
;
; ENVIRONMENT:	BLISS to MCB Interfacing
;
; AUTHOR:	Buren W. Hoffman	DATE: 6-Oct-80
;
; MODIFIED BY:
; 2	- Removed conditional assemblies.
;--

	.mcall	HWDDF$,UCBDF$

	HWDDF$				; Define DCB offsets
	UCBDF$				; Define UCB offsets
; **	Device Tables
$NSDAT::				; Ref label - Start of device tables


; Device Control Block (DCB)

DCB:	.word	0			; D.LNK  Link to next DCB
	.word	UCB			; D.UCB  UCB address
	.ascii	/NS/			; D.NAM  Device name
	.byte	0, 0			; D.UNIT Highest & lowest logical units
	.word	UCBL			; D.UCBL Length of UCB
	.word	$NSTBL			; D.DSP  Address of dispatch table
	.word	1			; D.MSK  Legal function mask
	.word	1			;        Control function mask
	.word	0			;        NOOP function mask
	.word	0			;        ACP function mask
	.word	37000			; D.MSK  Legal function mask
	.word	30000			;        Control function mask
	.word	0			;        NOOP function mask
	.word	0			;        ACP function mask
	.word	0			; D.PCB  PCB address
; Unit Control Block (UCB)

UCB:	.word	DCB			; U.DCB  DCB address
	.word	.-2			; U.RED  Redirect pointer
	.byte	UC.KIL!UC.QUE		; U.CTL  Control flags
	.byte	0			; U.STS  Unit status
	.byte	0			; U.UNIT Unit number
	.byte	US.RED			; U.ST2  Unit status
	.word	0, 0, 0, 0		; U.CW1 thru U.CW4
	.word	SCB			; U.SCB  SCB address
	.word	0			; U.ATT  Attached TCB address
	.blkw	6			; U.BUFF Device dependent stuff
	UCBL=.-UCB			; Length of UCB


; Status Control Block (SCB)

SCB:	.word	0			; S.LHD  I/O queue listhead
	.word	.-2			;        ...
	.byte	PR5			; S.PRI  Device priority
	.byte	0			; S.VCT  Interrupt vector offset
	.byte	0			; S.CTM  Current timeout value
	.byte	0			; S.ITM  Initial timeout value
	.byte	0			; S.CON  Controller index
	.byte	0			; S.STS  Controller status
	.word	0			; S.CSR  CSR address
	.word	0			; S.PKT  Current IOP address
	.word	0,0,0,0			; S.FRK  Fork block
	.word	0			;        More of fork block


$NSEND::				; Ref label - End of device tables
	.end