Trailing-Edge
-
PDP-10 Archives
-
BB-F493Z-DD_1986
-
10,7/703mon/montab.mem
Click 10,7/703mon/montab.mem to
see without markup as text/plain
There are 10 other files named montab.mem in the archive. Click here to see a list.
TOPS-10 Tables Descriptions
| April 1986
ABSTRACT
This document contains illustrated
descriptions of the tables used by the
TOPS-10 monitor and the ANF-10
networking softare to allocate memory,
control jobs and resources, and provide
information.
|
|
|
| Operating System: TOPS-10 Version 7.03
| GALAXY Version 5.1
| DECnet-10 Version 4.0
Page 2
| Printed: April 1986
The information in this document is subject to change without notice
and should not be construed as a commitment by Digital Equipment
Corporation. Digital Equipment Corporation assumes no responsibility
for any errors that may appear in this document.
The software described in this document is furnished under a license
and may only be used or copied in accordance with the terms of such
license.
No responsibility is assumed for the use or reliability of software on
equipment that is not supplied by DIGITAL or its affiliated companies.
Copyright C , 1980, 1986, Digital Equipment Corporation.
All Rights Reserved.
The postage-prepaid READER'S COMMENTS form on the last page of this
document requests the user's critical evaluation to assist us in
preparing future documentation.
The following are trademarks of Digital Equipment Corporation:
DEC DECnet IAS
DECUS DECsystem-10 MASSBUS
Digital Logo DECSYSTEM-20 PDT
PDP DECwriter RSTS
UNIBUS DIBOL RSX
VAX EduSystem VMS
VT
Page 1
CONTENTS
1.0 ACC -- ACCESS TABLE . . . . . . . . . . . . . . . . 9
1.1 ACCNMB -- Next ACC Byte . . . . . . . . . . . . 10
1.2 ACCPPB -- PPB Address . . . . . . . . . . . . . 11
1.3 ACCADT -- Access Status . . . . . . . . . . . . 12
1.4 ACCPRV -- Privilege Code . . . . . . . . . . . . 14
2.0 AVALTB -- AVAILABLE RESOURCE TABLE . . . . . . . . 16
3.0 BAF -- BAD ALLOCATION FILE . . . . . . . . . . . . 17
3.1 BAFNBS -- Bad Blocks . . . . . . . . . . . . . . 19
3.2 BAFREG -- Bad Region Word Pair . . . . . . . . . 20
4.0 USER I/O BUFFER . . . . . . . . . . . . . . . . . 21
4.1 First Word -- I/O Status Bits . . . . . . . . . 21
4.2 Second Word -- Use Bit . . . . . . . . . . . . . 22
4.3 Third Word -- Word Count . . . . . . . . . . . . 22
5.0 BUFFER RING HEADER . . . . . . . . . . . . . . . . 23
6.0 CDB -- CPU DATA BLOCK . . . . . . . . . . . . . . 24
7.0 CB -- CONNECTION BLOCK . . . . . . . . . . . . . . 41
8.0 CDT -- CONNECTED DEVICE TABLE . . . . . . . . . . 44
9.0 CHKTAB -- UUO CHECK BIT TABLE . . . . . . . . . . 45
10.0 CHKTBC -- CALL AND CALLI UUO CHECK BIT TABLE . . . 46
11.0 CHN -- CHANNEL DATA BLOCK . . . . . . . . . . . . 48
12.0 CHTABL -- SPECIAL CHARACTER TABLE . . . . . . . . 51
13.0 CHREQV -- CHARACTER EQUIVALENCE TABLE . . . . . . 64
14.0 CIPWT -- CLOCK REQUEST QUEUE . . . . . . . . . . . 70
15.0 COMTAB -- COMMAND TABLE . . . . . . . . . . . . . 71
16.0 CSRTAB -- CONTEXT SAVE/RESTORE TRANSLATION TABLE . 72
17.0 CSTTAB -- CUSTOMER-DEFINED COMMANDS TABLE . . . . 76
18.0 COMTB2 -- SET COMMAND TABLE . . . . . . . . . . . 77
19.0 DDB -- DEVICE DATA BLOCK . . . . . . . . . . . . . 78
19.1 DEVCHR -- Device Characteristics Word . . . . . 83
19.2 DEVIOS -- Device Input/Output Status Word . . . 84
19.3 DEVMOD -- Device Modes Word . . . . . . . . . . 87
19.4 DEVIAD -- Input Buffer Word . . . . . . . . . . 88
19.5 DEVOAD -- Output Buffer Word . . . . . . . . . . 90
19.6 DEVSTA -- Device Station Word . . . . . . . . . 91
19.7 DEVXTR -- Extra Word . . . . . . . . . . . . . . 92
19.8 DEVEVM -- Exec Virtual Memory Word . . . . . . . 93
19.9 DEVESE -- Extended Software Error Word . . . . . 93
19.10 DEVHCW -- Device Hardware Characteristics Word . 94
19.11 DEVCPU -- CPU Word . . . . . . . . . . . . . . . 95
19.12 DEVJOB -- Job Word . . . . . . . . . . . . . . . 95
19.13 DEVFUN -- UDB Pointer (Disk DDB Only) . . . . . 96
19.14 DEVELB -- Error Information (Disk DDBs Only) . . 96
19.15 DEVRIB -- Current RIB Information (Disk DDBs
Only) . . . . . . . . . . . . . . . . . . . . . 97
19.16 DEVCUR -- Current Unit Information (Disk DDBs
Only) . . . . . . . . . . . . . . . . . . . . . 97
19.17 DEVFCS -- CFP-Supplied Word (Disk DDBs Only) . . 98
19.18 DEVRBn -- Retrieval Pointer (Disk DDBs Only) . . 98
19.19 TDVSTS -- Status Information Word (Magtape DDBs
Only) . . . . . . . . . . . . . . . . . . . . . 99
20.0 DEVDSP -- DEVICE DISPATCH TABLE . . . . . . . . . 100
21.0 DISK CACHE DATA STRUCTURE . . . . . . . . . . . . 102
22.0 DISP AND DISP2 -- COMMAND DISPATCH TABLES . . . . 104
Page 2
23.0 DISPC -- CUSTOMER-DEFINED COMMAND DISPATCH TABLE . 105
24.0 DSCTAB -- DATASET CONTROL TABLE . . . . . . . . . 106
25.0 ECB -- ETHERNET CHANNEL BLOCK . . . . . . . . . . 107
25.1 ECBSTS -- Ethernet Channel Status Word . . . . . 108
25.2 ECBCTR -- Ethernet Channel Counters Block . . . 108
25.2.1 CC.XFM -- Ethernet Channel Counters Transmit
Failure Bit Mask . . . . . . . . . . . . . . . 109
25.2.2 CC.RFM -- Ethernet Channel Counters Receive
Failure Bit Mask . . . . . . . . . . . . . . . 109
26.0 EKB -- ETHERNET KONTROLLER BLOCK . . . . . . . . . 110
26.1 EKBKTY -- Ethernet Kontroller Type Word . . . . 111
26.2 EKBSTS -- Ethernet Kontroller Status Word . . . 111
26.3 EKBCTR -- Ethernet Kontroller Counters Block . . 112
26.3.1 KC.XFM -- Ethernet Kontroller Counters
Transmit Failure Bit Mask . . . . . . . . . . 113
26.3.2 KC.RFM -- Ethernet Kontroller Counters Receive
Failure Bit Mask . . . . . . . . . . . . . . . 113
27.0 EMB -- ETHERNET MULTICAST ADDRESS BLOCK . . . . . 114
28.0 ENQ/DEQ BLOCKS . . . . . . . . . . . . . . . . . . 115
29.0 EPB -- ETHERNET PORTAL BLOCK . . . . . . . . . . . 117
29.1 EPBSTS -- Ethernet Portal Status Word . . . . . 118
29.2 EPBCTR -- Ethernet Portal Counters Block . . . . 119
30.0 EPT -- EXEC PROCESS TABLE . . . . . . . . . . . . 120
31.0 EXE FORMAT SAVE FILES . . . . . . . . . . . . . . 122
32.0 FETTBL -- TABLE OF BITS FOR MONITOR FEATURES . . . 125
33.0 FRAGMENT TABLE . . . . . . . . . . . . . . . . . . 126
34.0 HOM -- HOME BLOCK . . . . . . . . . . . . . . . . 127
35.0 INTTAB -- INTERRUPT ROUTINE TABLE . . . . . . . . 131
36.0 JBTADR -- JOB ADDRESS TABLE . . . . . . . . . . . 133
37.0 JBTAD2 -- SECOND JOB ADDRESS TABLE . . . . . . . . 134
38.0 JBTCHK -- SEGMENT CHECKSUM TABLE . . . . . . . . . 135
39.0 JBTCLM -- JOB CORE LIMITS . . . . . . . . . . . . 136
40.0 JBTCQ -- JOB QUEUES TABLE . . . . . . . . . . . . 137
41.0 JBTCSQ -- SUBQUEUES TABLE . . . . . . . . . . . . 139
42.0 JBTDDB -- DDB REQUESTED BY JOB . . . . . . . . . . 140
43.0 JBTDEV -- HIGH SEGMENT DEVICE TABLE . . . . . . . 141
44.0 JBTDTC -- JOB REQUESTING DECTAPE DDB . . . . . . . 142
45.0 JBTIMI -- JOB PAGE COUNT . . . . . . . . . . . . . 143
46.0 JBTIMO -- SWAPPED-OUT PAGE COUNT . . . . . . . . . 144
47.0 JBTIPC -- REQUESTED IPCF INTERLOCK . . . . . . . . 145
48.0 JBTJIL -- JUST-SWAPPED-IN LIST . . . . . . . . . . 146
49.0 JBTJRQ -- REQUEUE LIST . . . . . . . . . . . . . . 147
50.0 JBTLIM -- JOB TIME LIMIT TABLE . . . . . . . . . . 148
51.0 JBTLOC -- JOB LOCATION TABLE . . . . . . . . . . . 149
52.0 JBTNAM -- JOB NAME TABLE . . . . . . . . . . . . . 150
53.0 JBTOLS -- JOB OUTPUT LIST . . . . . . . . . . . . 151
54.0 JBTPC -- USER MODE PC . . . . . . . . . . . . . . 152
55.0 JBTPDB -- PROCESS DATA BLOCK TABLE . . . . . . . . 153
56.0 JBTPIA -- SOFTWARE PROGRAM INTERRUPT TABLE . . . . 154
57.0 JBTPPN -- PROJECT PROGRAMMER NUMBER TABLE . . . . 155
58.0 JBTPRV -- JOB PRIVILEGE BITS . . . . . . . . . . . 156
59.0 JBTRQT -- JOB RUN-QUEUE TIME TABLE . . . . . . . . 157
60.0 JBTRSP -- RESPONSE TIME TABLE . . . . . . . . . . 158
61.0 JBTRTD -- REAL TIME DEVICES . . . . . . . . . . . 159
62.0 JBTSCD -- SUBQUEUE (CLASS) TABLE . . . . . . . . . 160
Page 3
63.0 JBTSFD -- SUB-FILE DIRECTORY TABLE . . . . . . . . 161
64.0 JBTSGN -- SEGMENT TABLE . . . . . . . . . . . . . 162
65.0 JBTSG2 -- HIGH SEGMENT SECTION NUMBERS . . . . . . 164
66.0 JBTSHR -- HIGH SEGMENT SHARER COUNT . . . . . . . 165
67.0 JBTSPL -- SPOOL CONTROL TABLE . . . . . . . . . . 166
68.0 JBTSPS -- SECOND PROCESSOR STATUS . . . . . . . . 167
69.0 JBTSTS -- STATUS TABLE . . . . . . . . . . . . . . 169
70.0 JBTST2 -- JOB STATUS TABLE 2 . . . . . . . . . . . 173
71.0 JBTST3 -- JOB STATUS TABLE 3 . . . . . . . . . . . 175
72.0 JBTSWP -- JOB SEGMENT SWAP AREA . . . . . . . . . 176
73.0 JBTUPM -- UPT ADDRESS TABLE . . . . . . . . . . . 177
74.0 JBTVIR -- VIRTUAL SIZE TABLE . . . . . . . . . . . 178
75.0 JBTWCH -- WATCH TABLE . . . . . . . . . . . . . . 179
76.0 JDA -- DEVICE ASSIGNMENT TABLE . . . . . . . . . . 180
77.0 JOBDAT -- DATA AREA . . . . . . . . . . . . . . . 182
78.0 KON -- KONTROLLER DATA BLOCK . . . . . . . . . . . 185
79.0 LDB -- LINE DATA BLOCK . . . . . . . . . . . . . . 188
79.1 LDBCOM -- Forced Command Word . . . . . . . . . 191
79.2 LDBATR -- Line Attributes Word . . . . . . . . . 192
79.3 LDBOST -- Output Bits Word . . . . . . . . . . . 193
79.4 LDBIST -- Input Status Word . . . . . . . . . . 194
79.5 LDBDCH -- Hardware Status Word . . . . . . . . . 195
79.6 LDBBYT -- First Word For Software Status . . . . 197
79.7 LDBBY2 -- Second Word For Software Status . . . 198
79.8 LDBBY3 -- Third Word For Software Status . . . . 199
79.9 LDBLSW -- Page Length Word . . . . . . . . . . . 200
79.10 LDBPAG -- Page Bits . . . . . . . . . . . . . . 201
79.11 LDBISR -- Interrupt Service Routine . . . . . . 202
79.12 LDBISB -- Line Speed Word . . . . . . . . . . . 203
79.13 LDBTTW -- Line Type Word . . . . . . . . . . . . 204
79.14 LDBREM+0 -- Remote Bits . . . . . . . . . . . . 205
79.15 LDBREM+2 -- Remote Line Number . . . . . . . . . 207
79.16 LDBREM+3 -- Remote Node Number . . . . . . . . . 208
79.17 LDBREM+4 -- MCR/VTM Word . . . . . . . . . . . . 209
79.18 LDBTTD -- RSX-20F Word . . . . . . . . . . . . . 210
79.19 LDBMIC -- MIC Bits . . . . . . . . . . . . . . . 211
79.20 LDBBKB -- Break Mask Field Width . . . . . . . . 212
79.21 LDBCHM -- RECMAP Characters . . . . . . . . . . 213
80.0 LINTAB -- LINE TABLE . . . . . . . . . . . . . . . 214
81.0 LOGTAB -- LOGIN JBTTAB POINTER TABLE . . . . . . . 215
82.0 LVDTBL -- LEVEL D DISK PARAMETER TABLE . . . . . . 216
83.0 MAGTAPE CONTROLLER DATA BLOCK . . . . . . . . . . 221
84.0 MAGTAPE UNIT DATA BLOCK . . . . . . . . . . . . . 223
85.0 MEMTAB -- VIRTUAL MEMORY PAGE TABLE . . . . . . . 226
86.0 METABL -- META-CHARACTER TABLE . . . . . . . . . . 227
87.0 MFD -- MASTER FILE DIRECTORY . . . . . . . . . . . 228
88.0 NMB -- FILE NAME BLOCK . . . . . . . . . . . . . . 230
88.1 NMBPPB -- Next NMB . . . . . . . . . . . . . . 232
88.2 NMBACC -- First ACC . . . . . . . . . . . . . . 232
89.0 NUMTAB -- TABLE OF GETTAB TABLES . . . . . . . . . 233
90.0 PAGTAB -- PAGE TABLE . . . . . . . . . . . . . . . 234
91.0 PB -- PATH BLOCK . . . . . . . . . . . . . . . . . 235
92.0 PCB -- PORT CONTROL BLOCK . . . . . . . . . . . . 237
93.0 PDB -- PROCESS DATA BLOCK . . . . . . . . . . . . 242
94.0 PPB -- PROJECT PROGRAMMER NUMBER DATA BLOCK . . . 247
Page 4
95.0 PTYTAB -- PSEUDO-TERMINAL DDB TABLE . . . . . . . 248
96.0 PT2TAB -- PAGE SECTION NUMBERS . . . . . . . . . . 249
97.0 QBITS -- WAIT STATE CODE REQUEUE TABLE . . . . . . 250
98.0 QUEUE TRANSFER TABLE . . . . . . . . . . . . . . . 252
99.0 QUEUE TABLE FOR JOB SCANNING . . . . . . . . . . . 254
100.0 QQSTAB -- QUANTUM TIME QUEUE TABLE . . . . . . . . 255
101.0 QTTAB -- QUEUE PROGRESSION QUEUE TABLE . . . . . . 256
102.0 REQTAB -- SHARABLE DEVICE REQUEST TABLE . . . . . 257
103.0 RIB -- RETRIEVAL INFORMATION BLOCK . . . . . . . . 259
103.1 RIBEXT -- File Extension . . . . . . . . . . . . 261
103.2 RIBPRV -- Access Privilege . . . . . . . . . . 261
103.3 RIBSTS -- Status Word . . . . . . . . . . . . . 262
103.4 RIBELB -- Data Error Location . . . . . . . . . 263
103.5 File-Specific Definitions . . . . . . . . . . . 263
103.5.1 .RBTYP -- File Type . . . . . . . . . . . . . 263
103.5.2 .RBBSZ -- Byte Sizes . . . . . . . . . . . . . 264
103.5.3 .RBRSZ -- Record Sizes . . . . . . . . . . . . 265
103.5.4 .RBFFD -- FFB And ACW . . . . . . . . . . . . 265
103.6 RIBXRA -- Next RIB . . . . . . . . . . . . . . . 265
103.7 Retrieval Pointer Format . . . . . . . . . . . . 266
104.0 SAB -- STORAGE ALLOCATION BLOCK . . . . . . . . . 267
105.0 SAT.SYS -- CLUSTER ALLOCATION FILE . . . . . . . . 269
106.0 SB -- SYSTEM BLOCK . . . . . . . . . . . . . . . . 270
107.0 SCHEDULER SCAN TABLES . . . . . . . . . . . . . . 271
108.0 SPT -- STORAGE ALLOCATION POINTER TABLE . . . . . 273
109.0 STR -- FILE STRUCTURE DATA BLOCK . . . . . . . . . 274
110.0 SWPLST -- SWAPPING LIST TABLE . . . . . . . . . . 277
111.0 SW2LST -- SECONDARY SWPLST . . . . . . . . . . . . 278
112.0 SW3LST -- THIRD SWPLST . . . . . . . . . . . . . . 278
113.0 SWPTAB -- SWAPPING TABLE . . . . . . . . . . . . . 279
114.0 TABSTR -- STRUCTURE TABLE . . . . . . . . . . . . 280
115.0 TRANSFER TABLES . . . . . . . . . . . . . . . . . 281
116.0 TTFCOM -- FORCED COMMANDS TABLE . . . . . . . . . 282
117.0 TERMINAL CHUNKS . . . . . . . . . . . . . . . . . 283
118.0 TTUUOT -- TTCALL DISPATCH TABLE . . . . . . . . . 285
119.0 TTYTAB -- TTY TABLE . . . . . . . . . . . . . . . 286
120.0 TYPTAB -- DEVICE TYPES TABLE . . . . . . . . . . . 287
121.0 UCLJMP -- CALL AND CALLI UUO DISPATCH TABLE . . . 288
122.0 UCLTAB -- CALL UUO NAMES TABLE . . . . . . . . . . 289
123.0 UDB -- UNIT DATA BLOCK . . . . . . . . . . . . . . 290
123.1 UNISYS -- Next UDB In System . . . . . . . . . . 294
123.2 UNISWP -- Next UDB For Swapping . . . . . . . . 294
123.3 UNISTS -- Unit Status . . . . . . . . . . . . . 295
123.4 UNICCT -- Channel Error . . . . . . . . . . . . 295
123.5 UNIGRP -- Output Word . . . . . . . . . . . . . 295
123.6 UNICHR -- Block Counts . . . . . . . . . . . . . 296
123.7 UNICPS -- SAT Word . . . . . . . . . . . . . . . 296
123.8 UNIDES -- Unit Description . . . . . . . . . . . 297
123.9 UNIALT -- First Word For Alternate Port . . . . 298
123.10 UNI2ND -- Second Word For Alternate Port . . . . 299
123.11 UNIAJB -- DA Status . . . . . . . . . . . . . . 299
123.12 UNIDS2 -- Lap Plug Number . . . . . . . . . . . 300
124.0 UFB -- UFD DATA BLOCK . . . . . . . . . . . . . . 301
125.0 UN BLOCK -- USER NI BLOCK . . . . . . . . . . . . 303
125.1 UN.STA -- Portal Status Word . . . . . . . . . . 305
Page 5
125.2 UN.PTY -- Protocol Identification Word . . . . . 305
126.0 UNQTAB -- COMMAND TABLE . . . . . . . . . . . . . 306
127.0 UNQTB2 -- SET COMMAND TABLE . . . . . . . . . . . 307
128.0 UNQTBC -- CUSTOMER-DEFINED COMMAND TABLE . . . . 308
129.0 UNWTAB -- UNWIND RESOURCE TABLE . . . . . . . . . 309
130.0 UFD -- USER FILE DIRECTORY . . . . . . . . . . . . 310
131.0 UPT -- USER PROCESS TABLE . . . . . . . . . . . . 311
132.0 USER PAGE MAP (SECTION MAP) . . . . . . . . . . . 316
133.0 UUOTAB -- UUO DISPATCH ADDRESS TABLE . . . . . . . 317
134.0 WSBTAB -- WORKING SET BIT TABLE . . . . . . . . . 318
APPENDIX A ANF-10 FRONT END TABLES
A.1 CHUNK WORDS . . . . . . . . . . . . . . . . . . . A-2
A.2 DEVICE DATA BLOCKS . . . . . . . . . . . . . . . . A-4
A.2.1 DB.STS -- Status Bits . . . . . . . . . . . . . A-8
A.2.2 DB.RDT -- Remote Data Type . . . . . . . . . . . A-9
A.2.3 DB.DCS -- Device Control Status . . . . . . . . A-9
A.2.4 DB.DCM -- Data Code And Mode . . . . . . . . . A-10
A.2.5 DB.TTS -- TTY Status . . . . . . . . . . . . . A-10
A.2.6 DB.BCD -- BCD Terminal Status . . . . . . . . A-10
A.3 DH-11 BLOCK . . . . . . . . . . . . . . . . . . A-11
A.4 DMC11 BASE TABLE . . . . . . . . . . . . . . . . A-12
A.5 DMC11 MESSAGE BUFFERS . . . . . . . . . . . . . A-13
A.6 DMC11 MESSAGE BUFFER QUEUES . . . . . . . . . . A-14
A.7 DN11 BLOCK . . . . . . . . . . . . . . . . . . . A-15
A.8 DZ11 BLOCK . . . . . . . . . . . . . . . . . . . A-16
A.9 LINE BLOCK . . . . . . . . . . . . . . . . . . . A-17
A.9.1 LB.STS -- First Word For Line Status . . . . . A-23
A.9.2 LB.ST5 -- Second Word For Line Status . . . . A-23
A.9.3 LB.DVS -- Interrupt Service Routine Codes . . A-24
A.9.4 LB.MPS -- Node Status . . . . . . . . . . . . A-24
A.9.5 LB.NSS Bits -- NSP Status . . . . . . . . . . A-24
A.9.6 LB.STX -- DMC-11 Status . . . . . . . . . . . A-24
A.9.7 LB.STY -- DUP11 Status . . . . . . . . . . . . A-26
A.9.8 LB.NSS Bits -- Status Word . . . . . . . . . . A-26
A.10 LINE CONTROL BLOCK . . . . . . . . . . . . . . . A-27
A.10.1 LC.CAR -- DM-11BB Control Word . . . . . . . . A-28
A.10.2 LC.STA -- State Of Modem Control . . . . . . . A-28
A.10.3 LC.SPD -- Codes For Transmit And Receive Speeds A-28
A.11 PHASE II LINK ENTRY BLOCK . . . . . . . . . . . A-29
A.11.1 LE.STS -- Status Bits . . . . . . . . . . . . A-30
A.11.2 LE.STT -- Link State Code . . . . . . . . . . A-31
A.12 STATION CONTROL BLOCK . . . . . . . . . . . . . A-32
A.12.1 SB.FLG -- Station Flags . . . . . . . . . . . A-33
A.13 TASK BLOCK . . . . . . . . . . . . . . . . . . . A-34
A.13.1 TK.STS -- Task Status . . . . . . . . . . . . A-35
A.14 TO-11 BLOCK . . . . . . . . . . . . . . . . . . A-36
A.14.1 TE.LIN -- QPR Message . . . . . . . . . . . . A-36
A.15 TO-10 BLOCK . . . . . . . . . . . . . . . . . . A-38
Page 6
FOREWORD
TOPS-10 Monitor Tables Descriptions are the result of the effort
to document and illustrate information that system analysts and
programmers might need to repair or modify TOPS-10 monitor source
code. This document is provided by the Software Publications
department for LCG Software Engineering without guarantee of
technical accuracy.
The tables are simply an extension and summary of the monitor
source code. To the inexperienced user, they may seem
bewilderingly complex. However, to the user with experience in
TOPS-10 monitor internals, and in the TOPS-10 data structures,
this document can be a useful reference for a conceptual view of
the monitor.
The monitor source code itself is complex and lengthy, since it
allows many types of hardware and many software applications.
The code does not regard the support status of any product, and
this document follows suit. For complete information about
product support, refer to the current TOPS-10 Software Product
Description.
This document is only a summary of the information written and
processed by the monitor. It is an effort to record the
information critical in developing and maintaining TOPS-10. Do
not assume this document is correct in all cases. Please refer
to source code listings of the appropriate modules whenever using
the information in these tables.
The monitor tables are listed to reflect a TOPS-10 operating
system based on one or more KL processors. The information will
be different for any other type of system.
The data structures for the ANF-10 network software are listed at
the end of this document, in Appendix A.
Page 7
Conventions
The TOPS-10 tables are described in a consistent format that is
used to illustrate actual assembly code. The tables are
described as follows.
Table Name -- Descriptive title of table
Description: A description of the table, including how and when it
is used.
Defined in: Module where table is defined.
Used by: Modules that access the table.
GETTAB Tables: GETTAB UUO symbolic index, followed by the GETTAB table
number in parentheses.
See also: Where to look for more information.
+----------------------------------------------------------+
Word name | General description of word's contents |
|----------------------------------------------------------|
| Left half | Right half |
|----------------------------------------------------------|
Symbol* | * means "see following pages" for more information |
|----------------------------------------------------------|
Symbol(2) | (2) means "see Note no. 2" following the table |
+----------------------------------------------------------+
* Special information about one or more words in the table.
Notes:
1. Notes contain more information about about the monitor table
and the way the data is used by the monitor.
2. Numbered notes refer to specific words or items in the table.
These items are flagged by (n), where n is the number of
note.
3. Notes also describe any restrictions or warnings in using the
data in the table.
4. Data words that require more detail are listed on the
subsequent pages, as shown below.
Page 8
Following the monitor table, a word-by-word description of the
information stored in table is sometimes necessary. Each complex word
is illustrated as shown here. The contents of bytes and the meaning
of certain bit settings are listed after the illustration, if
necessary.
+------------------------------------------------------------+
|Breakdown of bytes | X| and bits | X| UN1 | X| X| X| X |
+------------------------------------------------------------+
0 17 18 19 26 27 28 31 32 33 34 35
Word Mask
Symbol Bits Symbol Description
WORD 0-17 WR.LH Description of contents.
WORD 18 WR.MB Meaning of bit settings.
WORD 19-26 WR.FL Contents of bytes (fields).
WORD 27 WR.X Flag settings.
WORD 28-31 WR.UN1 Use of the data.
WORD 32 WR.FL1 Results of setting bits.
WORD 33 WR.FL2 Setting flags.
WORD 34 WR.FL3 Storing codes.
WORD 35 WR.FL4 Reading data.
Page 9
| 1.0 ACC -- ACCESS TABLE
|
Description: Contains information needed in order to gain access to
a specific version of a specific file.
One table for each existing version of each open file.
The access table for the current and possibly a
superseding version of the file are linked to the
corresponding NMB. Also, each disk device data block
contains a pointer to the access table for the file
currently being accessed.
Defined in: COMMOD
Used by: FILFND, FILIO, FILUUO, IPCSER, SEGCON, SYSINI, UUOCON
See also: NMB, PPB
+----------------------------------------------------------+
ACCALC (2) | Highest relative block number allocated |
|----------------------------------------------------------|
ACCNMB* | NMB or next ACC | See following page |
|----------------------------------------------------------|
ACCPT1 | First retrieval pointer to file |
|----------------------------------------------------------|
ACCDOR (1) | Next dormant ACC | Previous dormant ACC |
|----------------------------------------------------------|
ACCPPB* | See following pages | PPB |
|----------------------------------------------------------|
ACCADT* | See following pages |
|----------------------------------------------------------|
ACCWRT (2) | Highest relative block number written |
|----------------------------------------------------------|
ACCPRV* | Privileges |Mode| Creation time |Low creation date |
+----------------------------------------------------------+
* Details on following pages.
Notes:
1. When all users have closed a file, its access table is
considered dormant. Dormant access tables are linked into a
doubly linked list through ACCDOR, and are not deleted until
their core space is needed. If a table is not dormant,
ACCDOR contains zero.
2. ACCWRT and ACCALC do not include the second RIB.
Page 10
1.1 ACCNMB -- Next ACC Byte
+-----------------------------------------------------------+
| NMB or Next ACC | A | LBS |1| UN1 | D| N| S| G|
+-----------------------------------------------------------+
0 17 18 19-26 27 28-31 32 33 34 35
Word Mask
Symbol Bits Symbol Description
ACCNMB 0-17 Address of next ACC for same name
and PPN if there is one.
ACCABC 18 ACPABC This file always has bad checksum.
ACCLBS 19-26 ACYLBS Number of words in last
ACZLBS data block of file.
ACC1PT 27 ACP1PT File has only one retrieval
pointer.
ACCUN1 28-31 COYUN1 Logical unit number, within
structure, where file begins.
ACCDIR 32 ACPDIR This file is a directory.
ACCNDL 33 ACPNDL This file cannot be deleted.
ACCSBC 34 ACPSBC Sometimes bad checksum.
ACCGRB 35 ACPGRB Don't grab access table.
Notes:
1. Normally there is only one ACC linked to an NMB. But while a
file is being superseded, both the old and the new versions
of the file have ACCs linked to the NMB.
2. The low order two bits of a pointer to another ACC will be
zero. The pointer back to the NMB points to Word 2 of the
NMB, NMBACC. Hence, its low order bits will not be zero.
3. There may be an arbitrary number of ACCs for older versions
of a file, which are still being read. However, these ACCs
are not linked to the NMB. The only pointers to them are in
the DDBs of the readers.
Page 11
1.2 ACCPPB -- PPB Address
+------------------------------------------------------------+
| FSN |Sim. updates|Z| | PPB |
+------------------------------------------------------------+
0--------5 6---------13 14 18--------------------------35
Word Mask
Symbol Bits Symbol Description
ACCFSN 0-5 ACYFSN File structure number
ACZFSN of structure to which this file
belongs.
ACCWCT 6-13 ACYWCT Write count for
ACZWCT simultaneous updates
ACCZRB 14 ACPZRB If SFD, the SFD has empty data
blocks.
ACCPPB 18-35 Core address of project-programmer
data block (PPB)
Page 12
1.3 ACCADT -- Access Status
+------------------------------------------------------------+
| A | Last Access Date | N| Count/Use| R| D| STS | S| P| N|
+------------------------------------------------------------+
0-2 3------------------17 18 19-----27 28 29 30-32 33 34 35
Word Mask
Symbol Bits Symbol Description
ACCADT 0-2 High-order 3 bits of creation date.
Low-order part is in ACCCDT.
ACCADT 3-17 Date this file was last accessed
for more than just LOOKUP.
ACCNIU 18 ACPNIU File not in UFD.
ACCCNT 19-27 ACYCNT Count of user channels
ACZCNT with LOOKUP in force for this
version of this file or SFD use
count.
ACCREN 28 ACPREN Rename in progress.
ACCDEL 29 ACPDEL File to be deleted when all readers
finished.
ACCSTS 30-32 ACYSTS Access table status code
30 ACPCRE File being created.
31 ACPSUP File being superseded.
32 ACPUPD File being updated.
ACCSMU 33 ACPSMU This file being simultaneously
updated.
ACCPAL 34 ACPPAL Pre-allocated file.
ACPSTS 35 ACPNDR QUESER "don't delete on reset" bit.
Notes:
1. Access Table state codes are:
Code Symbol Meaning
4 ACRCRE File being created.
2 ACRSUP File superseding another.
1 ACRUPD File being updated.
Page 13
2. The ACCADT word is called ACCUSE when the file is stored in
an SFD.
Page 14
1.4 ACCPRV -- Privilege Code
+------------------------------------------------------------+
| Privilege | Mode | Creation time | Creation date |
+------------------------------------------------------------+
0---------8 9----12 13---------------23 24----------------35
Word Mask
Symbol Bits Symbol Description
ACCPRV 0-8 ACYPRV Privileges (described below).
ACCMOD 9-12 Data mode of file.
ACCCTM 13-23 File creation time.
ACCCDT 24-35 Low-order 12 bits of file creation
date. Upper 3 bits in ACCADT.
Notes:
Privilege codes are stored in the following format:
Bits Meaning
0 FILDAE called on protection failure.
1-2 Owner's protection.
4-7 Not used.
3-5 Apply to any job with matching project number.
6-8 Apply to all other jobs.
A job is considered the owner of a file if one of the following is
true:
1. INDPPN set to 0 at MONGEN (default) and programmer number
matches.
2. INDPPN set to -1 at MONGEN and both project and programmer
number match.
Privilege codes for user files:
Code Highest Privileges
7 None
6 Execute
5 Read
4 Append (allocate, deallocate)
3 Update
2 Write (supersede, truncate)
1 Rename (change attributes)
0 Change privileges
Page 15
Privilege codes for directories:
Code Privilege Given by Bit Being Set
4 Allows LOOKUPs in this directory
2 Allows creates
1 Allow directory to be read as a data file
Any combination of these bits may be set.
Page 16
2.0 AVALTB -- AVAILABLE RESOURCE TABLE
Description: Contains flags to indicate that a sharable device has
become available. Each entry referenced by its own
label.
Entry is -1 if the corresponding sharable resource has
become available since the last scheduling and some job
is waiting for it.
Defined in: COMMON
Used by: CLOCK1, COMMON, CPNSER, SCHED1, SYSINI
See also: REQTAB
The words in AVALTB are stored in the following order. However, not
all words may be present on all systems.
Word Symbol Contents
0 AUAVAL Alter disk UFD quota
1 DAAVAL Disk storage allocation wait
2 CBAVAL Disk core block scan wait
3 DTAVAL DECtape control wait
4 IPAVAL IPCF interlock wait
5 CXAVAL Context save wait
6 DCAVAL Data control wait (magtape and DECtape)
The following words are conditional and depend on a feature test
option to be included (see Note 2):
Word Symbol Cond. Contents
7 CAAVAL FTLOCK Semi-permanent core allocation wait
15 MMAVAL FTMP Memory management wait
16 EVAVAL FTMP Exec virtual memory wait
17 EQAVAL FTEQDQ ENQ/DEQ wait
20 MCAVAL FTMP Monitor I/O disk cache wait
Special Notes:
1. Table REQTAB has entries corresponding to the AVALTB entries.
2. The AVALTB entries are built by the conditionally assembled
RWAITS macro in S.MAC; therefore, some of the above listed
entries may not be present in all systems.
3. This table is initialized to zero.
Page 17
3.0 BAF -- BAD ALLOCATION FILE
Description: Disk block in which all known bad regions in a
structure are recorded.
The BAF is always the next block after the home block
in HOME.SYS, with a copy in Block 11 (decimal). The
containing the BAF will be marked in the file HOME.SYS;
information from the BAF is copied into the file
BADBLK.SYS by the monitor.
Defined in: COMMOD
Used by: FILIO, FILUUO, ONCMOD, REFSTR
Symbol Map
+-----------------------------------------------------------+
BAFNAM | SIXBIT / BAT / |
|-----------------------------------------------------------|
BAFFIR (3)| No. of words in | Rel adr of first |
| in BAFREG area | bad region pair (1) |
|-----------------------------------------------------------|
BAFNBS* | NBS | NBR | KDC | |
|-----------------------------------------------------------|
BAFCNT | No. pairs added to BAF by monitor |
|-----------------------------------------------------------|
BAFREG*(1)| Bad region pair |
|-----------------------------------------------------------|
| Bad region pair |
|-----------------------------------------------------------|
/ . /
/ . /
/ . /
|-----------------------------------------------------------|
BAFCOD | 0 | Unlikely code (606060) |
| | |
|-----------------------------------------------------------|
BAFSLF | 0 | This block # in unit |
| | |
+-----------------------------------------------------------+
Notes:
1. The label BAFREG should not be used by programs that look at
this block. They should use the right half of BAFFIR to
determine location of the first bad region pair.
2. The Map Program is a stand-alone program that checks all disk
blocks and writes an initial BAF. As the monitor finds bad
blocks, it makes additional entries in the BAF.
Page 18
3. Both halves of BAFFIR are written by the mapping program and
are never changed by the monitor. The left half is always an
even number.
Page 19
3.1 BAFNBS -- Bad Blocks
+------------------------------------------------------------+
| NBS | NBR | KDC | |
+------------------------------------------------------------+
0------8 9---------------17 18-----24 25 35
Word Mask
Symbol Bits Symbol Description
BAFNBS 0-8 Number of bad blocks found by the
map program.
BAFNBR 9-17 BAYNBR Number of bad regions found by the
map program. (Number of entries in
BAFREG table.)
BAFKDC 18-24 BAYKDC Controller device code used by map
program.
Page 20
3.2 BAFREG -- Bad Region Word Pair
First Word of Each Bad Region Pair
+------------------------------------------------------------+
| NBB | 0 | PUB | KNM | | APN |
+------------------------------------------------------------+
0--------8 9 10---------17 18-20 22------------------35
Word Mask
Symbol Bits Symbol Description
BAFNBB 0-8 BAYNBB Number of bad blocks -1 in this bad
region (not clusters).
BAFOTH 9 BAPOTH Non-zero if this bad region is
detected on another controller or
processor than the one that
originally added the entry.
BAFPUB 10-17 BAPPUB Physical unit within controller.
Bit 17-n represents unit n, where n
= 0-7.
BAFKNM 18-20 BAYKNM Logical controller number, of this
type. From UNIKNM.
21 BAPNTP Non-zero if new-style BAT block
entry.
BAFAPN 22-35 BAYAPN Serial number of APR running when
error was detected.
Second Word of Bad Region Pair
+------------------------------------------------------------+
| Ver |OTR|DTR|HDR| | LBN of 1st bad block in region |
+------------------------------------------------------------+
0---2 3 4 5 6---8 9---------------------------------35
Word Mask
Symbol Bits Symbol Description
BAFVER 0-2 Version number of entry (presently
0)
BAFERR 3 BAPOTR Other error (not data or search
error)
4 BAPDTR Data error (parity or ECC hard
error)
5 BAPHDR Search error or header compare
error
BAFELB 9-35 LBN of first bad block in region
Notes:
Values of the word labels are relative to the beginning of the bad
region pair, that is, 0 and 1.
Page 21
4.0 USER I/O BUFFER
Description: Contains pointers and storage area for I/O data. Set
up by user programs as needed.
Defined in: Status bits defined in S.MAC
+-----------------------------------------------------------+
| | File status bits |
|-----------------------------------------------------------|
| U | Buffer size | Next buffer address |
|-----------------------------------------------------------|
| Bookkeeping | Word count, n |
|-----------------------------------------------------------|
/ n = number of data words /
|-----------------------------------------------------------|
/ Unused area /
/ (S-n)-1 words /
+-----------------------------------------------------------+
4.1 First Word -- I/O Status Bits
Bit Meaning
18 Improper mode.
19 Device detected error.
20 Data error, for example, checksum failure.
21 Block too large.
22 End of file.
23 Device is actively transmitting or receiving data.
24-29 Device-dependent parameters.
30 Synchronous input. Stop device after each buffer is
filled.
31 Word count supplied by user for output. (Monitor
normally computes word count.)
32-35 Data mode.
Page 22
4.2 Second Word -- Use Bit
Bits Symbol Description
0 IOUSE "Use" bit is set as follows:
I/O In Progress Finished
Input 0 1
Output 1 0
Note that 0 means the buffer is available to
filler; 1 means buffer is available to
emptier.
1 IOIBC Inhibit zeroing output buffers at completion
of output
2-17 IOSIZ Size of buffer, not counting first two words
18-35 Address of second word of next buffer of
ring.
4.3 Third Word -- Word Count
Bit Meaning
0-17 Depends on type of device and mode
18-35 Word count. (Normally computed by monitor for the
device being used.)
Page 23
5.0 BUFFER RING HEADER
Description: Contains information that is used by programs to access
their I/O buffers.
Defined in: S.MAC
Symbol Map
+-----------------------------------------------------------+
JBFADR | V | | Current buffer address |
|-----------------------------------------------------------|
JBFPTR(3) | Byte pointer |
|-----------------------------------------------------------|
JBFCTR(3) | Byte count |
|-----------------------------------------------------------|
JBFUDX | Universal Device Index (UDX) |
+-----------------------------------------------------------+
Label values are relative to the beginning of the buffer ring header.
Word
Symbol Bits Description
JBFADR 0 Virgin buffer ring bit (will be 1 if buffer
ring has been set up but not referenced.
18-35 Address of second word of the buffer
currently available to the user program.
JBFPTR 0-35 Byte pointer for user to access next byte of
buffer with ILDB or IDPB.
JBFCTR 0-35 Number of remaining bytes available to user.
JBFUDX 0-35 UDX for MSGSER (MPX-controlled devices only)
Notes:
1. Ring header must be set up within user program.
2. Values are initialized by each INPUT or OUTPUT UUO, for the
buffer made available to the user.
3. User program must keep JBFPTR and JBFCTR up to date as it
uses the buffer.
Page 24
6.0 CDB -- CPU DATA BLOCK
Description: There is one CPU data block for each CPU in the system.
The block contains both a constant and a variable data
area, in contiguous address space. Routine addresses,
pointers, bit masks, and processor-dependent
instructions are representative of the data found in
the CPU Constants Area. The CPU Variables Area is
cleared at initialiation and on 403 restarts. This
area contains current status words for the CPU,
including current job information, protected job data
locations, scheduler and swapper parameters, and so
forth.
References can be made to a CDB location without
indexing. The symbols used in this case will be in the
form of .Cnxxx, where n is the CPU number (such as
.C0xxx, .C1xxx, .C2xxx, and so on).
A "C" macro is used to generate labels and data for the
Constants Area. A "V" macro is used to define symbols
and allocate space for the Variables Area. No data is
generated by a "V" macro call. The "C" and "V" macro
calls are contained in the CDB macro, which is expanded
once for each CPU.
Defined in: COMMON
Used by: CLOCK1, CP1SER, ERRCON, KLSER, KSSER, PSISER, SCHED1,
SYSINI, UUOCON
GETTAB Tables:
.GTC0C (55), .GTC0V (56)
.GTC1C (57), .GTC1V (60)
.GTC2C (61), .GTC2V (62)
.GTC3C (63), .GTC3V (64)
.GTC4C (65), .GTC4V (66)
NOTE
All CDB symbols in the following tables
require a prefix of .CP or .Cn, where n
is the CPU number.
The following tables represent a KL-SMP
(multiprocessor) system, assembled with
KL-paging enabled. Entries will vary
for other types of systems.
Page 25
CPU Data Block -- Constants Area
|
| Symbol Map
| +-----------------------------------------------------------+
| CDB | Address of next CDB,,0 |
| |-----------------------------------------------------------|
| ASN | APR serial number |
| |-----------------------------------------------------------|
| OK | Number of jiffies since this CPU stopped. |
| |(if the value of this location is less than or equal to 0, |
| | this CPU is running.) |
| |-----------------------------------------------------------|
| EPT | Physical address of EPT |
| |-----------------------------------------------------------|
| LOG | Logical CPU name as SIXBIT/CPUn/ (n=CPU number) |
| |-----------------------------------------------------------|
| PHY | Physical CPU name as SIXBIT/CPUxn (x=S or L,n=CPU number)|
| |-----------------------------------------------------------|
| TYP | CPU type, 4=KL10, 5=KS10 |
| |-----------------------------------------------------------|
| MPT | Pointer to bad address subtable bits. |
| | Bits 0-8=length | RH=offset into CDB |
| |-----------------------------------------------------------|
| RTC | Real time clock (DK10) DDB adr |
| |-----------------------------------------------------------|
| RTD | DK10 DDB adr if high prec. time, 0 if low (APR clock) |
| |-----------------------------------------------------------|
| PAR | Pointer to parity subtable |
| | Bits 0-8=length | RH=offset into CDB |
| |-----------------------------------------------------------|
| RSP | Pointer to response subtable |
| | Bits 0-8=length | RH=offset into CDB |
| |-----------------------------------------------------------|
| DKX | Number of DK10s on this CPU |
| |-----------------------------------------------------------|
| EBS | EBOX ticks per second |
| |-----------------------------------------------------------|
| MBS | MBOX ticks per second |
| |-----------------------------------------------------------|
| NMT | Pointer to NXM subtable |
| | Bits 0-8=length | RH=offset into CDB |
| |-----------------------------------------------------------|
| CSB | Pointer to CPU status block |
| | Bits 0-8=length | RH=offset into CDB |
| |-----------------------------------------------------------|
Page 26
| |-----------------------------------------------------------|
| DSB | Pointer to device status block |
| | Bits 0-8=length | RH=offset into CDB |
| |-----------------------------------------------------------|
| SDP | Pointer to SBDIAG subtable |
| | Bits 0-8=length | RH=offset into CDB |
| |-----------------------------------------------------------|
| BPA | Performance analysis subtable ptr |
| | Bits 0-8=length | RH=offset into CDB |
| |-----------------------------------------------------------|
| MAP | Addr of CPU's exec map |
| |-----------------------------------------------------------|
| SPT | Special pages table |
| |-----------------------------------------------------------|
| XPT | Temporary storage for SPT |
| |-----------------------------------------------------------|
| CHX | This CPU's bit in TKBSTS word of MTA KDB, |
| | indicating a sweep needs to be done. |
| |-----------------------------------------------------------|
| CPN | CPU number |
| |-----------------------------------------------------------|
| SK0 | Generate SKPCPU(0) (Instruction to skip only on CPU0) |
| |-----------------------------------------------------------|
| SK1 | Generate SKPCPU(1) (Instruction to skip only on CPU1) |
| |-----------------------------------------------------------|
| OK1 | Address of policy CPU's OK word |
| |-----------------------------------------------------------|
| SLF | Pointer to start of CDB |
| |-----------------------------------------------------------|
| SCN | Scheduler run queue scan list addr (SSCAN or SSCAN1) |
| |-----------------------------------------------------------|
| SST | Address of subqueue scanning table |
| |-----------------------------------------------------------|
| NPD | Null PDL pointer |
| |-----------------------------------------------------------|
| EPD | Error PDL pointer |
| |-----------------------------------------------------------|
| NJD | Address of null job data area (offset by 20) |
| |-----------------------------------------------------------|
| STO | Scanner once-a-tick routine address |
| |-----------------------------------------------------------|
| ISR | Scanner once-a-second routine address |
| |-----------------------------------------------------------|
| DLK | Calls DSKLOK ownership flag (0 = currently owns DSKLOK) |
| |-----------------------------------------------------------|
Page 27
| |-----------------------------------------------------------|
| SCD | Scheduler interlock flag (-1=doesn't own interlock, |
| | 0=owns interlock, n>0=has owned interlock) |
| |-----------------------------------------------------------|
| RES | Address of power fail restart return |
| |-----------------------------------------------------------|
| NBI | Number interrupts broken by BRKLOK |
| |-----------------------------------------------------------|
| ABK | Return address for CPNBPT |
| |-----------------------------------------------------------|
| KAF | Keep-alive-failure dispatch address |
| |-----------------------------------------------------------|
| EPL | Address of this CPU's PDL for processing PDL overflows |
| |-----------------------------------------------------------|
| NAP | CONSO, CONI PI bits for all PIs except APR PI in progress|
| |-----------------------------------------------------------|
| APP | CONSO, CONI PI bits for APR PI in progress |
| |-----------------------------------------------------------|
| API | APR PI channel for this CPU |
| |-----------------------------------------------------------|
| ACO | CONSO PI bit for APR PI on |
| |-----------------------------------------------------------|
| CHL | Address of interrupt PC for interrupt level (APnCHL) |
| |-----------------------------------------------------------|
| CKL | Address of interrupt PC for clock level (CKnCHL) |
| |-----------------------------------------------------------|
| CON | APR CONSO mask for currently enabled condition |
| |-----------------------------------------------------------|
| EEB | Standard EXEC enabled CONSO bits |
| |-----------------------------------------------------------|
| IEF | Mask to clear all interrupting APR error flags |
| | except parity and clock errors and sweep done |
| |-----------------------------------------------------------|
| CCF | Clear clock flag instruction |
| |-----------------------------------------------------------|
| HCT | Instruction that skips if clock has ticked. |
| |-----------------------------------------------------------|
| MPI | Address of parity sweep instruction (CPLMPI or CPSMPI) |
| |-----------------------------------------------------------|
| MPS |Bits to request parity sweep|Addr of sweep subroutine |
| |-----------------------------------------------------------|
| NXM | Mask to test/clear APR NXM bit |
| |-----------------------------------------------------------|
| MPE | Mask to test/clear APR parity err |
| |-----------------------------------------------------------|
Page 28
|-----------------------------------------------------------|
SCS | Scheduler doorbell bits for all CPUs except this CPU |
|-----------------------------------------------------------|
SCC | Scheduler doorbell bit for this CPU |
|-----------------------------------------------------------|
QPS | Queued protocol doorbell bits for all CPUs except this CPU|
|-----------------------------------------------------------|
QPC | Queued protocol doorbell bit for this CPU |
|-----------------------------------------------------------|
DBM | Mask of all doorbell bits for this CPU |
|-----------------------------------------------------------|
EBR | Exec base register on this CPU |
|-----------------------------------------------------------|
CTN | CTY number for this CPU | DLS line number on DTE |
|-----------------------------------------------------------|
DTN | Number of DTEs on this CPU |
|-----------------------------------------------------------|
CAC / Saved AC set 0 at start of stopcode processing /
|-----------------------------------------------------------|
STT | K?SER temp for trap processing |
|-----------------------------------------------------------|
ST1 | Saved T1 on page traps |
|-----------------------------------------------------------|
ST2 | Saved T2 on page traps |
|-----------------------------------------------------------|
EJ1 | K?SER temp for IME processing |
|-----------------------------------------------------------|
EJ2 | K?SER temp for IME processing |
|-----------------------------------------------------------|
EJ3 | K?SER temp for IME processing |
|-----------------------------------------------------------|
EJ4 | K?SER temp for IME processing |
|-----------------------------------------------------------|
RCT / Real time PI channel table /
/ (6 words) /
|-----------------------------------------------------------|
RDT / Real time dismiss table /
/ (6 words) /
|-----------------------------------------------------------|
CPI | CONI PI at start of stopcode processing |
|-----------------------------------------------------------|
Page 29
|-----------------------------------------------------------|
SVA |Stopcode processing JSRs here to save all AC sets |
|-----------------------------------------------------------|
SVB |Instruction that jumps to routine to save all AC sets |
| (JRST SVSETS) |
|-----------------------------------------------------------|
TRP |Current MUUO saved at start of stopcode processing |
|-----------------------------------------------------------|
RTS | Temporarily used during RTTRP error procedure |
|-----------------------------------------------------------|
RTT | "RTTRP in progress" Flag |
|-----------------------------------------------------------|
TML | Value of time at last clock tick |
|-----------------------------------------------------------|
OCB | 0 if this CDB isn't owned by a CPU |
|-----------------------------------------------------------|
AID | -1 if restart (not initial startup) |
|-----------------------------------------------------------|
DWD | Recursion interlock for DIE |
|-----------------------------------------------------------|
SAV | PI save routines |
| Tape PI Save routine addr | Disk PI Save routine addr |
|-----------------------------------------------------------|
ACD | Zero if AUTCON has run on this CPU |
|-----------------------------------------------------------|
TIL | AUTCON tape interlock word |
|-----------------------------------------------------------|
NUM | Starting Controller for AUTCON (RPx, RNx, MTx) |
|-----------------------------------------------------------|
CML | Address of start of tape channel's interrupt routine |
|-----------------------------------------------------------|
TCH | Used for vectored tape interrupts |
|-----------------------------------------------------------|
SPR | Instruction to cause parity error interrupt |
|-----------------------------------------------------------|
CPR | Instruction to clear parity error flag |
|-----------------------------------------------------------|
SB0 | SBDIAG function 0 argument |
|-----------------------------------------------------------|
S0A | SBDIAG function 0 answer |
|-----------------------------------------------------------|
SB1 | SBDIAG function 1 argument |
|-----------------------------------------------------------|
S1A | SBDIAG function 1 answer |
|-----------------------------------------------------------|
Page 30
| |-----------------------------------------------------------|
| TOA | Addr of character typeout routine |
| |-----------------------------------------------------------|
| TIV | Addr of vector with input routines |
| |-----------------------------------------------------------|
| NLD | DX20 auto-reload flag: 0 = enable, non-zero = disabled |
| |-----------------------------------------------------------|
| DDT | Instruction for this CPU to enter EDDT |
| |-----------------------------------------------------------|
| EDV | Code "EDV" | Length of EXEC data vector |
| |-----------------------------------------------------------|
| ED1 | Adr of address swapping block |
| |-----------------------------------------------------------|
| ED2 | Relocated contents of .JBSYM |
| |-----------------------------------------------------------|
| ED3 | Relocated contents of .JBUSY |
| |-----------------------------------------------------------|
| ED4 | Address of word for DDT to use |
| |-----------------------------------------------------------|
| ED5 | CPU/paging hardware data |
| |-----------------------------------------------------------|
| ED6 | Physical address of this CPU's EPT |
| |-----------------------------------------------------------|
| ED7 | Physical address of this CPU's SPT |
| |-----------------------------------------------------------|
| ED0 | Physical address of this CPU's CST |
| |-----------------------------------------------------------|
| HSF | Word for DDT to use |
| |-----------------------------------------------------------|
| SYB | Length of address swapping block |
| |-----------------------------------------------------------|
| SY1 | Number of words to swap |
| |-----------------------------------------------------------|
| SY2 | Address of first word to swap |
| |-----------------------------------------------------------|
| SY3 | Place where new map may be found |
| |-----------------------------------------------------------|
| SY4 | Place to save old contents |
| |-----------------------------------------------------------|
| SPC | Stopcode PC flags are saved here during DIE routine |
| |-----------------------------------------------------------|
| SP1 | Stopcode PC |
| |-----------------------------------------------------------|
| SP2 | New PC flags |
| |-----------------------------------------------------------|
| SP3 | JSR entry point into DIE routine |
| |-----------------------------------------------------------|
Page 31
CPU Data Block -- Variables Area
The variables area of the CDB has traditional, six-character symbols,
used only in the CDB for CPU0. Some of these symbols are obsolete,
and have been superseded by symbols in the form .Cnxxx (where n is the
CPU number). For words that have both types of symbols, the
traditional symbol is listed below the .Cnxxx symbol, in parentheses.
Symbol Map
+-----------------------------------------------------------+
VBG | Size of largest user program (in words) |
(CORMAX) | |
|-----------------------------------------------------------|
CORLST | Pointer to last free block possible |
|-----------------------------------------------------------|
CORTAL | Free + dormant + idle core blocks |
|-----------------------------------------------------------|
SHFWAT | Obsolete |
|-----------------------------------------------------------|
HOLEF | Absolute address of lowest hole in core |
|-----------------------------------------------------------|
UPT | Uptime for this CPU in clock ticks |
|-----------------------------------------------------------|
SHFWRD | Obsolete |
|-----------------------------------------------------------|
STUSER | Obsolete |
|-----------------------------------------------------------|
HIGHJB | Highest job number currently assigned |
|-----------------------------------------------------------|
CLRWRD | Number of words cleared by CLRCOR |
|-----------------------------------------------------------|
LST | Lost time on this CPU in jiffies |
(LSTWRD) | |
|-----------------------------------------------------------|
MEMSIZ | Size of physical memory in words |
|-----------------------------------------------------------|
TPE | Total parity errors detected on this CPU |
|-----------------------------------------------------------|
SPE | Total spurious parity errors (did not recur) on this CPU |
|-----------------------------------------------------------|
Page 32
| |-----------------------------------------------------------|
| MPC | Total number of times this CPU continued |
| | after a parity error |
| |-----------------------------------------------------------|
| MPA | Memory parity address of first bad address |
| |-----------------------------------------------------------|
| MPW | Contents of first bad word found |
| |-----------------------------------------------------------|
| MPP | Memory parity PC exclusive of parity sweep |
| |-----------------------------------------------------------|
| EPOCNT | Number of PDL overflows at UUO level not recovered |
| |-----------------------------------------------------------|
| EPOREC | Number of PDL overflows at UUO level recorded |
| |-----------------------------------------------------------|
| MAXMAX | Highest legal value of CORMAX |
| |-----------------------------------------------------------|
| SYSKTM | Count-down timer for SET KSYS command |
| |-----------------------------------------------------------|
| CORMIN | Lower bound on CORMAX |
| |-----------------------------------------------------------|
| ABC | Address break count on this CPU |
| |-----------------------------------------------------------|
| ABA | Address break address on this CPU |
| |-----------------------------------------------------------|
| LJR | Last job run on this CPU |
| |-----------------------------------------------------------|
| ODA / Obsolete (3 words) /
| |-----------------------------------------------------------|
| STS | Stop timesharing on this CPU. |
| | Contains job no. that did TRPSET or RECON. UUO. |
| |-----------------------------------------------------------|
| RUN | Operator-controlled scheduling bit for this CPU. |
| | (Refer to GETTAB word %CVRUN for bit definitions) |
|-----------------------------------------------------------|
NUL | Null time for this CPU in jiffies |
|-----------------------------------------------------------|
EDI | No. of Exec "don't care" interrupts |
|-----------------------------------------------------------|
JOB | Current job on this CPU |
|-----------------------------------------------------------|
OHT | Overhead time for this CPU in jiffies |
|-----------------------------------------------------------|
EVM | Max. amount of exec space for jobs |
| mapped in exec mode by LOCK UUO. |
|-----------------------------------------------------------|
Page 33
| |-----------------------------------------------------------|
| EVU | Total exec virt addr. space currently being used |
| | to map user segments |
| |-----------------------------------------------------------|
| LLC | Number of times this CPU has looped waiting for other CPU |
| |-----------------------------------------------------------|
| TUC | Total number of UUOs on this CPU |
| |-----------------------------------------------------------|
| TJC | Total job context-switches |
| |-----------------------------------------------------------|
| TNE | Total NXMs |
| |-----------------------------------------------------------|
| SNE | Total non-reproducible NXMs |
| |-----------------------------------------------------------|
| NJA | Total jobs crashed this NXM |
| |-----------------------------------------------------------|
| MNA | First address found with NXM |
| |-----------------------------------------------------------|
| EBJ | EBOX ticks/jiffy |
| |-----------------------------------------------------------|
| MBJ | MBOX ticks/jiffy |
| |-----------------------------------------------------------|
| PBA | Physical address with bad parity on last parity trap |
| |-----------------------------------------------------------|
| TBD | Contents of bad word on last AR/ARX parity trap |
| |-----------------------------------------------------------|
| TGD |Good contents of word after recovery from parity trap |
| |-----------------------------------------------------------|
| NPT | Total no. of AR/ARX parity traps |
| |-----------------------------------------------------------|
| AER | Results of RDERA on last parity/NXM interrupt |
| |-----------------------------------------------------------|
| PEF | Results of CONI APR, on parity interrupt |
| |-----------------------------------------------------------|
| PSB / Obsolete (4 words) /
| |-----------------------------------------------------------|
| PPC | PC on last AR/ARX parity trap |
| |-----------------------------------------------------------|
| PFW | Page fail word on last AR/ARX parity trap |
| |-----------------------------------------------------------|
| HPT | No. hard AR/ARX parity traps |
| |-----------------------------------------------------------|
| SAR | No. soft AR/ARX parity traps |
| |-----------------------------------------------------------|
| PTP | No. page table parity traps |
| |-----------------------------------------------------------|
| CSN | No. cache sweeps started |
| |-----------------------------------------------------------|
Page 34
| |-----------------------------------------------------------|
| CLN | No. of times scheduler skipped a job |
| | because the job needed a cache sweep on another CPU |
| |-----------------------------------------------------------|
| CLT | No. of jiffies CPU ran null job waiting for cache sweep |
| |-----------------------------------------------------------|
| CSD | No. of times swap-out had to wait for cache sweep |
| |-----------------------------------------------------------|
| CRN | Cache sweep request sweep count |
| |-----------------------------------------------------------|
| CEC |No. non-recoverable AR/ARX parity errors involving cache |
| |-----------------------------------------------------------|
| PTR | Retry word for AR/ARX parity trap |
| |-----------------------------------------------------------|
| TSD | Obsolete |
| |-----------------------------------------------------------|
| REP | Parity error/NXM reporting flag |
| | 0 = report NXM error, -1 = report parity error |
| |-----------------------------------------------------------|
| NDB | Number of times this CPU's doorbell was rung |
| |-----------------------------------------------------------|
| SBR | Status blocks read on this CPU (see SR.xxx in S.MAC) |
| | Unused | Bit settings |
| |-----------------------------------------------------------|
| BPF | Background performance analysis timer. |
| | If meter is running, contains negative of the number |
| | of clock ticks to next performance analysis update. |
| |-----------------------------------------------------------|
| FBI | File blocks input (read) |
| |-----------------------------------------------------------|
| FBO | File blocks output (written) |
| |-----------------------------------------------------------|
| SBI | Swapping blocks input (read) |
| |-----------------------------------------------------------|
| SBO | Swapping blocks output (written) |
| |-----------------------------------------------------------|
| SNC | Number of CPU stopcodes |
| |-----------------------------------------------------------|
| SND | Number of DEBUG stopcodes |
| |-----------------------------------------------------------|
| SNJ | Number of JOB stopcodes |
| |-----------------------------------------------------------|
| SJN | Job number as last stopcode |
| |-----------------------------------------------------------|
| SNM | Name of last stopcode | PC+1 of last stopcode |
| |-----------------------------------------------------------|
| SPN | Program running at last stopcode |
| |-----------------------------------------------------------|
| SPP | PPN of user at last stopcode |
| |-----------------------------------------------------------|
Page 35
| |-----------------------------------------------------------|
| STN | TTY name at last stopcode |
| |-----------------------------------------------------------|
| SUP | User PC at time of last stopcode |
| |-----------------------------------------------------------|
| SUU | UUO at time of last stopcode |
| |-----------------------------------------------------------|
| EJN | Job number at last parity/NXM error |
| |-----------------------------------------------------------|
| EPN | Program at last parity/NXM error |
| |-----------------------------------------------------------|
| PPI | Results of CONI PI, on parity/NXM interrupt |
| |-----------------------------------------------------------|
| TPI | Results of CONI PI, on page fail trap |
| |-----------------------------------------------------------|
| RQS | Number of times scheduler interlock was requested |
| | when not owned. |
| |-----------------------------------------------------------|
| TFI | Number of tape frames read on this CPU |
| |-----------------------------------------------------------|
| TFO | Number of tape frames written on this CPU |
| |-----------------------------------------------------------|
| SNI | Number of stopcodes that did not dump (Events) |
|-----------------------------------------------------------|
/ Response subtable (1) /
|-----------------------------------------------------------|
/ Memory parity subtable (1) /
|-----------------------------------------------------------|
/ Memory NXM subtable (1) /
|-----------------------------------------------------------|
/ CPU status block subtable (1) /
|-----------------------------------------------------------|
/ SBDIAG status block subtable (1) /
|-----------------------------------------------------------|
/ Device status block subtable (1) /
|-----------------------------------------------------------|
/ KL background performance analysis subtable (1) /
|-----------------------------------------------------------|
ADR | Same as JBTADR (J) for current job |
(JOBADR) | |
|-----------------------------------------------------------|
REL | Highest rel addr for current user |
|-----------------------------------------------------------|
PC / Job PC when scheduler is called (2 words) /
|-----------------------------------------------------------|
XTM | Time of last switch from monitor cycle to user job or back|
|-----------------------------------------------------------|
LS2 | Additional lost time (fractional jiffy) |
|-----------------------------------------------------------|
NL2 | Additional null time (fractional jiffy) |
|-----------------------------------------------------------|
Page 36
|-----------------------------------------------------------|
OH2 | Additional overhead time (fractional jiffy) |
|-----------------------------------------------------------|
TNT | Time interval since last at clock level |
|-----------------------------------------------------------|
HTM | Hung device time check |
|-----------------------------------------------------------|
SEC | Seconds left before doing once-a-minute code |
|-----------------------------------------------------------|
RCU / Count of realtime CONSOs of skip chain (6 words) /
|-----------------------------------------------------------|
RIT / Realtime initialization table (6 words) /
|-----------------------------------------------------------|
DMI | Realtime dismiss instruction |
|-----------------------------------------------------------|
CKF(2) | Non-zero when CLK interrupt (PI 7) requested |
(CLKFLG) | |
|-----------------------------------------------------------|
TMF(3) | Non-zero when APR clock ticked |
(TIMEF) | |
|-----------------------------------------------------------|
SCF(4) | Force scheduling from exec mode |
|-----------------------------------------------------------|
CHT | Flag to remember clock has ticked. |
| Used to call queued I/O protocol routines. |
|-----------------------------------------------------------|
RTF | Non-zero when realtime reschedule is required |
SCDRTF | |
|-----------------------------------------------------------|
ISF | "In-scheduler" flag |
|-----------------------------------------------------------|
SUD | Address of scan table used during last scheduler scan |
|-----------------------------------------------------------|
HQU |Non-zero if current job needs to be rescheduled for HPQ UUO|
|-----------------------------------------------------------|
PLT | Flag set if current clock tick is potentially lost time |
|-----------------------------------------------------------|
CLF | Flag set if current clock tick is potentially lost time |
| due to the state of the stack. |
|-----------------------------------------------------------|
CL2 | Low order cache lost time |
|-----------------------------------------------------------|
SDA | Number cache sweeps for core deallocation |
|-----------------------------------------------------------|
Page 37
|-----------------------------------------------------------|
CSR | Cache sweep request flag for this CPU |
|-----------------------------------------------------------|
AEF | APR error flag |
|-----------------------------------------------------------|
SAC | Saved copy of .CPAEF |
|-----------------------------------------------------------|
APC / Current PC on detecting APR error (2 words) /
|-----------------------------------------------------------|
MDP / Memory parity error double-word PC /
|-----------------------------------------------------------|
PPD / AR/ARX double-word PC /
|-----------------------------------------------------------|
NJE | Error in null job if non-zero |
|-----------------------------------------------------------|
SFC | Scheduler fairness count |
|-----------------------------------------------------------|
SQF | Non-zero if current job from subqueues |
|-----------------------------------------------------------|
APR | Current user address break conditions |
|-----------------------------------------------------------|
IPI | Interval timer PI assignment |
|-----------------------------------------------------------|
CN1 | CONSO mask for APR interrupts user wants to handle. |
|-----------------------------------------------------------|
DTO | Last DATAO PAG done |
|-----------------------------------------------------------|
SP / Place to save P on APR interrupt (2 words) /
|-----------------------------------------------------------|
S17 / Place to save AC17 on CLK interrupt (2 words) /
|-----------------------------------------------------------|
A17 | 20th (octal) word for storing ACs on parity trap |
|-----------------------------------------------------------|
LPP | Last memory parity PC |
|-----------------------------------------------------------|
LSB | Obsolete |
|-----------------------------------------------------------|
LCI | Time of last parity/NXM interrupt |
| caused by channel reference |
|-----------------------------------------------------------|
Page 38
|-----------------------------------------------------------|
PIP | Pointer to real interrupt PC |
|-----------------------------------------------------------|
PSP | Parity/NXM sweep in progress on this CPU |
|-----------------------------------------------------------|
CHE | Channel error reporting in progress on this CPU |
|-----------------------------------------------------------|
TCX | Results of DATAI PAG, on error trap |
|-----------------------------------------------------------|
TCT | Triad counter for 60Hz leap jiffies |
|-----------------------------------------------------------|
PJB | Owner of performance meter (job no.) |
|-----------------------------------------------------------|
MJB | Measured job of PERF. UUO. |
|-----------------------------------------------------------|
MJ1 | Job enable condition |
|-----------------------------------------------------------|
PMR | Non-zero means PERF. meter is running |
|-----------------------------------------------------------|
PAE | Used to store PERF. analysis enables |
|-----------------------------------------------------------|
PRQ | Flag used in testing and giving PERF. meter away |
|-----------------------------------------------------------|
APS |Non-zero means ACCT and PERF. meters should be kept in sync|
|-----------------------------------------------------------|
MM0 | "Virtual PERF meter's" high order memory reference count |
|-----------------------------------------------------------|
MM1 | Low order mem ref count |
|-----------------------------------------------------------|
BPC | Background performance analysis (B.P.A.) |
| sample interval (in ticks) |
|-----------------------------------------------------------|
BPT /B.P.A. saved RDTIME at start of current interval (2 words) /
|-----------------------------------------------------------|
TIM | Clock interrupt flag for KL10s |
|-----------------------------------------------------------|
ETM | SOSN done on this location every minute, to make sure |
| KL error chunks don't remain allocated |
|-----------------------------------------------------------|
EAD | KL error chunk addresses |
|Addr. of last KL error chunk |Addr. of first KL error chunk|
|-----------------------------------------------------------|
Page 39
|-----------------------------------------------------------|
KPB / KLINIK parameter buffer (6 words) /
|-----------------------------------------------------------|
20F | Flags about RSX20F front end | Count of characters |
| | being output |
|-----------------------------------------------------------|
20S / Space for incoming line speeds (2 words) /
|-----------------------------------------------------------|
20B / Buffer for 16-bit data to RSX20F (30 words) /
|-----------------------------------------------------------|
PTH | Parity/NXM trap occurred during cache sweep |
|-----------------------------------------------------------|
STE | RDERA contents on sweep trap |
|-----------------------------------------------------------|
PTF | No. of page table parity traps allowed between clock ticks|
| (Used to crash system if too many.) |
|-----------------------------------------------------------|
CA1 / Power fail AC block 1 save area /
|-----------------------------------------------------------|
CA2 / Power fail AC block 2 save area /
|-----------------------------------------------------------|
CA3 | Power fail AC block 3 save area /
|-----------------------------------------------------------|
CA4 / Power fail AC block 4 save area /
|-----------------------------------------------------------|
CTQ | SCNSER output queue header for CTY on this CPU |
| (for KL10, is header for all RSX20F lines) |
|-----------------------------------------------------------|
QUE | Queue of DDBs for I/O requests on other CPUs. |
| Emptied into CPUDSQ once per tick |
|-----------------------------------------------------------|
SWP | Non-zero if swap request from another CPU |
|-----------------------------------------------------------|
QND | Address of last DDB in .CPQUE |
|-----------------------------------------------------------|
SWD | Flag for FILIO cache sweeps |
|-----------------------------------------------------------|
DRQ | Disks on this CPU need requeuing. |
| (-1 if disk requests for this CPU need to be requeued |
| to another CPU because this one is dead.) |
|-----------------------------------------------------------|
Page 40
| |-----------------------------------------------------------|
| TAP | Tape waiting for cache sweep. |
| | 0 if no tape waiting for sweep |
| | -1 if tape I/O waiting for sweep |
| | 0,,-1 if tape waiting, DSKTIC did sweep |
| |-----------------------------------------------------------|
| PIB | Save PI state for NBFOFF |
| |-----------------------------------------------------------|
| PIS | Save PI state for SYSPIN |
| |-----------------------------------------------------------|
| DPI | Save PI state for DEVPIN |
| |-----------------------------------------------------------|
| BTI | Save PI state for BTSOFF |
| |-----------------------------------------------------------|
| IUT | Uptime a second ago |
| |-----------------------------------------------------------|
| NTF | NETSER software interrupt flag |
| |-----------------------------------------------------------|
| QTS / QUESER variables (23 words) /
| |-----------------------------------------------------------|
| CPG | Result of DATAI PAG, done by SVSETS with bits set |
| | so that DATAO will restore current AC set |
| |-----------------------------------------------------------|
| ACA | Address of 20 word block where SVSETS saved the AC set |
| |-----------------------------------------------------------|
| KPM | PM.KPM is set if MCA25 |
| |-----------------------------------------------------------|
| JCH | Job/context handle for the current job on this CPU |
| |-----------------------------------------------------------|
| CHN / Addr. of channel data block (CHN) for internal channels /
| / KL10 only (8 words) /
| |-----------------------------------------------------------|
| PAT / Patch space (here to next page boundary) /
| +-----------------------------------------------------------+
|
Notes:
1. The subtables are defined by GETTAB symbols; their contents
are listed in the TOPS-10 Monitor Calls Manual.
2. CKF-CLKFLG takes the place of a hardware interrupt flag.
3. TMF-TIMFF is set so clock interrupt routines will know
another jiffy has passed.
4. Normally, clock interrupts are dismissed when they interrupt
exec mode. SCF is set after monitor detects an error and
desires to force rescheduling.
5. K?SER refers to the processor-specific module (KLSER, KSSER,
KISER).
Page 41
| 7.0 CB -- CONNECTION BLOCK
|
|
|
| Description: Contains information describing a connection to an
| application on a CI node.
|
| Connection blocks are created and destroyed by SCASER
| as connections to applications on CI nodes are opened
| and closed.
|
| Defined in: SCAPRM
|
| Used by: KLPSER, MSCCOM, RAXKON, SCASER, SCSUUO
|
| See also: PB, SB, PCB
|
| Symbol Map
| +------------------------------------------------------------+
| .CBANB | Address of next connection block |
| |------------------------------------------------------------|
| .CBAPB | Address of previous connection block |
| |------------------------------------------------------------|
| .CBPBK | Address of path block (PB) |
| |------------------------------------------------------------|
| .CBSTS | Status information (1) |
| |------------------------------------------------------------|
| .CBFLG | Flags (2) |
| |------------------------------------------------------------|
| .CBSCI | Source connect I.D. |
| |------------------------------------------------------------|
| .CBDCI | Destination connect I.D. |
| |------------------------------------------------------------|
| .CBADR | Address of routine to call when condition changes |
| |------------------------------------------------------------|
| .CBBUF | Number of message and datagram buffers to queue |
| |------------------------------------------------------------|
| .CBNWQ | Address of next entry on work queue |
| |------------------------------------------------------------|
| .CBSPN | Source process name |
| |------------------------------------------------------------|
| .CBDPN | Destination process name |
| |------------------------------------------------------------|
| .CBDTA / Connection data (varying length) /
| |------------------------------------------------------------|
| .CBREA | Destination and source disconnect reasons |
| |------------------------------------------------------------|
| .CBRSP | Expected response |
| |------------------------------------------------------------|
| .CBMCD | Minimum send and receive credits |
| |------------------------------------------------------------|
| .CBSCD | Send credit |
| |------------------------------------------------------------|
| .CBRCD | Receive credit |
| |------------------------------------------------------------|
Page 42
| .CBPRC | Pending receive credit |
| |------------------------------------------------------------|
| .CBRQC | Credits outstanding |
| |------------------------------------------------------------|
| .CBRTC | Return credit |
| |------------------------------------------------------------|
| .CBNPO | Number of packets in port command queue |
| |------------------------------------------------------------|
| .CBDGR | Number of datagram buffers on hardware queue |
| |------------------------------------------------------------|
| .CBCDD | Number of dropped datagrams |
| |------------------------------------------------------------|
| .CBLCK | Interlock word |
| |------------------------------------------------------------|
| .CBPND | Flag word for credit requests in progress |
| |------------------------------------------------------------|
| .CBJNB | Address of next CB in the job list |
| |------------------------------------------------------------|
| .CBJPB | Address of previous CB in the job list |
| |------------------------------------------------------------|
| .CBMGJ | Number of UUO message receive buffers queued |
| |------------------------------------------------------------|
| .CBDGJ | Number of datagram buffers in user space |
| |------------------------------------------------------------|
| .CBJCH | Job number and JCH of job owning the connection |
| |------------------------------------------------------------|
| .CBTMQ | Pointer to top of message pending queue |
| |------------------------------------------------------------|
| .CBBMQ | Pointer to bottom of message pending queue |
| |------------------------------------------------------------|
| .CBTDQ | Pointer to top of datagram available queue |
| |------------------------------------------------------------|
| .CBBDQ | Pointer to bottom of datagram available queue |
| |------------------------------------------------------------|
| .CBTXQ | Pointer to top of data request complete queue |
| |------------------------------------------------------------|
| .CBBXQ | Pointer to bottom of data request complete queue |
| |------------------------------------------------------------|
| .CBTEQ | Pointer to top of event queue |
| |------------------------------------------------------------|
| .CBBEQ | Pointer to bottom of event queue |
| |------------------------------------------------------------|
| .CBTBQ | Pointer to first buffer list descriptor block |
| |------------------------------------------------------------|
| .CBBBQ | Pointer to last buffer list descriptor block |
| +------------------------------------------------------------+
|
| Notes:
|
|
| 1. .CBSTS contains the connections block state in the left half,
| and the connection state in the right half.
|
Page 43
| 2. The contents of .CBFLG consist of bits with the following
| meanings:
|
|
| Bit Symbol Meaning
|
| 0 CB.NCC Needs credit notify
| 1 CB.JSY CB is for UUO connection
| 2 CB.ABT CB has been aborted
| 3 CB.RAP CB has to be reaped
| 4 CB.DCL This was a "don't-care" listener
| 5 CB.KIL Fork has been killed
| 6 CB.MDC Maintenance data CB
| 7 CB.CVC VC was closed
| 8 CB.SOB Stuck on buffers
| 9 CB.PTC Protocol complete
| 10 CB.ERR SC.ERR deferred
| 11 CB.DIS SC.DIS deferred
| 12 CB.DRQ SC.DRQ deferred
| 13 CB.SNM SC.SNM deferred
| 10-13 CB.DEF All deferred bits
Page 44
8.0 CDT -- CONNECTED DEVICE TABLE
Description: Used to point to DDBs of devices connected to the
Multiplexed I/O Facility (MPX). This table contains
the connected device's UDX number and DDB address and
is sorted by UDX number.
The left half of the DEVXTR word of the MPX DDB points
to the CDT table.
Defined in: MSGSER
Used by: MSGSER
Map
+------------------------------------------------------------+
| Size of table | No. of free slots |
|------------------------------------------------------------|
| UDX 1 | DDB addr. |
|------------------------------------------------------------|
| UDX 2 | DDB addr. |
|------------------------------------------------------------|
| UDX 2 | DDB addr. |
|------------------------------------------------------------|
. . .
Page 45
9.0 CHKTAB -- UUO CHECK BIT TABLE
Description: Contains bits for checking UUOs that can be executed on
any CPU (UU.CP1), for checking effective address
(UU.EA) and for flagging LOOKUP, ENTER, and RENAME UUOs
(UU.LER).
The table is in the same order as UUOTAB so the UUOTAB
index in AC T2 serves to get the CHKTAB entry.
If a check bit is specified for the requested UUO,
UUOCON goes to the UUOCHK routine in VMSER.
Defined in: UUOCON
Map
+------------------------------------------------------------+
| Check bit for 40 | Check bit for 41 |
|------------------------------------------------------------|
| 0 | 0 |
|------------------------------------------------------------|
| 0 | 0 |
|------------------------------------------------------------|
| 0 | Check bit for 47 |
|------------------------------------------------------------|
. . .
Because this table is accessed in half words, the bit definitions are
equivalent for the right half and left half words. The following bit
definitions are based on the number of bits in the half word.
Bits Symbol Description
0 UU.CP1 UUO can be executed on any CPU.
18
7 UU.LER Argument list is a LOOKUP/ENTER/RENAME block.
25
11 UU.EA Check effective address.
29
Page 46
10.0 CHKTBC -- CALL AND CALLI UUO CHECK BIT TABLE
Description: Contains validity check bits for CALL and CALLI UUOs.
This table is in the same order as UCLJMP, so the
UCLJMP index in AC T2 serves to get the CHKTBC entry.
If a check bit is specified for the requested UUO,
UUOCON goes to the UUOCHK routine in VMSER.
Defined in: UUOCON
Used by: UUOCON, CPNSER
Map
+------------------------------------------------------------+
| Check bits for CALLI 0 | Check bits for CALLI 1 |
|------------------------------------------------------------|
| Check bits for CALLI 2 | Check bits for CALLI 3 |
|------------------------------------------------------------|
| Check bits for CALLI 4 | Check bits for CALLI 5 |
|------------------------------------------------------------|
. . .
Bit Definitions:
Because the table is organized as halfwords, the following bit
definitions apply for both left halfwords and right halfwords
+--------------------------------------------------------------------+
|CP1| | |NCL|WCC|NAL|LFT|LER|MNS|CEA|CAC| EA| Arg. list length |
+--------------------------------------------------------------------+
Bits Symbol Description
0 UU.CP1 UUO can be executed on any CPU.
18
| 1 UU.SE1 UUO is executed in Section 1.
| 19
3 UU.NCL Negative argument (repeat) count is legal.
21
4 UU.WCC Working set can change.
22
5 UU.NAL Not allowed if locked.
23
6 UU.LFT Use left half of UUO for argument count.
24
7 UU.LER Argument list is a LOOKUP/ENTER/RENAME block.
25
Page 47
8 UU.MNS User-supplied argument list length is a
negative value.
26
9 UU.CEA Use contents of effective address as list
length.
27
10 UU.CAC Use contents of UUO ac as list length
(modifiable using UU.LFT).
28
11 UU.EA Check effective address.
29
30-35 Length of user's argument list.
If neither UUO.CEA nor UU.CAC is set, the list length is taken from
the CHKTBC table.
Page 48
11.0 CHN -- CHANNEL DATA BLOCK
Description: Contains information pertaining to all devices on one
data channel.
One Channel Data Block is generated dynamically by
AUTCON for each channel when the system is started and
when a new channel comes on-line.
Defined in: COMMOD
Used by: AUTCON, ERRCON, FILFND, FILIO, KLSER, RNXKON, RPXKON,
SYSINI, T78KON, TAPUUO, TDZKON, TMXKON, TMZKON, TX1KON
|
| The format of the prototype CHN is illustrated in the following table.
| Where a different symbol is defined for right and left halfwords, the
| left half symbol is followed by two commas (,,) and the right half
| symbol is listed below it.
|
Symbol Map
+------------------------------------------------------------+
.CHNBSY | Number pending requests on this channel ( -1 is idle) |
|------------------------------------------------------------|
.CHSYS,, | ADR of next CHN | Last UDB with error |
.CHLUE | 0 if last | |
|------------------------------------------------------------|
.CHICW | Initial control word on last error |
|------------------------------------------------------------|
.CHFCW | Final control word after last error |
|------------------------------------------------------------|
.CHCW2 | Command word -2 on last error |
|------------------------------------------------------------|
.CHCW1 | Command word -1 on last error |
|------------------------------------------------------------|
.CHCW0 | Command word on last error |
|------------------------------------------------------------|
.CHDWZ | Data word -2 on last error |
|------------------------------------------------------------|
.CHDW1 | Data word -1 on last error |
|------------------------------------------------------------|
.CHDW0 | Data word on last error |
|------------------------------------------------------------|
.CHMPE | Number of memory parity errors |
|------------------------------------------------------------|
.CHDPE | Number of data parity errors (from device) |
|------------------------------------------------------------|
.CHNXM | Number of non-existent memory errors or data |
|------------------------------------------------------------|
Page 49
| |------------------------------------------------------------|
| .CHCSR,, | Bits to request CPU to | Last DDB Address |
| .CHLDE | sweep core | |
| |------------------------------------------------------------|
| .CHTCW | Expected termination control word of last error |
| |------------------------------------------------------------|
|
| (The remaining words apply only to disk channels.)
|
| |------------------------------------------------------------|
| CHNECT | Error count on current data transfer |
| |------------------------------------------------------------|
| CHNRCT | Current recalibrate count |
| |------------------------------------------------------------|
| CHNQUE | First DDB in TWQ (2) | Job number of DDB |
| |------------------------------------------------------------|
| CHNIFP * | Initial fairness count for positioning |
| |------------------------------------------------------------|
| CHNCFP | Current fairness count for positioning |
| |------------------------------------------------------------|
| CHNIFT | Initial fairness count for transfers |
| |------------------------------------------------------------|
| CHNCFT | Current fairness count for transfers |
| |------------------------------------------------------------|
| CHNIFS | Initial swapping fairness count |
| |------------------------------------------------------------|
| CHNCFS | Current swapping fairness count |
| |------------------------------------------------------------|
| CHNNUM | Number of blocks currently being transferred |
| |------------------------------------------------------------|
| CHNQUL | Length of XFER wait queue (TWQ) |
| |------------------------------------------------------------|
| CHNTCW | Expected termination control word |
| |-------------------------------------------------------