Trailing-Edge
-
PDP-10 Archives
-
TOPS-20_V6.1_DECnetSrc_7-23-85
-
mcb/vnp36/vnpval.req
There are 2 other files named vnpval.req in the archive. Click here to see a list.
! COPYRIGHT (c) 1980, 1981, 1982
! DIGITAL EQUIPMENT CORPORATION
! Maynard, Massachusetts
!
! 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.
!<DECNET20-V3P0.TKB-VNP.VNPV3>VNPVAL.REQ.2, 14-Apr-80 09:04:15, Edit by SROBINSON
! 12oct81 16:00:00, edit by S.THIGPEN
!
! THIS FILE, VNPVAL.REQ, DESCRIBES THE STORAGE BLOCK USED TO CARRY
! AROUND THE GLOBAL DATA FOR VNP20.
!
! DEFINE A FIELD WHICH IS WIDE ENOUGH TO HOLD A 16-BIT SYMBOL VALUE
! BUT IS ALSO EFFICIENT TO ACCESS.
!
LITERAL
LEN_NODE_NAME = 6;
COMPILETIME
BPSYM = (MAX (16, %BPVAL/2));
!
SBLOCK (VNPVAL, 13) !HEADER FOR VALUES
HEADER (VNPVAL) !
!
! THE FOLLOWING VALUES ARE READ (OR DEDUCED) FROM CETAB.MAC
!
ABLOCK (SLTNUM, BPSYM, 1) !NUMBER OF SYSTEM LINES
!
! THE FOLLOWING ARE LISTS OF BLOCKS BUILT FROM TEXT IN CETAB.MAC.
!
ABLOCK (LLC_CHAIN, %BPADDR, 1) !CHAIN TO LLC BLOCKS
ABLOCK (DEV_CHAIN, %BPADDR, 1) !CHAIN TO DEV BLOCKS
ABLOCK (SLT_CHAIN, %BPADDR, 1) !CHAIN TO SLT BLOCKS
ABLOCK (TSK_CHAIN, %BPADDR, 1) !CHAIN TO TSK BLOCKS
ABLOCK (MCB_CHAIN, %BPADDR, 1) !CHAIN TO MCB PROCESS BLOCKS
!
! The following locations contain information necessary to update MCB
! Process Descriptors.
!
ABLOCK (CE_DATA_BASE, 19, 1) !Address of CE: Data Base
ABLOCK (CE_DATA_FILE, %BPADDR, 1) !Address of CETAB File
!
! THE FOLLOWING ARE LOCATIONS IN THE KERNEL
!
ABLOCK (CRAVL, BPSYM, 1) !KERNEL SPACE ALLOCATION ROOT
ABLOCK (EXSIZ, BPSYM, 1) !SIZE OF THE KERNEL
ABLOCK (FMASK, BPSYM, 1) !OPTION BITS (SEE BELOW)
ABLOCK (POOL, BPSYM, 1) !START OF KERNEL FREE SPACE
ABLOCK (PARHD, BPSYM, 1) !POINTER TO LIST OF PARTITIONS
ABLOCK (TSKHD, BPSYM, 1) !POINTER TO LIST OF TASKS
ABLOCK (CLKHD, BPSYM, 1) !POINTER TO LIST OF CLOCK REQUESTS
ABLOCK (DEVHD, BPSYM, 1) !POINTER TO LIST OF DEVICE CONTROL BLOCKS
ABLOCK (SYSIZ, BPSYM, 1) !SIZE OF THE SYSTEM
ABLOCK (ABTIM, BPSYM, 1) !CURRENT (ABSOLUTE) TIME
ABLOCK (TKPS, BPSYM, 1) !Clock Ticks per Second
!
! THE FOLLOWING ARE OFFSETS INTO THE PARTITION CONTROL BLOCK (PCB)
!
ABLOCK (P_LGTH, BPSYM, 1) !LENGTH OF A PCB
ABLOCK (P_LNK, BPSYM, 1) !LINK TO ANOTHER PCB
ABLOCK (P_PRI, BPSYM, 1) !PRIORITY
ABLOCK (P_IOC, BPSYM, 1) !I/O + I/O STATUS BLOCK COUNT
ABLOCK (P_NAM, BPSYM, 1) !PARTITION NAME IN RADIX50_11
ABLOCK (P_SUB, BPSYM, 1) !POINTER TO NEXT SUBPARTITION
ABLOCK (P_MAIN, BPSYM, 1) !POINTER TO MAIN PARTITION
ABLOCK (P_REL, BPSYM, 1) !STARTING PHYSICAL ADDRESS OF PARTITION
ABLOCK (P_SIZE, BPSYM, 1) !SIZE OF PARTITION
ABLOCK (P_WAIT, BPSYM, 1) !PARTITION WAIT QUEUE LISTHEAD
ABLOCK (P_SWSZ, BPSYM, 1) !PARTITION SWAP SIZE (SYSTEM ONLY)
ABLOCK (P_BUSY, BPSYM, 1) !PARTITION BUSY FLAGS
ABLOCK (P_TCB, BPSYM, 1) !TCB ADDRESS OF OWNER TASK
ABLOCK (P_STAT, BPSYM, 1) !PARTITION STATUS FLAGS
ABLOCK (P_HDR, BPSYM, 1) !POINTER TO HEADER CONTROL BLOCK
!
! THE FOLLOWING TWO ITEMS ARE PRESENT ONLY IF PLAS IS SUPPORTED.
!
ABLOCK (P_PRO, BPSYM, 1) !PROTECTION WORD [DEWR,DEWR,DEWR,DEWR]
ABLOCK (P_ATT, BPSYM, 1) !ATTACHMENT DESCRIPTOR LISTHEAD
!
! THE FOLLOWING ARE BIT VALUES FOR THE FLAGS WORD ($FMASK).
!
ABLOCK (FE_EXT, BPSYM, 1) !PDP-11/70 EXTENDED MEMORY SUPPORT
ABLOCK (FE_MUP, BPSYM, 1) !MULTI-USER PROTECTION SUPPORT
ABLOCK (FE_EXV, BPSYM, 1) !EXECUTIVE IS SUPPORTED TO 20K
ABLOCK (FE_DRV, BPSYM, 1) !LOADABLE DRIVER SUPPORT
ABLOCK (FE_PLA, BPSYM, 1) !PLAS SUPPORT
ABLOCK (FE_CAL, BPSYM, 1) !DYNAMIC CHECKPOINT SPACE ALLOCATION
ABLOCK (FE_PKT, BPSYM, 1) !PREALLOCATION OF I/O PACKETS
ABLOCK (FE_EXP, BPSYM, 1) !EDTEND TASK DIRECTIVE SUPPORT
ABLOCK (FE_LSI, BPSYM, 1) !PROCESSOR IS AN LSI-11
ABLOCK (FE_CEX, BPSYM, 1) !COMM EXEC IS LOADED
ABLOCK (FE_MXT, BPSYM, 1) !MCR EXIT AFTER EACH COMMAND MODE
ABLOCK (FE_NLG, BPSYM, 1) !LOGINS DISABLED - MULTI-USER SUPPORT
!
! THE FOLLOWING ARE BIT VALUES FOR THE P.STAT WORD IN THE PCB
!
ABLOCK (PS_OUT, BPSYM, 1) !PARTITION IS OUT OF MEMORY
ABLOCK (PS_CKP, BPSYM, 1) !PARTITION CHECKPOINT IN PROGRESS
ABLOCK (PS_CKR, BPSYM, 1) !PARTITION CHECKPOINT IS REQUESTED
ABLOCK (PS_CHK, BPSYM, 1) !PARTITION IS NOT CHECKPOINTABLE
ABLOCK (PS_FXD, BPSYM, 1) !PARTITION IS FIXED
ABLOCK (PS_PER, BPSYM, 1) !PARITY ERROR IN PARTITION
ABLOCK (PS_LIO, BPSYM, 1) !MARKED BY SHUFFLER FOR LONG I/O
ABLOCK (PS_NSF, BPSYM, 1) !PARTITION IS NOT SHUFFLEABLE
ABLOCK (PS_COM, BPSYM, 1) !LIBRARY OR COMMON BLOCK
ABLOCK (PS_PIC, BPSYM, 1) !POSITION INDEPENDENT LIBRARY OR COMMON
ABLOCK (PS_SYS, BPSYM, 1) !SYSTEM CONTROLLED PARTITION
ABLOCK (PS_DRV, BPSYM, 1) !DRIVER IS LOADED IN PARTITION
ABLOCK (PS_DEL, BPSYM, 1) !PARTITION SHOULD BE DELETED WHEN NOT ATTACHED
ABLOCK (PS_APR, BPSYM, 1) !STARTING APR NUMBER MASK
!
! THE FOLLOWING ARE OFFSETS INTO THE TASK CONTROL BLOCK (TCB)
!
ABLOCK (T_PRI, BPSYM, 1) !TASK PRIORITY
ABLOCK (T_NAM, BPSYM, 1) !TASK NAME
ABLOCK (T_RCVL, BPSYM, 1) !RECEIVE QUEUE LISTHEAD
ABLOCK (T_ASTL, BPSYM, 1) !AST QUEUE LISTHEAD
ABLOCK (T_TCBL, BPSYM, 1) !TASK LIST THREAD WORD
ABLOCK (T_STAT, BPSYM, 1) !FIRST STATUS WORD
ABLOCK (T_ST2, BPSYM, 1) !SECOND STATUS WORD
ABLOCK (T_ST3, BPSYM, 1) !THIRD STATUS WORD
ABLOCK (T_DPRI, BPSYM, 1) !DEFAULT PRIORITY
ABLOCK (T_LBN, BPSYM, 1) !LBN OF TASK LOAD IMAGE
ABLOCK (T_LDV, BPSYM, 1) !UCB ADDRESS OF LOAD DEVICE
ABLOCK (T_PCB, BPSYM, 1) !POINTER TO TASK'S PARTITION
ABLOCK (T_MXSZ, BPSYM, 1) !MAX SIZE OF TASK IMAGE
ABLOCK (T_LGTH, BPSYM, 1) !LENGTH OF A TCB
!
! THE FOLLOWING ARE OFFSETS INTO THE TASK HEADER
!
ABLOCK (H_HDLN, BPSYM, 1) !HEADER LENGTH
ABLOCK (H_WND, BPSYM, 1) !POINTER TO NUMBER OF WINDOW BLOCKS
ABLOCK (H_GARD, BPSYM, 1) !POINTER TO HEADER GUARD WORD
ABLOCK (H_NLUN, BPSYM, 1) !NUMBER OF LUNS
ABLOCK (H_LUN, BPSYM, 1) !LOCATION OF FIRST LUN
!
! THE FOLLOWING ARE BITS IN THE FIRST TCB STATUS WORD
!
ABLOCK (TS_EXE, BPSYM, 1) !TASK NOT IN EXECUTION
ABLOCK (TS_RDN, BPSYM, 1) !I/O RUNDOWN IN PROGRESS
ABLOCK (TS_MSG, BPSYM, 1) !ABORT MESSAGE BEING OUTPUT
ABLOCK (TS_NRP, BPSYM, 1) !TASK MAPPED TO NON-RESIDENT PARTITION
ABLOCK (TS_RUN, BPSYM, 1) !TASK IS RUNNING ON ANOTHER PROCESSOR
ABLOCK (TS_OUT, BPSYM, 1) !TASK IS OUT OF MEMORY
ABLOCK (TS_CKP, BPSYM, 1) !TASK IS BEING CHECKPOINTED
ABLOCK (TS_CKR, BPSYM, 1) !TASK CHECKPOINT REQUESTED
!
! THE FOLLOWING ARE BITS IN THE SECOND TCB STATUS WORD
!
ABLOCK (T2_AST, BPSYM, 1) !AST IN PROGRESS
ABLOCK (T2_DST, BPSYM, 1) !AST RECOGNITION DISABLED
ABLOCK (T2_CHK, BPSYM, 1) !TASK NOT CHECKPOINTABLE
ABLOCK (T2_CKD, BPSYM, 1) !CHECKPOINTING DISABLED
ABLOCK (T2_BFX, BPSYM, 1) !TASK BEING FIXED IN MEMORY
ABLOCK (T2_FXD, BPSYM, 1) !TASK IS FIXED IN MEMORY
ABLOCK (T2_TIO, BPSYM, 1) !TASK DOING TERMINAL I/O
ABLOCK (T2_CAF, BPSYM, 1) !DYNAMIC CHECKPOINT FAILURE
ABLOCK (T2_HLT, BPSYM, 1) !TASK IS BEING HALTED
ABLOCK (T2_ABO, BPSYM, 1) !TASK MARKED FOR ABORT
ABLOCK (T2_STP, BPSYM, 1) !TASK STOPPED
ABLOCK (T2_SPN, BPSYM, 1) !TASK SUSPENDED
ABLOCK (T2_WFR, BPSYM, 1) !TASK IN WAITFOR STATE
!
! THE FOLLOWING ARE BITS IN THE THIRD TCB STATUS WORD
!
ABLOCK (T3_ACP, BPSYM, 1) !ANCILLARY CONTROL PROCESSOR
ABLOCK (T3_PMD, BPSYM, 1) !DON'T DUMP TASK ON ABORT
ABLOCK (T3_REM, BPSYM, 1) !REMOVE TASK ON EXIT
ABLOCK (T3_PRV, BPSYM, 1) !TASK IS PRIVLEGED
ABLOCK (T3_MCR, BPSYM, 1) !TASK REQUESTED AN EXTERNAL MCR FUNCTION
ABLOCK (T3_SLV, BPSYM, 1) !TASK IS A SLAVE TASK
ABLOCK (T3_CLI, BPSYM, 1) !TASK IS A COMMAND LINE INTERPRETER
ABLOCK (T3_RST, BPSYM, 1) !TASK IS RESTRICTED
ABLOCK (T3_NSD, BPSYM, 1) !TASK DOES NOT ALLOW SEND DATA
ABLOCK (T3_CAL, BPSYM, 1) !TASK HAS CHECKPOINT SPACE IN TASK IMAGE
ABLOCK (T3_ROV, BPSYM, 1) !TASK HAS RESIDENT OVERLAYS
ABLOCK (T3_NET, BPSYM, 1) !NETWORK PROTOCOL LEVEL
!
! THE FOLLOWING ARE OFFSETS INTO THE DEVICE CONTROL BLOCK (DCB)
!
ABLOCK (D_LNK, BPSYM, 1) !LINK TO NEXT DCB
ABLOCK (D_UCB, BPSYM, 1) !POINTER TO FIRST UNIT CONTROL BLOCK
ABLOCK (D_NAM, BPSYM, 1) !GENERIC DEVICE NAME
ABLOCK (D_UNIT, BPSYM, 1) !LOWEST AND HIGHEST UNIT NUMBERS
ABLOCK (D_UCBL, BPSYM, 1) !LENGTH OF EACH UCB
ABLOCK (D_DSP, BPSYM, 1) !POINTER TO DRIVER DISPATCH TABLE
ABLOCK (D_MSK, BPSYM, 1) !VARIOUS MASK BITS
ABLOCK (D_PCB, BPSYM, 1) !LOADABLE DRIVER PCB ADDRESS
!
! THE FOLLOWING ARE OFFSETS INTO THE STATUS CONTROL BLOCK (SCB)
!
ABLOCK (S_LHD, BPSYM, 1) !CONTROLLER I/O QUEUE LISTHEAD
ABLOCK (S_VCT, BPSYM, 1) !INTERRUPT VECTOR ADDRESS / 4
ABLOCK (S_FRK, BPSYM, 1) !FORK BLOCK LINK WORD
!
! THE FOLLOWING ARE OFFSETS INTO THE UNIT CONTROL BLOCK (UCB)
!
ABLOCK (U_DCB, BPSYM, 1) !BACK POINTER TO DCB
ABLOCK (U_RED, BPSYM, 1) !POINTER TO REDIRECT UNIT UCB
ABLOCK (U_CW1, BPSYM, 1) !CHARACTERISTICS WORD 1
ABLOCK (U_CW2, BPSYM, 1) ! WORD 2
ABLOCK (U_CW3, BPSYM, 1) ! WORD 3
ABLOCK (U_CW4, BPSYM, 1) ! WORD 4
ABLOCK (U_SCB, BPSYM, 1) !POINTER TO SCB
!
! CLOCK QUEUE CONTROL BLOCK TYPE INDEPENDENT OFFSET DEFINTIONS
!
ABLOCK (CLK_LNK, BPSYM, 1) !CLOCK QUEUE THREAD WORD
ABLOCK (CLK_RQT, BPSYM, 1) !REQUEST TYPE
ABLOCK (CLK_EFN, BPSYM, 1) !EVENT FLAG NUMBER (MARK TIME ONLY)
ABLOCK (CLK_TCB, BPSYM, 1) !USUALLY TCB ADDRESS
ABLOCK (CLK_TIM, BPSYM, 1) !TIME WHEN REQUEST COMES DUE
ABLOCK (CLK_LGTH, BPSYM, 1) !LENGTH OF A CLOCK QUEUE ENTRY
!
! THE FOLLOWING ARE VALUES OF THE REQUEST TYPE BYTE
!
ABLOCK (CLK_MRKT, BPSYM, 1) !MARK TIME REQUEST
ABLOCK (CLK_SCHD, BPSYM, 1) !TASK REQ. WITH RESCHEDULING
ABLOCK (CLK_SSHT, BPSYM, 1) !SINGLE SHOT TASK REQUEST
ABLOCK (CLK_SYST, BPSYM, 1) !SINGLE SHOT KERNEL REQUEST (IDENT)
ABLOCK (CLK_SYTK, BPSYM, 1) !SINGLE SHOT KERNEL REQUEST (TASK)
!
! THE FOLLOWING CELLS ARE USED BY THE CETAB.MAC FILE READER TO
! ASSOCIATE THE DEV$DF LINES WITH THEIR ASSOCIATED CTL$DF, UNT$DF'S
! AND TRB$DF'S. ALSO TO ASSOCIATE THE UNT$DF LINES WITH THEIR TRB$DF'S.
!
ABLOCK (CURRENT_SLT, %BPADDR, 1) !THE LAST SYSTEM LINE SEEN
ABLOCK (CURRENT_DEV, %BPADDR, 1) !THE LAST DEV$DF SEEN
ABLOCK (CURRENT_CTL, %BPADDR, 1) !THE LAST CTL$DF SEEN
ABLOCK (CURRENT_UNT, %BPADDR, 1) !THE LAST UNT$DF SEEN
!
! THE FOLLOWING CELLS ARE READ FROM VARIOUS LINES IN CETAB.MAC
!
! From SYS$DF
ABLOCK(NODNAM, CH$ALLOCATION(LEN_NODE_NAME)*%BPVAL,2) !The node name
ABLOCK(NODNM, BPSYM, 1) !The node's number
! From MEM$DF
ABLOCK(DSR, BPSYM, 1) !The size of dynamic storage
ABLOCK(COR, BPSYM, 1) !The size of the core system
!
! THE FOLLOWING CELLS ARE USED TO ALLOCATE SPACE IN THE NETWORK POOL
!
ABLOCK (POOL_ALLOC, 19, 1) !CURRENT ADDRESS
ABLOCK (POOL_BOTTOM, 19, 1) !BOTTOM OF POOL (DON'T ALLOCATE BELOW HERE)
ABLOCK (POOL_BASE, 19, 1) !BASE OF POOL
!
EBLOCK (VNPVAL) !
! Local Modes:
! Comment Column:36
! Comment Start:!
! Mode:Fundamental
! Auto Save Mode:2
! Word Abbrev Mode: 1
! End: