DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page   0

TABLE OF CONTENTS   



   (1)      33  HISTORY			; DETAILED

   (1)      44  DECLARATIONS

   (1)     307  DSC SOFTWARE PROCESS CONTROL BLOCK

   (1)     348  DSC PROCESS HEADER

   (1)     376  ALLOCATE SPACE FOR VECTOR PAGE AND ALLOCATION R

   (1)     396  ALLOCATE SPACE FOR STACKS

   (1)     438  ALLOCATE SPACE FOR PAGE TABLES

   (1)     466  ALLOCATE CHANNEL CONTROL BLOCK REGION

   (1)     477  ALLOCATE P1 VIRTUAL ADDRESS SPACE

   (1)     539  VECTOR PAGE

   (1)     622  END OF PHYSICAL MEMORY BELONGING TO EXEC

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page   1

00.4                                                                                                                             (1)



                                     0000     1 	.TITLE	DSC - STAND-ALONE DSC PROCESS DATA STRUCTURE

                                     0000     2 	.IDENT	/00.4/

                                     0000     3 ;

                                     0000     4 ; COPYRIGHT (C) 1978

                                     0000     5 ; DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASSACHUSETTS 01754

                                     0000     6 ;

                                     0000     7 ; THIS SOFTWARE IS FURNISHED  UNDER A LICENSE FOR USE ONLY ON A SINGLE

                                     0000     8 ; COMPUTER  SYSTEM AND  MAY BE  COPIED ONLY WITH  THE INCLUSION OF THE

                                     0000     9 ; ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE, OR ANY OTHER COPIES THEREOF,

                                     0000    10 ; MAY NOT BE PROVIDED OR  OTHERWISE MADE AVAILABLE TO ANY OTHER PERSON

                                     0000    11 ; EXCEPT FOR USE ON SUCH SYSTEM AND TO ONE WHO AGREES TO THESE LICENSE

                                     0000    12 ; TERMS.  TITLE TO AND  OWNERSHIP OF THE  SOFTWARE  SHALL AT ALL TIMES

                                     0000    13 ; REMAIN IN DEC.

                                     0000    14 ;

                                     0000    15 ; THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE

                                     0000    16 ; AND SHOULD  NOT BE CONSTRUED  AS A COMMITMENT  BY DIGITAL  EQUIPMENT

                                     0000    17 ; CORPORATION.

                                     0000    18 ;

                                     0000    19 ; DEC ASSUMES  NO  RESPONSIBILITY  FOR  THE USE OR  RELIABILITY OF ITS

                                     0000    20 ; SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DEC.

                                     0000    21 

                                     0000    22 ;++

                                     0000    23 ; FACILITY:	EXECUTIVE, CREATE PROCESS/SWAPPER DATA BASE

                                     0000    24 ;

                                     0000    25 ; ABSTRACT:	SHELL DEFINES THE SWAP IMAGE FOR THE INITIAL PROCESS

                                     0000    26 ;		STARTED BY THE CREATE PROCESS SYSTEM SERVICE.

                                     0000    27 ;

                                     0000    28 ; ENVIRONMENT:

                                     0000    29 ;

                                     0000    30 ;--

                                     0000    31 ;

                                     0000    32 ;	.PAGE

                                     0000    33 	.SBTTL	HISTORY			; DETAILED

                                     0000    34 ;

                                     0000    35 ; AUTHOR: RICHARD I. HUSTVEDT, CREATION DATE: 30-NOV-76

                                     0000    36 ;

                                     0000    37 ; MODIFIED BY:

                                     0000    38 ;

                                     0000    39 ;	C. A. MONIA, : VERSION 00

                                     0000    40 ;

                                     0000    41 ; 01	 -	MODIFIED MODULE "SHELL" FOR STAND-ALONE DSC SYSTEM

                                     0000    42 ;

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page   2

00.4            DECLARATIONS                                                                                                     (1)



                                     0000    44 	.SBTTL	DECLARATIONS

                                     0000    45 

                                     0000    46 ;

                                     0000    47 ; INCLUDE FILES:

                                     0000    48 ;

                                     0000    49 	$CCBDEF				; CHANNEL CONTROL BLOCK DEFINITIONS

                                     0000    50 	$DYNDEF				; DYNAMIC DATA STRUCTURE TYPE DEFINITIONS

                                     0000    51 	$IMPDEF				; RMS INTERNAL STRUCTURE DEFINITION

                                     0000    52 	$PCBDEF				; PROCESS CONTROL BLOCK DEFINITIONS

                                     0000    53 	$PHDDEF				; PROCESS HEADER DEFINITIONS

                                     0000    54 	$PRTDEF				; DEFINE PROTECTION CODES

                                     0000    55 	$PSLDEF				; DEFINE FORMAT OF PSL

                                     0000    56 	$PTEDEF				; PAGE TABLE ENTRY DEFINTIONS

                                     0000    57 	$SECDEF				; SECTION DEFINITIONS (GSTE/PSTE)

                                     0000    58 	$SGNDEF				; SYSGEN VALUE DEFINITIONS

                                     0000    59 	$STATEDEF			; DEFINE STATE NUMBERS

                                     0000    60 	$WSLDEF				; WORKING SET LIST DEFINITIONS

                                     0000    61  

                                     0000    62 ;

                                     0000    63 ; EXTERNAL SYMBOLS:

                                     0000    64 ;

                                     0000    65 

                                     0000    66 ;

                                     0000    67 ; EQUATES:

                                     0000    68 ;

                                     0000    69 

                           0000001F  0000    70 NCHAN=31				; NUMBER OF I/O CHANNELS

                           00000001  0000    71 CCBPAGE=<CCB$C_LENGTH*<NCHAN+1>+<512-1>>@-9 ; SIZE OF CCB IN PAGES

                           00000000  0000    72 P1PTECNT=0				; INITIALIZE COUNT OF P1 PTES

                           00000003  0000    73 KSTACK=3				; THREE PAGES OF KERNEL STACK

                           00000002  0000    74 ESTACK=2				; TWO PAGES OF EXEC STACK

                           00000006  0000    75 SSTACK=6				; TWO PAGES OF SUPER STACK

                           00000006  0000    76 USTACK=6				; SIX PAGES OF USER STACK

                           00000004  0000    77 PARSIZE=4				; FOUR PAGES FOR PROCESS ALLOCATION REGION

                                     0000    78 

                           00002600  0000    79 PIO$C_SEGSIZE==19*512			; SIZE OF PROCESS I/O SEGMENT

                                     0000    80  

                                     0000    81 ;

                                     0000    82 ; MACROS:

                                     0000    83 ;

                                     0000    84 ; DEFINE ASCII COUNTED STRING

                                     0000    85 ;

                                     0000    86  

                                     0000    87 	.MACRO	.ASCIC	STRING

                                     0000    88 P1..=.

                                     0000    89 	.BLKB	1

                                     0000    90 	.ASCII	STRING

                                     0000    91 P2..=.

                                     0000    92 .=P1..

                                     0000    93 	.BYTE	P2..-P1..-1

                                     0000    94 .=P2..

                                     0000    95 	.ENDM

                                     0000    96  

                                     0000    97 ;

                                     0000    98 ; DEFINE CONTROL REGION OFFSET

                                     0000    99 ;

                                     0000   100  

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page   3

00.4            DECLARATIONS                                                                                                     (1)



                                     0000   101 

                                     0000   102 	.MACRO	CTL	SYM

                                     0000   103 	.IF NDF	CTL....

                                     0000   104 CTL....=0

                                     0000   105 	.ENDC

                                     0000   106 	.IF NB	SYM

                                     0000   107 CTL$'SYM==CTL$GL_VECTORS+CTL....

                                     0000   108 	.ENDC

                                     0000   109 	.ENDM	CTL

                                     0000   110  

                                     0000   111 ;

                                     0000   112 ; STORE A LONGWORD IN THE CONTROL REGION

                                     0000   113 ;

                                     0000   114  

                                     0000   115 	.MACRO	.CTLLONG	SYM,VAL

                                     0000   116 SAV....=.

                                     0000   117 	CTL	SYM

                                     0000   118 .=VECTBASE+CTL....

                                     0000   119 	.LONG	VAL

                                     0000   120 CTL....=.-VECTBASE

                                     0000   121 .=SAV....

                                     0000   122 	.ENDM

                                     0000   123  

                                     0000   124 ;

                                     0000   125 ; STORE A STRING IN THE CONTROL REGION

                                     0000   126 ;

                                     0000   127  

                                     0000   128 	.MACRO	.CTLASCII	SYM,STRING

                                     0000   129 SAV....=.

                                     0000   130 	CTL	SYM

                                     0000   131 .=VECTBASE+CTL....

                                     0000   132 	.ASCII	"STRING"

                                     0000   133 CTL....=.-VECTBASE

                                     0000   134 .=SAV....

                                     0000   135 	.ENDM

                                     0000   136  

                                     0000   137  

                                     0000   138 ;

                                     0000   139 ; STORE A WORD IN THE CONTROL REGION

                                     0000   140 ;

                                     0000   141  

                                     0000   142 	.MACRO	.CTLWORD	SYM,VAL

                                     0000   143 SAV....=.

                                     0000   144 	CTL	SYM

                                     0000   145 .=VECTBASE+CTL....

                                     0000   146 	.WORD	VAL

                                     0000   147 CTL....=.-VECTBASE

                                     0000   148 .=SAV....

                                     0000   149 	.ENDM

                                     0000   150  

                                     0000   151 ;

                                     0000   152 ; POSITION THE LOCATION COUNTER TO AN OFFSET IN THE PCB

                                     0000   153 ;

                                     0000   154  

                                     0000   155 	.MACRO	PCB	OFFSET,DIR,VAL

                                     0000   156 	.IF NDF	PCB....

                                     0000   157 PCB....=.

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page   4

00.4            DECLARATIONS                                                                                                     (1)



                                     0000   158 	.BLKB	PCB$C_LENGTH

                                     0000   159 	.ENDC

                                     0000   160 SAV....=.

                                     0000   161 .=PCB....+PCB$'OFFSET

                                     0000   162 	.'DIR	VAL

                                     0000   163 .=SAV....

                                     0000   164 	.ENDM

                                     0000   165  

                                     0000   166 ;

                                     0000   167 ; STORE A BYTE IN THE PCB

                                     0000   168 ;

                                     0000   169  

                                     0000   170 	.MACRO	.PCBBYTE	OFFSET,VALUE

                                     0000   171 	PCB	OFFSET,<BYTE>,<VALUE>

                                     0000   172 	.ENDM

                                     0000   173  

                                     0000   174 ;

                                     0000   175 ; STORE A LONGWORD IN THE PCB

                                     0000   176 ;

                                     0000   177  

                                     0000   178 	.MACRO	.PCBLONG	OFFSET,VALUE

                                     0000   179 	PCB	OFFSET,<LONG>,<VALUE>

                                     0000   180 	.ENDM

                                     0000   181  

                                     0000   182 ;

                                     0000   183 ; STORE A WORD IN THE PCB

                                     0000   184 ;

                                     0000   185  

                                     0000   186 	.MACRO	.PCBWORD	OFFSET,VALUE

                                     0000   187 	PCB	OFFSET,<WORD>,<VALUE>

                                     0000   188 	.ENDM

                                     0000   189  

                                     0000   190 ;

                                     0000   191 ; STORE AN ASCII STRING IN THE PCB

                                     0000   192 ;

                                     0000   193  

                                     0000   194 	.MACRO	.PCBASCII	OFFSET,STRING

                                     0000   195 	PCB	OFFSET,<ASCIC>,<"STRING">

                                     0000   196 	.ENDM

                                     0000   197  

                                     0000   198 ;

                                     0000   199 ; POSITION LOCATION COUNTER TO OFFSET WITHIN PROCESS HEADER

                                     0000   200 ;

                                     0000   201  

                                     0000   202 	.MACRO	PHD	OFFSET

                                     0000   203 	.IF NDF	PHD...

                                     0000   204 PHD...=.

                                     0000   205 	.BLKB	PHD$C_LENGTH

                                     0000   206 	.ALIGN	PAGE

                                     0000   207 PHDPAG=<.-PHD...>@-9

                                     0000   208 SAV....=.

                                     0000   209 	.ENDC

                                     0000   210 .=PHD...+PHD$'OFFSET

                                     0000   211 	.ENDM

                                     0000   212  

                                     0000   213 ;

                                     0000   214 ; INITIALIZE PROCESS HEADER BYTE

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page   5

00.4            DECLARATIONS                                                                                                     (1)



                                     0000   215 ;

                                     0000   216  

                                     0000   217 	.MACRO	.PHDBYTE	OFFSET,VAL

                                     0000   218 	PHD	OFFSET

                                     0000   219 	.BYTE	VAL

                                     0000   220 .=SAV....

                                     0000   221 	.ENDM

                                     0000   222  

                                     0000   223 ;

                                     0000   224 ; INITIALIZE PROCESS HEADER LONGWORD

                                     0000   225 ;

                                     0000   226  

                                     0000   227 	.MACRO	.PHDLONG	OFFSET,VAL

                                     0000   228 	PHD	OFFSET

                                     0000   229 	.LONG	VAL

                                     0000   230 .=SAV....

                                     0000   231 	.ENDM

                                     0000   232  

                                     0000   233 ;

                                     0000   234 ; INITIALIZE PROCESS HEADER WORD

                                     0000   235 ;

                                     0000   236  

                                     0000   237 	.MACRO	.PHDWORD	OFFSET,VAL

                                     0000   238 	PHD	OFFSET

                                     0000   239 	.WORD	VAL

                                     0000   240 .=SAV....

                                     0000   241 	.ENDM

                                     0000   242  

                                     0000   243 

                                     0000   244 ;

                                     0000   245 ; P1PTE - GENERATE PTES FOR CONTROL REGION PAGE TABLE

                                     0000   246 ;

                                     0000   247 

                                     0000   248 	.MACRO	P1PTE	ENTRY,ACCESS=<UW>,NUM=NPAG....

                                     0000   249 	.IF NDF	P1....

                                     0000   250 FREP1VA=1@31-4

                                     0000   251 P1....=P1BASE

                                     0000   252 P1LGH=1@21

                                     0000   253 DSC$C_P1PTLGH==0

                                     0000   254 P1BR=P1BASE-<1@23>

                                     0000   255 	.ENDC

                                     0000   256 	.IF NB	ENTRY

                                     0000   257 LOC=ENTRY+<<NUM-1>*512>

                                     0000   258 	.ENDC

                                     0000   259 	.SAVE

                                     0000   260 	.PSECT	ZZDSC

                                     0000   261 SAV....=.

                                     0000   262 DSC$C_P1PTLGH==DSC$C_P1PTLGH+NUM

                                     0000   263 	.REPT	NUM

                                     0000   264 FREP1VA=FREP1VA-512

                                     0000   265 P1LGH=P1LGH-1

                                     0000   266 .=P1....

                                     0000   267 	.BLKL	-1

                                     0000   268 DSC$GL_P1PTE==.

                                     0000   269 P1....=.

                                     0000   270 TMP...=0

                                     0000   271 	.IF NB	ENTRY

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page   6

00.4            DECLARATIONS                                                                                                     (1)



                                     0000   272 TMP...=1@31

                                     0000   273 	.IFF

                                     0000   274 LOC=0

                                     0000   275 	.ENDC

                                     0000   276 	.LONG	TMP...!PTE$C_'ACCESS!<<^C<1@31>&LOC>@-9>

                                     0000   277 LOC=LOC-512

                                     0000   278 	.ENDR

                                     0000   279 .=SAV....

                                     0000   280 	.RESTORE

                                     0000   281 	.ENDM

                                     0000   282  

                                     0000   283 ;

                                     0000   284 ; ENTER CONTROL REGION ADDRESS SPACE

                                     0000   285 ;

                                     0000   286  

                                     0000   287 	.MACRO	.CNTREG

                                     0000   288 	.SAVE

                                     0000   289 	.PSECT	.ABS.,ABS,PAGE

                                     0000   290 .=1@31

                                     0000   291 	.ENDM

                                     0000   292  

                                     0000   293 ;

                                     0000   294 ; ALLOCATE A BLOCK OF PAGES AND P1 PAGE TABLE ENTRIES

                                     0000   295 ;

                                     0000   296  

                                     0000   297 	.MACRO	.BLKP	PAGES,ENTRY,ACCESS

                                     0000   298 NPAG....=PAGES

                                     0000   299 	.IF LT NPAG....

                                     0000   300 NPAG....=-NPAG....

                                     0000   301 	.ENDC

                                     0000   302 	.BLKB	PAGES*512

                                     0000   303 	P1PTE	ENTRY,ACCESS

                                     0000   304 	.ENDM

                                     0000   305  

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page   7

00.4            DSC SOFTWARE PROCESS CONTROL BLOCK                                                                               (1)



                                     0000   307 	.SBTTL	DSC SOFTWARE PROCESS CONTROL BLOCK

                                     0000   308  

                                     0000   309 ;

                                     0000   310 ; DSC SOFTWARE PROCESS CONTROL BLOCK

                                     0000   311 ;

                                     0000   312 ; ALLOCATE MEMORY FOR THE SOFTWARE PROCESS CONTROL BLOCK AND

                                     0000   313 ; FILL IN SELECTED PORTIONS

                                     0000   314 ;

                                     0000   315  

                                 00000000   316 	.PSECT	ZZDSC,PAGE

                                     0000   317  

                                     0000   318 	.ALIGN	PAGE

                                     0000   319  

                                     0000   320 DSC$GL_PCB::			; REFERENCE LABEL

                                     0000   321 PCBBASE:				; REFERENCE LABEL

                                     0000   322 	.PCBBYTE	B_TYPE,<DYN$C_PCB> ; TYPE=PCB

                                     007C   323 	.PCBWORD	W_SIZE,<PCB$C_LENGTH> ; LENGTH OF STRUCTURE

                                     007C   324 	.PCBLONG	L_SQFL,<PCBBASE+PCB$L_SQFL> ; FORWARD LINK

                                     007C   325 	.PCBLONG	L_SQBL,<PCBBASE+PCB$L_SQFL> ; BACKWARD LINK

                                     007C   326 	.PCBLONG	L_ASTQFL,<PCBBASE+PCB$L_ASTQFL> ; SETUP AST QUEUE LISTHEAD

                                     007C   327 	.PCBLONG	L_ASTQBL,<PCBBASE+PCB$L_ASTQFL> ; ...

                                     007C   328 	.PCBWORD	W_MEM,<^O<1>>	; UIC - MEMBER NUMBER

                                     007C   329 	.PCBWORD	W_GRP,<^O<1>>	; UIC - GROUP NUMBER

                                     007C   330 	.PCBBYTE	B_PRIB,<32-17>	; RUN AT HIGH PRIORITY

                                     007C   331 	.PCBBYTE	B_PRI,<32-17>	; CURRENT PRIORITY

                                     007C   332 	.PCBBYTE	B_ASTEN,<^X0F>	; AST'S ENABLED AT ALL MODES

                                     007C   333 	.PCBWORD	W_ASTCNT,20	; AST COUNT REMAINING

                                     007C   334 	.PCBWORD	W_BIOLM,20	; SET A REASONABLE BUFFERED I/O LIMIT

                                     007C   335 	.PCBWORD	W_BIOCNT,20	; COUNT OF BUFFERED I/O REMAINING

                                     007C   336 	.PCBWORD	W_DIOLM,10	; DIRECT I/O LIMIT

                                     007C   337 	.PCBWORD	W_DIOCNT,10	; DIRECT I/O COUNT REMAINING

                                     007C   338 	.PCBWORD	W_TQCNT,20	; COUNT OF TIMER QUEUE ENTRIES REMAINING

                                     007C   339 	.PCBWORD	W_STATE,SCH$C_CUR ; CURRENT PROCESS

                                     007C   340 	.PCBLONG	L_PID,MMG$C_CMEPIX ; PROCESS I/D

                                     007C   341 	.PCBLONG	L_PHD,PHDBASE	; ADDRESS OF PHD

                                     007C   342 	.PCBLONG	L_PHYPCB,<^C<1@31>&<PHDBASE+PHD$L_PCB>> ; HARDWARE PCB

                                     007C   343 	.PCBLONG	L_STS,<<1@PCB$V_RES>+<1@PCB$V_PSWAPM>> ; RESIDENT AND NON-SWAPPABLE

                                     007C   344 	.PCBWORD	W_BYTCNT,1024	; BUFFERED I/O BYTE COUNT

                                     007C   345 	.PCBWORD	W_BYTLM,1024	; BUFFERED I/O BYTE COUNT LIMIT

                                     007C   346 	.PCBASCII	T_LNAME,<DSC>	; PROCESS NAME

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page   8

00.4            DSC PROCESS HEADER                                                                                               (1)



                                     007C   348 	.SBTTL	DSC PROCESS HEADER

                                     007C   349 ;

                                     007C   350 ;	DSC PROCESS HEADER

                                     007C   351 ;

                                     007C   352 ; ALLOCATE MEMORY FOR THE PROCESS HEADER AND FILL IN SELECTED PORTIONS

                                     007C   353 ;

                                     007C   354  

                                     007C   355 	.ALIGN	PAGE

                                     0200   356  

                                     0200   357 DSC$GL_HEADER::				;

                                     0200   358 PHDBASE:				; REFERENCE LABEL

                                     0200   359 	.PHDLONG	Q_PRIVMSK,<-1,-1> ; ENABLE ALL PRIVILEGES

                                     0400   360 	.PHDWORD	W_QUANT,-100	; ONE SECOND QUANTUM TIME

                                     0400   361 	.PHDWORD	W_ASTLM,20	; QUOTA OF 20 AST'S OUTSTANDING

                                     0400   362 	.PHDLONG	L_FREP0VA,FREP0VA ; FIRST FREE ADDRESS IN P0 SPACE

                                     0400   363 	.PHDLONG	L_FREP1VA,FREP1VA ; FIRST FREE ADDRESS IN P1 SPACE

                                     0400   364 	.PHDLONG	L_KSP,KSPINI	; VIRTUAL ADDRESS OF KERNEL STACK

                                     0400   365 	.PHDLONG	L_ESP,ESPINI	; VIRTUAL ADDRESS OF EXEC. STACK

                                     0400   366 	.PHDLONG	L_SSP,SSPINI	; VIRTUAL ADDRESS OF SUPERVISOR STACK

                                     0400   367 	.PHDLONG	L_USP,USPINI	; VIRTUAL ADDRESS OF USER STACK

                                     0400   368 	.PHDLONG	L_PC,EXE$PROCSTRT ; VIRTUAL STARTING ADDRESS OF PROCESS

                                     0400   369 	.PHDLONG	L_P0BR,P0PT	; BASE OF P0 PAGE TABLES

                                     0400   370 	.PHDLONG	L_P0LRASTL,P0LGH ; LENGTH OF P0 PAGE TABLES

                                     0400   371 	.PHDBYTE	B_ASTLVL,4	; NO AST LEVEL PENDING

                                     0400   372 	.PHDLONG	L_P1BR,P1BR	; BASE OF P1 PAGE TABLES

                                     0400   373 	.PHDLONG	L_P1LR,P1LGH	; LENGTH OF P1 PAGE TABLES

                           00000278  0400   374 SCH$GL_CMEPCB==PHDBASE+PHD$L_PCB

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page   9

00.4            ALLOCATE SPACE FOR VECTOR PAGE AND ALLOCATION R                                                                  (1)



                                     0400   376 	.SBTTL	ALLOCATE SPACE FOR VECTOR PAGE AND ALLOCATION REGION

                                     0400   377  

                                     0400   378 ;

                                     0400   379 ; ALLOCATE SPACE FOR VECTOR PAGE

                                     0400   380 ;

                                     0400   381  

                                     0400   382 	.ALIGN	PAGE

                                     0400   383  

                                     0400   384 VECTBASE:				;

                           00000600  0400   385 	.BLKB	512			;

                                     0600   386  

                                     0600   387 ;

                                     0600   388 ; ALLOCATE SPACE FOR PROGRAM ALLOCATION REGION

                                     0600   389 ;

                                     0600   390  

                                     0600   391 PARBASE:				;

                           00000000  0600   392 	.LONG	0			; NO LINK TO NEXT FREE BLOCK

                           00000800  0604   393 	.LONG	PARSIZE*512		; LENGTH OF BLOCK

                           00001600  0608   394 	.BLKB	<PARSIZE*512>-4*2	; ALLOCATE SPACE FOR BLOCK

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page  10

00.4            ALLOCATE SPACE FOR STACKS                                                                                        (1)



                                     1600   396 	.SBTTL	ALLOCATE SPACE FOR STACKS

                                     1600   397  

                                     1600   398  

                                     1600   399 ;

                                     1600   400 ; ALLOCATE SPACE FOR STACKS

                                     1600   401 ;

                                     1600   402 ;

                                     1600   403 ; KERNAL STACK

                                     1600   404 ;

                                     1600   405  

                                     1600   406 	.ALIGN	PAGE

                                     1600   407  

                                     1600   408 KSTBASE:				; BASE OF KERNEL STACK

                           00001C00  1600   409 	.BLKB	KSTACK*512		;

                                     1C00   410  

                                     1C00   411 ;

                                     1C00   412 ; EXECUTIVE STACK

                                     1C00   413 ;

                                     1C00   414  

                                     1C00   415 	.ALIGN	PAGE

                                     1C00   416  

                                     1C00   417 ESTBASE:				; BASE OF EXECUTIVE STACK

                           00002000  1C00   418 	.BLKB	ESTACK*512		;

                                     2000   419  

                                     2000   420 ;

                                     2000   421 ; SUPERVISOR STACK

                                     2000   422 ;

                                     2000   423  

                                     2000   424 	.ALIGN	PAGE

                                     2000   425  

                                     2000   426 SSTBASE:				; BASE OF SUPERVISOR STACK

                           00002C00  2000   427 	.BLKB	SSTACK*512		;

                                     2C00   428  

                                     2C00   429 ;

                                     2C00   430 ; USER STACK

                                     2C00   431 ;

                                     2C00   432  

                                     2C00   433 	.ALIGN	PAGE

                                     2C00   434  

                                     2C00   435 USTBASE:				; BASE OF USER STACK

                           00003800  2C00   436 	.BLKB	USTACK*512		;

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page  11

00.4            ALLOCATE SPACE FOR PAGE TABLES                                                                                   (1)



                                     3800   438 	.SBTTL	ALLOCATE SPACE FOR PAGE TABLES

                                     3800   439  

                                     3800   440 ;

                                     3800   441 ; ALLOCATE SPACE FOR P0 TABLES AND FILL-IN PTES WITH PFN OFFSET

                                     3800   442 ; TO DSC STORAGE

                                     3800   443 ;

                                     3800   444  

                                     3800   445 DSC$GL_P0PTE::				; BASE OF DSC P0 PAGE TABLES

                                     3800   446 P0PT:					; REFERENCE LABEL

                           00000000  3800   447 FREP0VA=0				; FIRST FREE ADDRESS IN P0 SPACE

                                     3800   448  

                           00000000  3800   449 P0LGH=0					;

                                     3800   450 	.REPT	128

                                     3800   451 FREP0VA=FREP0VA+512

                                     3800   452 	.LONG	1@31!PTE$C_UW!<<^C<1@31>&DSCBASE>@-9>+P0LGH ;

                                     3800   453 P0LGH=P0LGH+1

                                     3800   454 	.ENDR

                           00000080  3A00   455 DSC$C_P0PTLGH==P0LGH

                                     3A00   456  

                                     3A00   457 ;

                                     3A00   458 ; ALLOCATE SPACE FOR P1 PAGE TABLES

                                     3A00   459 ;

                                     3A00   460  

                                     3A00   461 	.ALIGN PAGE

                                     3A00   462  

                           00003E00  3A00   463 	.BLKL	128*2			;

                                     3E00   464 P1BASE:					; P1 BASE (P1 IS ALLOCATED DOWNWARDS)

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page  12

00.4            ALLOCATE CHANNEL CONTROL BLOCK REGION                                                                            (1)



                                     3E00   466 	.SBTTL	ALLOCATE CHANNEL CONTROL BLOCK REGION

                                     3E00   467  

                                     3E00   468 ;

                                     3E00   469 ; ALLOCATE CHANNEL CONTROL BLOCK REGION

                                     3E00   470 ;

                                     3E00   471  

                                     3E00   472 	.ALIGN	PAGE

                                     3E00   473  

                                     3E00   474 CCBBASE:				; BASE OF CHANNEL CONTROL BLOCKS

                           00004000  3E00   475 	.BLKB	CCBPAGE*512		;

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page  13

00.4            ALLOCATE P1 VIRTUAL ADDRESS SPACE                                                                                (1)



                                     4000   477 	.SBTTL	ALLOCATE P1 VIRTUAL ADDRESS SPACE

                                     4000   478  

                                     4000   479 ;

                                     4000   480 ; ALLOCATE P1 VIRTUAL ADDRESS SPACE AND FILL-IN P1 PTE'S

                                     4000   481 ; WITH OFFSET TO APPROPRIATE DATA

                                     4000   482 ;

                                     4000   483  

                                     4000   484 	.CNTREG

                                     0000   485  

                                     0000   486 	.BLKP	-128			; ALLOCATE DEBUG CONTEXT AREA

                                     0000   487 	.BLKP	-1,VECTBASE		; ALLOCATE VECTOR PAGE

                                     FE00   488 CTL$GL_VECTORS::			;

                                     FE00   489 SSPINI:					; BASE OF SUPERVISOR STACK

                                     FE00   490 	.BLKP	-SSTACK,SSTBASE		; ALLOCATE SUPERVISOR STACK

                                     F200   491 ESPINI:					; BASE OF EXECUTIVE STACK

                                     F200   492 	.BLKP	-ESTACK,ESTBASE		; ALLOCATE EXECUTIVE STACK

                                     EE00   493 CTL$GL_KSPINI::				; INITIAL KERNEL STACK

                                     EE00   494 KSPINI:					; BASE OF KERNEL STACK

                                     EE00   495 	.BLKP	-KSTACK,KSTBASE		; ALLOCATE KERNEL STACK

                                     E800   496 CTL$GL_KSTKBAS::			; MARK BOTTOM OF KERNEL STACK

                                     E800   497 	.BLKP	-1			; NULL STOPPER PAGE

                                     E600   498 	.BLKP	-4			; ALLOCATE SPACE FOR DEBUGGER CONTEXT

                           7FFEDE00  DE00   499 VA....=.

                                     DE00   500  

                                     DE00   501 ;

                                     DE00   502 ; THE FOLLOWING BUFFERS ARE SHARED WITH THE DEBUG CONTEXT AREA

                                     DE00   503 ;

                                     DE00   504  

                                     DE00   505 MMG$IMGACTBUF::				; IMAGE ACTIVATOR SCRATCH PAGES

                           7FFEE400  DE00   506 	.BLKB	3*512			; IMAGE ACTIVATOR SCRATCH PAGES

                                     E400   507 MMG$IMGHDRBUF::				; IMAGE HEADER BUFFER

                           7FFEE600  E400   508 	.BLKB	512			; IMAGE HEADER BUFFER

                           7FFEDE00  E600   509 .=VA....

                                     DE00   510 	.BLKP	-48			; CLI IMAGE MAPPING SECTION

                                     7E00   511 CLI$IMAGE::				; BASE OF SECTION

                                     7E00   512 	.BLKP	-3			; COMMAND INTERPRETER DATA BASE

                                     7800   513 CLIDATAPAG:				; BASE OF CLI DATA BASE

                                     7800   514 	.BLKP	-4			; CLI OWN DATA (FOR DCL)

                                     7000   515 CTL$AG_CLIOWN::				; BASE OF CLI OWN DATA

                                     7000   516 CTL$CLIDATA::				; BASE ADDRESS FOR CLI DATA

                           00100000  7000   517 CTL$C_CLIOWNSZ==<CLIDATAPAG-.>*512	; SIZE OF CLIOWN IN BYTES

                                     7000   518 	.BLKP	-<PARSIZE>,PARBASE	; PROCESS ALLOCATION REGION

                                     6800   519 PRCALLREG:				; BASE ADDRESS OF CALL REGION

                                     6800   520 	.BLKP	-2			; USER PORTION OF PROCESS I/O REGION

                                     6400   521 FIL$A_BUF1::				; BUFFER 1

                                     6400   522 	.BLKP	-1			; 

                                     6200   523 FIL$A_BUF2::				; BUFFER 2

                                     6200   524 	.BLKP	-2			; START OF USER PROCESS I/O REGION

                                     5E00   525 	.BLKP	-<<PIO$C_SEGSIZE@-9>>	; ALLOCATE  EXECUTIVE PORTION OF PROCESS I/O REGION

                                     3800   526 PIOBASE:				;

                                     3800   527 	.BLKP	-PHDPAG,PHDBASE		; ALLOCATE WINDOW INTO HEADER

                                     3600   528 CTL$GL_PHDBAS::				; REFERENCE LABEL

                           7FFE35F0  3600   529 	.BLKB	-CCB$C_LENGTH		; I/O CHANNELS (PERMANENT)

                                     35F0   530 CTL$GL_CCB::				; BASE ADDRESS OF CHANNEL ZERO

                                     35F0   531 	.ALIGN	PAGE			; RELOCATE TO PAGE BOUNDARY

                                     3600   532 	.BLKP	-CCBPAGE,CCBBASE	; ALLOCATE PAGES FOR I/O CHANNELS

                                     3400   533 USPINI:					; MARK BASE OF USER STACK

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page  14

00.4            ALLOCATE P1 VIRTUAL ADDRESS SPACE                                                                                (1)



                                     3400   534 	.BLKP	-USTACK,USTBASE		; ALLOCATE USER STACK

                                     2800   535  

                                 00004000   536 	.RESTORE

                                     4000   537  

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page  15

00.4            VECTOR PAGE                                                                                                      (1)



                                     4000   539 	.SBTTL	VECTOR PAGE

                                     4000   540  

                                     4000   541 ;----------------------------------------------------------------

                                     4000   542 ;

                                     4000   543 ;	VECTOR PAGE

                                     4000   544 ;

                                     4000   545 ;----------------------------------------------------------------

                                     4000   546  

                                     4000   547 	.CTLWORD	GW_NMIOCH,NCHAN	; NUMBER OF I/O CHANNELS

                                     4000   548 	.CTLWORD	GW_CHINDX,<<NCHAN+1>@4> ; MAXIMUM CHANNEL INDEX

                                     4000   549 	.CTLLONG	GL_RMSPP,0	; RMS PROCESS I/O SEGMENT POINTER

                                     4000   550 	.CTLLONG	GL_RMSIP,0	; RMS IMAGE I/O POINTER

                                     4000   551  

                                     4000   552 ;

                                     4000   553 ; ARRAY OF STACK POINTERS

                                     4000   554 ;

                                     4000   555  

                                     4000   556 	.CTLLONG	,CTL$GL_KSTKBAS	; MARK BASE OF KERNEL STACK

                                     4000   557 	.CTLLONG	AL_STACK,<-	; 

                                     4000   558 			KSPINI,-	; KERNEL STACK

                                     4000   559 			ESPINI,-	; EXECUTIVE STACK

                                     4000   560 			SSPINI,-	; SUPERVISOR STACK

                                     4000   561 			USPINI-		; USER STACK

                                     4000   562 			>		;

                                     4000   563 	.CTLLONG	GL_PLTFL,CTL$GL_PLTFL ; LIST HEADER FOR PROCESS LOGICAL NAME TABLE

                                     4000   564 	.CTLLONG	GL_PLTBL,CTL$GL_PLTFL ; BACKWARD LINK

                                     4000   565  

                                     4000   566 ;

                                     4000   567 ; THE FOLLOWING THREE VECTORS MUST BE ADJACENT

                                     4000   568 ;

                                     4000   569  

                                     4000   570 	.CTLLONG	GL_CMSUPR,0	; SUPERVISOR CHANGE MODE DISPATCHER

                                     4000   571 	.CTLLONG	GL_CMUSER,0	; USER CHANGE MODE DISPATCHER

                                     4000   572 	.CTLLONG	GL_CMHANDLR,0	; COMPATIBILITY MODE HANDLER

                                     4000   573 	.CTLLONG	AQ_EXCVEC,<EXE$EXCPTN,0,- ; KERNEL PRIMARY AND SECONDARY EXCEPTION HANDLER

                                     4000   574 			EXE$EXCPTN,0,-	; EXEC PRIMARY AND SECONDARY EXCEPTION HANDLERS

                                     4000   575 			0,0,0,0>	; NULL INITIALLY

                                     4000   576 	.CTLLONG	GL_THEXEC,0	; EXECUTIVE TERMINATION HANDLER

                                     4000   577 	.CTLLONG	GL_THSUPR,0	; SUPERVISOR TERMINATION HANDLER

                                     4000   578 	.CTLLONG	GL_THUSER,0	; USER TERMINATION HANDLER

                                     4000   579 	.CTLLONG	AL_CMCNTX,0	; COMPATIBILITY MODE CONTEXT

                                     4000   580 	.REPT	10-1

                                     4000   581 	.CTLLONG	,0		;

                                     4000   582 	.ENDR

                                     4000   583 	.CTLLONG	GL_PHD,CTL$GL_PHDBAS ; ADDRESS OF PHD WINDOW

                                     4000   584 	.CTLLONG	GQ_ALLOCREG,<PRCALLREG,0> ; HEAD OF PROCESS ALLOCATION REGION POOL

                                     4000   585 	.CTLLONG	GQ_MOUNTLST,<-	; DEVICE MOUNTED LIST

                                     4000   586 			CTL$GQ_MOUNTLST,- ; FORWARD POINTER

                                     4000   587 			CTL$GQ_MOUNTLST- ; BACKWARD POINTER

                                     4000   588 			>		;

                                     4000   589 	.CTLLONG	GL_FINALSTS,0	; FINAL EXIT STATUS FOR PROCESS

                           7FFE364C  4000   590 CTL$GL_PAGEFLTS==CTL$GL_PHDBAS+PHD$L_PAGEFLTS ; COUNT OF PROCESS PAGE FAULTS

                                     4000   591 	.CTLLONG	GL_VIRTPEAK,0	; PEAK VIRTUAL SIZE

                                     4000   592 	.CTLLONG	GL_WSPEAK,0	; PEAK WORKING SET SIZE

                                     4000   593  

                           7FFE3654  4000   594 CTL$GL_BIOCNT==CTL$GL_PHDBAS+PHD$L_BIOCNT ; BUFFERED I/O OPERATIONS

                           7FFE3650  4000   595 CTL$GL_DIOCNT==CTL$GL_PHDBAS+PHD$L_DIOCNT ; DIRECT I/O OPERATIONS

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page  16

00.4            VECTOR PAGE                                                                                                      (1)



                                     4000   596  

                                     4000   597 	.CTLLONG	GL_VOLUMES,0	; COUNT OF VOLUMES MOUNTED

                                     4000   598 	.CTLASCII	T_USERNAME,<SYSTEM      > ; USER NAME

                                     4000   599 	.CTLASCII	T_ACCOUNT,<STARTUP >	; ASSUMED NULL ACCOUNT NAME

                                     4000   600 	.CTLLONG	GQ_PROCPRIV,<-1,-1> ; PROCESS PRIVILEGE MASK

                                     4000   601 	.CTLLONG	GL_USRCHMK,0	; PER-PROCESS VECTOR FOR USER CHANGE MODE TO KERNEL

                                     4000   602 	.CTLLONG	GL_USRCHME,0	; PER-PROCESS VECTOR FOR CHANGE-MODE TO EXEC

                                     4000   603 	.CTLLONG	GQ_LOGIN,<0,0>	; SYSTEM TIME AT PROCESS CREATION

                                     4000   604  

                                     4000   605 ;

                                     4000   606 ; ARRAY OF FINAL EXCEPTION VECTORS - ONE PER MODE

                                     4000   607 ;

                                     4000   608  

                                     4000   609 	.CTLLONG	AL_FINALEXC,<-	;

                                     4000   610 			0,-		; KERNEL MODE

                                     4000   611 			0,-		; EXECUTIVE MODE

                                     4000   612 			0,-		; SUPERVISOR MODE

                                     4000   613 			0-		; USER MODE

                                     4000   614 			>		;

                                     4000   615  

                                     4000   616 ;

                                     4000   617 ; POINTER TO BASE OF CHANNELS

                                     4000   618 ;

                                     4000   619  

                                     4000   620 	.CTLLONG	GL_CCBBASE,CTL$GL_CCB	; BASE OF I/O CHANNELS

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page  17

00.4            END OF PHYSICAL MEMORY BELONGING TO EXEC                                                                         (1)



                                     4000   622 	.SBTTL	END OF PHYSICAL MEMORY BELONGING TO EXEC

                                     4000   623  

                                     4000   624 ;

                                     4000   625 ; THIS LOCATION MARKS THE END OF THE PHYSICAL MEMORY THAT IS

                                     4000   626 ; PART OF THE EXECUTIVE. SUBSEQUENT MEMORY IS OCCUPIED BY THE

                                     4000   627 ; STAND-ALONE VERSION OF THE CME (DSC).

                                     4000   628 ;

                                     4000   629  

                                     4000   630 	.ALIGN	PAGE

                                     4000   631  

                                     4000   632 DSCBASE:				;

                                     4000   633  

                                     4000   634 	.END

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page  18

SYMBOL TABLE                                                                                                                     (1)



BIT...         = 00000000            DSC$GL_HEADER    00000200 RG    03   IMP$C_IOREFN   = 0000001E            

CCB$B_AMOD       00000009            DSC$GL_P0PTE     00003800 RG    03   IMP$C_MBXEFN   = 0000001A            

CCB$B_STS        00000008            DSC$GL_P1PTE   = 00003A50 RG    03   IMP$C_NPIOFILES= 00000008            

CCB$C_LENGTH     00000010            DSC$GL_PCB       00000000 RG    03   IMP$C_SYNCEFN  = 0000001B            

CCB$K_LENGTH     00000010            DSCBASE          00004000 R     03   IMP$L_FREEPGLH   0000000C            

CCB$L_DIRP       0000000C            DYN$C_ACB      = 00000002            IMP$L_IFABTBL    00000018            

CCB$L_UCB        00000000            DYN$C_ADP      = 00000001            IMP$L_IOSEGADDR  00000004            

CCB$L_WIND       00000004            DYN$C_AQB      = 00000003            IMP$L_IOSEGLEN   00000008            

CCB$W_IOC        0000000A            DYN$C_BRDCST   = 0000001A            IMP$L_IRABTBL    0000001C            

CCBBASE          00003E00 R     03   DYN$C_BUFIO    = 00000013            IMP$L_SAVED_SP   00000014            

CCBPAGE        = 00000001            DYN$C_CEB      = 00000004            IMP$V_AST      = 00000001            

CLI$IMAGE        7FFE7E00  G         DYN$C_CIR      = 0000001E            IMP$V_IIOS     = 00000000            

CLIDATAPAG       7FFE7800            DYN$C_CRB      = 00000005            IMP$V_IORUNDOWN= 00000004            

CTL$AG_CLIOWN    7FFE7000  G         DYN$C_CXB      = 0000001B            IMP$V_NOP0BUFS = 00000005            

CTL$AL_CMCNTX  = 7FFEFE60  G         DYN$C_DDB      = 00000006            IMP$V_TEMP1    = 00000002            

CTL$AL_FINALEXC= 7FFEFED8  G         DYN$C_FCB      = 00000007            IMP$V_TEMP2    = 00000003            

CTL$AL_STACK   = 7FFEFE10  G         DYN$C_FRK      = 00000008            IMP$W_ENTPERSEG  00000020            

CTL$AQ_EXCVEC  = 7FFEFE34  G         DYN$C_GSD      = 00000015            IMP$W_RMSSTATUS  00000000            

CTL$CLIDATA      7FFE7000  G         DYN$C_IDB      = 00000009            KSPINI           7FFEEE00            

CTL$C_CLIOWNSZ = 00100000  G         DYN$C_IRP      = 0000000A            KSTACK         = 00000003            

CTL$GL_BIOCNT  = 7FFE3654  G         DYN$C_JPB      = 0000001F            KSTBASE          00001600 R     03   

CTL$GL_CCB       7FFE35F0  G         DYN$C_KFH      = 00000026            LOC            = 00002A00 R     03   

CTL$GL_CCBBASE = 7FFEFEE8  G         DYN$C_KFI      = 00000018            MMG$C_CMEPIX     ********   X   03   

CTL$GL_CMHANDLR= 7FFEFE30  G         DYN$C_LOG      = 0000000B            MMG$IMGACTBUF    7FFEDE00  G         

CTL$GL_CMSUPR  = 7FFEFE28  G         DYN$C_MTL      = 00000019            MMG$IMGHDRBUF    7FFEE400  G         

CTL$GL_CMUSER  = 7FFEFE2C  G         DYN$C_MVL      = 00000016            NCHAN          = 0000001F            

CTL$GL_DIOCNT  = 7FFE3650  G         DYN$C_NDB      = 0000001C            NPAG....       = 00000006            

CTL$GL_FINALSTS= 7FFEFE9C  G         DYN$C_NET      = 00000017            P0LGH          = 00000080            

CTL$GL_KSPINI    7FFEEE00  G         DYN$C_PBH      = 00000020            P0PT             00003800 R     03   

CTL$GL_KSTKBAS   7FFEE800  G         DYN$C_PCB      = 0000000C            P1..           = 0000006C R     03   

CTL$GL_PAGEFLTS= 7FFE364C  G         DYN$C_PDB      = 00000021            P1....         = 00003A50 R     03   

CTL$GL_PHD     = 7FFEFE88  G         DYN$C_PFL      = 00000023            P1BASE           00003E00 R     03   

CTL$GL_PHDBAS    7FFE3600  G         DYN$C_PIB      = 00000022            P1BR           = FF803E00 R     03   

CTL$GL_PLTBL   = 7FFEFE24  G         DYN$C_PQB      = 0000000D            P1LGH          = 001FFF14            

CTL$GL_PLTFL   = 7FFEFE20  G         DYN$C_PTR      = 00000025            P1PTECNT       = 00000000            

CTL$GL_RMSIP   = 7FFEFE08  G         DYN$C_RVT      = 0000000E            P2..           = 00000070 R     03   

CTL$GL_RMSPP   = 7FFEFE04  G         DYN$C_SFT      = 00000024            PARBASE          00000600 R     03   

CTL$GL_THEXEC  = 7FFEFE54  G         DYN$C_SSB      = 0000001D            PARSIZE        = 00000004            

CTL$GL_THSUPR  = 7FFEFE58  G         DYN$C_TQE      = 0000000F            PCB$B_ASTACT     0000000C            

CTL$GL_THUSER  = 7FFEFE5C  G         DYN$C_TYPAHD   = 00000014            PCB$B_ASTEN      0000000D            

CTL$GL_USRCHME = 7FFEFECC  G         DYN$C_UCB      = 00000010            PCB$B_PRI        0000000B            

CTL$GL_USRCHMK = 7FFEFEC8  G         DYN$C_VCB      = 00000011            PCB$B_PRIB       00000033            

CTL$GL_VECTORS   7FFEFE00  G         DYN$C_WCB      = 00000012            PCB$B_TYPE       0000000A            

CTL$GL_VIRTPEAK= 7FFEFEA0  G         ESPINI           7FFEF200            PCB$B_WEFC       00000032            

CTL$GL_VOLUMES = 7FFEFEA8  G         ESTACK         = 00000002            PCB$C_LENGTH     0000007C            

CTL$GL_WSPEAK  = 7FFEFEA4  G         ESTBASE          00001C00 R     03   PCB$K_LENGTH     0000007C            

CTL$GQ_ALLOCREG= 7FFEFE8C  G         EXE$EXCPTN       ********   X   03   PCB$L_ASTQBL     00000014            

CTL$GQ_LOGIN   = 7FFEFED0  G         EXE$PROCSTRT     ********   X   03   PCB$L_ASTQFL     00000010            

CTL$GQ_MOUNTLST= 7FFEFE94  G         FIL$A_BUF1       7FFE6400  G         PCB$L_EFC2P      00000058            

CTL$GQ_PROCPRIV= 7FFEFEC0  G         FIL$A_BUF2       7FFE6200  G         PCB$L_EFC3P      0000005C            

CTL$GW_CHINDX  = 7FFEFE02  G         FREP0VA        = 00010000            PCB$L_EFCS       00000050            

CTL$GW_NMIOCH  = 7FFEFE00  G         FREP1VA        = 7FFE27FC            PCB$L_EFCU       00000054            

CTL$T_ACCOUNT  = 7FFEFEB8  G         GBL...         = 00000000            PCB$L_EFWM       0000004C            

CTL$T_USERNAME = 7FFEFEAC  G         IMP$B_PROT       00000002            PCB$L_OWNER      0000001C            

CTL....        = 000000EC            IMP$C_ASYEFN   = 0000001E            PCB$L_PHD        00000064            

DSC$C_P0PTLGH  = 00000080  G         IMP$C_ASYQIOEFN= 0000001F            PCB$L_PHYPCB     00000018            

DSC$C_P1PTLGH  = 000000EC  G         IMP$C_ENTPERSEG= 0000000F            PCB$L_PID        00000060            

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page  19

SYMBOL TABLE                                                                                                                     (1)



PCB$L_PQB        0000004C            PHD$L_CPUTIM     0000003C            PHD$W_PSTFREE    00000026            

PCB$L_SQBL       00000004            PHD$L_DIOCNT     00000050            PHD$W_PSTLAST    00000024            

PCB$L_SQFL       00000000            PHD$L_ESP        0000007C            PHD$W_PTCNTACT   00000070            

PCB$L_STS        00000028            PHD$L_FREP0VA    00000028            PHD$W_PTCNTLCK   0000006C            

PCB$L_UIC        00000020            PHD$L_FREP1VA    00000030            PHD$W_PTCNTMAX   00000072            

PCB$L_WSSWP      00000024            PHD$L_FREPTECNT  0000002C            PHD$W_PTCNTVAL   0000006E            

PCB$L_WTIME      0000002C            PHD$L_KSP        00000078            PHD$W_QUANT      00000040            

PCB$T_LNAME      0000006C            PHD$L_P0BR       000000C8            PHD$W_TQLM       00000062            

PCB$V_ASTPEN   = 00000011            PHD$L_P0LRASTL   000000CC            PHD$W_WSAUTH     0000000A            

PCB$V_BATCH    = 0000000E            PHD$L_P1BR       000000D0            PHD$W_WSDYN      0000000E            

PCB$V_DELPEN   = 00000001            PHD$L_P1LR       000000D4            PHD$W_WSFLUID    00000074            

PCB$V_FORCPEN  = 00000002            PHD$L_PAGEFLTS   0000004C            PHD$W_WSLAST     00000012            

PCB$V_HIBER    = 00000013            PHD$L_PAGFIL     0000001C            PHD$W_WSLIST     00000008            

PCB$V_INQUAN   = 00000003            PHD$L_PC         000000C0            PHD$W_WSLOCK     0000000C            

PCB$V_LOGIN    = 00000014            PHD$L_PCB        00000078            PHD$W_WSLX       0000004A            

PCB$V_NOACNT   = 0000000F            PHD$L_PGFLCNT    00000034            PHD$W_WSNEXT     00000010            

PCB$V_PHDRES   = 00000012            PHD$L_PGFLQUOTA  0000005C            PHD$W_WSQUOTA    00000018            

PCB$V_PSWAPM   = 00000004            PHD$L_PSL        000000C4            PHD...         = 00000200 R     03   

PCB$V_RES      = 00000000            PHD$L_PSTBASOFF  00000020            PHDBASE          00000200 R     03   

PCB$V_RESPEN   = 00000005            PHD$L_PTWSLELCK  00000064            PHDPAG         = 00000001            

PCB$V_SSFEXC   = 00000006            PHD$L_PTWSLEVAL  00000068            PIO$C_SEGSIZE  = 00002600  G         

PCB$V_SSFEXCE  = 00000007            PHD$L_R0         00000088            PIOBASE          7FFE3800            

PCB$V_SSFEXCS  = 00000008            PHD$L_R1         0000008C            PRCALLREG        7FFE6800            

PCB$V_SSFEXCU  = 00000009            PHD$L_R10        000000B0            PRT$C_ER       = 00000007            

PCB$V_SSRWAIT  = 0000000A            PHD$L_R11        000000B4            PRT$C_ERKW     = 00000006            

PCB$V_SUSPEN   = 0000000B            PHD$L_R12        000000B8            PRT$C_EW       = 00000005            

PCB$V_SWPVBN   = 00000010            PHD$L_R13        000000BC            PRT$C_KR       = 00000003            

PCB$V_WAKEPEN  = 0000000C            PHD$L_R2         00000090            PRT$C_KW       = 00000002            

PCB$V_WALL     = 0000000D            PHD$L_R3         00000094            PRT$C_NA       = 00000000            

PCB$W_APTCNT     00000034            PHD$L_R4         00000098            PRT$C_RESERVED = 00000001            

PCB$W_ASTCNT     0000003C            PHD$L_R5         0000009C            PRT$C_SR       = 0000000B            

PCB$W_BIOCNT     0000003E            PHD$L_R6         000000A0            PRT$C_SREW     = 00000009            

PCB$W_BIOLM      00000040            PHD$L_R7         000000A4            PRT$C_SRKW     = 0000000A            

PCB$W_BYTCNT     00000042            PHD$L_R8         000000A8            PRT$C_SW       = 00000008            

PCB$W_BYTLM      00000068            PHD$L_R9         000000AC            PRT$C_UR       = 0000000F            

PCB$W_DIOCNT     00000044            PHD$L_SSP        00000080            PRT$C_UREW     = 0000000D            

PCB$W_DIOLM      00000046            PHD$L_USP        00000084            PRT$C_URKW     = 0000000E            

PCB$W_FILCNT     00000048            PHD$L_WSL        000000D8            PRT$C_URSW     = 0000000C            

PCB$W_GPGCNT     00000038            PHD$M_DALCSTX  = 00000002            PRT$C_UW       = 00000004            

PCB$W_GRP        00000022            PHD$M_PFMFLG   = 00000001            PSL$C_EXEC     = 00000001            

PCB$W_MEM        00000020            PHD$Q_PRIVMSK    00000000            PSL$C_KERNEL   = 00000000            

PCB$W_MTXCNT     0000000E            PHD$S_ASTLVL   = 00000008            PSL$C_SUPER    = 00000002            

PCB$W_PPGCNT     0000003A            PHD$S_P0LR     = 00000018            PSL$C_USER     = 00000003            

PCB$W_PRCCNT     0000006A            PHD$V_ASTLVL   = 00000018            PSL$M_CM       = 80000000            

PCB$W_SIZE       00000008            PHD$V_DALCSTX  = 00000001            PSL$M_CURMOD   = 03000000            

PCB$W_STATE      00000030            PHD$V_P0LR     = 00000000            PSL$M_DV       = 00000080            

PCB$W_TMBU       00000036            PHD$V_PFMFLG   = 00000000            PSL$M_FPD      = 08000000            

PCB$W_TQCNT      0000004A            PHD$W_ASTLM      00000044            PSL$M_FU       = 00000040            

PCB....        = 00000000 R     03   PHD$W_BAK        00000048            PSL$M_IPL      = 001F0000            

PCBBASE          00000000 R     03   PHD$W_DFWSCNT    0000001A            PSL$M_IS       = 04000000            

PHD$B_ASTLVL     000000CF            PHD$W_EXTDYNWS   00000076            PSL$M_IV       = 00000020            

PHD$B_DFPFC      00000038            PHD$W_FILLM      00000060            PSL$M_PRVMOD   = 00C00000            

PHD$B_PAGFIL     0000001F            PHD$W_FLAGS      0000003A            PSL$M_SAFBITS  = 000037FF            

PHD$C_LENGTH     000000D8            PHD$W_PFMFLG     0000003A            PSL$M_TBIT     = 00000010            

PHD$K_LENGTH     000000D8            PHD$W_PHVINDEX   00000046            PSL$M_TP       = 40000000            

PHD$L_BIOCNT     00000054            PHD$W_PRCLM      00000042            PSL$S_CURMOD   = 00000002            

PHD$L_CPULIM     00000058            PHD$W_PST        00000020            PSL$S_IPL      = 00000005            

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page  20

SYMBOL TABLE                                                                                                                     (1)



PSL$S_PRVMOD   = 00000002            PTE$V_STX      = 00000000            SEC$W_FLAGS      00000014            

PSL$V_CM       = 0000001F            PTE$V_TYP0     = 00000016            SEC$W_SECXBL     00000006            

PSL$V_CURMOD   = 00000018            PTE$V_TYP1     = 0000001A            SEC$W_SECXFL     00000004            

PSL$V_DV       = 00000007            PTE$V_VALID    = 0000001F            SGN$C_BALSETCNT= 00000018            

PSL$V_FPD      = 0000001B            PTE$V_WRT      = 00000012            SGN$C_DFWSCNT  = 00000064            

PSL$V_FU       = 00000006            SAV....        = 00004000 R     03   SGN$C_DFWSQUOTA= 00000078            

PSL$V_IPL      = 00000010            SCH$C_CEF      = 00000003            SGN$C_GBLSECCNT= 00000028            

PSL$V_IS       = 0000001A            SCH$C_COLPG    = 00000001            SGN$C_MAXGPGCNT= 00000800            

PSL$V_IV       = 00000005            SCH$C_COM      = 0000000C            SGN$C_MAXPAGCNT= 00004000            

PSL$V_PRVMOD   = 00000016            SCH$C_COMO     = 0000000D            SGN$C_MAXPGFL  = 00001000            

PSL$V_TBIT     = 00000004            SCH$C_CUR      = 0000000E            SGN$C_MAXPSTCNT= 00000005            

PSL$V_TP       = 0000001E            SCH$C_FPG      = 0000000B            SGN$C_MAXVPGCNT= 00002000            

PTE$C_EOWN     = 00800000            SCH$C_HIB      = 00000007            SGN$C_MAXWSCNT = 00000400            

PTE$C_ER       = 38000000            SCH$C_HIBO     = 00000008            SGN$C_MINWSCNT = 0000000A            

PTE$C_ERKW     = 30000000            SCH$C_LEF      = 00000005            SGN$C_NPAGEDYN = 00006800            

PTE$C_EW       = 28000000            SCH$C_LEFO     = 00000006            SGN$C_NPROCS   = 00000040            

PTE$C_KOWN     = 00000000            SCH$C_MWAIT    = 00000002            SGN$C_PAGEDYN  = 00004000            

PTE$C_KR       = 18000000            SCH$C_PFW      = 00000004            SGN$C_PHYPAGCNT= 00001000            

PTE$C_KW       = 10000000            SCH$C_SUSP     = 00000009            SGN$C_SFTMAX   = 00000003            

PTE$C_NA       = 00000000            SCH$C_SUSPO    = 0000000A            SGN$C_SYSDWSCNT= 00000028            

PTE$C_SOWN     = 01000000            SCH$GL_CMEPCB  = 00000278 RG    03   SGN$C_SYSVECPGS= 00000003            

PTE$C_SR       = 58000000            SEC$B_AMOD       00000015            SGN$C_SYSWSCNT = 00000060            

PTE$C_SREW     = 48000000            SEC$B_PFC        0000000B            SSPINI           7FFEFE00            

PTE$C_SRKW     = 50000000            SEC$C_LENGTH     00000020            SSTACK         = 00000006            

PTE$C_SW       = 40000000            SEC$K_LENGTH     00000020            SSTBASE          00002000 R     03   

PTE$C_UOWN     = 01800000            SEC$L_CCB        00000000            TMP...         = 80000000            

PTE$C_UR       = 78000000            SEC$L_GSD        00000000            USPINI           7FFE3400            

PTE$C_UREW     = 68000000            SEC$L_PAGCNT     0000001C            USTACK         = 00000006            

PTE$C_URKW     = 70000000            SEC$L_REFCNT     00000018            USTBASE          00002C00 R     03   

PTE$C_URSW     = 60000000            SEC$L_VBN        00000010            VA....         = 7FFEDE00            

PTE$C_UW       = 20000000            SEC$L_VPXPFC     00000008            VECTBASE         00000400 R     03   

PTE$M_CRF      = 00010000            SEC$L_WINDOW     0000000C            WSL$C_GBLWRT   = 00000006            

PTE$M_DZRO     = 00020000            SEC$M_AMOD     = 00000300            WSL$C_GLOBAL   = 00000004            

PTE$M_GPTX     = 003FFFFF            SEC$M_CRF      = 00000002            WSL$C_GPGTBL   = 0000000A            

PTE$M_MODIFY   = 04000000            SEC$M_DZRO     = 00000004            WSL$C_LENGTH   = 00000004            

PTE$M_OWN      = 01800000            SEC$M_GBL      = 00000001            WSL$C_PPGTBL   = 00000008            

PTE$M_PFN      = 001FFFFF            SEC$M_PERM     = 00004000            WSL$C_PROCESS  = 00000000            

PTE$M_PGFLVB   = 003FFFFF            SEC$M_SYSGBL   = 00008000            WSL$C_SYSTEM   = 00000002            

PTE$M_PROT     = 78000000            SEC$M_WRT      = 00000008            WSL$M_GOODPAGE = 00000040            

PTE$M_TYP0     = 00400000            SEC$S_AMOD     = 00000002            WSL$M_MODIFY   = 00000100            

PTE$M_TYP1     = 04000000            SEC$S_CRF      = 00000001            WSL$M_PAGTYP   = 0000000E            

PTE$M_VALID    = 80000000            SEC$S_DZRO     = 00000001            WSL$M_PFNLOCK  = 00000010            

PTE$M_WRT      = 00040000            SEC$S_GBL      = 00000001            WSL$M_VALID    = 00000001            

PTE$S_GPTX     = 00000016            SEC$S_PERM     = 00000001            WSL$M_WSLOCK   = 00000020            

PTE$S_OWN      = 00000002            SEC$S_PFC      = 00000008            WSL$S_PAGTYP   = 00000003            

PTE$S_PFN      = 00000015            SEC$S_SYSGBL   = 00000001            WSL$V_GOODPAGE = 00000006            

PTE$S_PGFLVB   = 00000016            SEC$S_VPX      = 00000016            WSL$V_MODIFY   = 00000008            

PTE$S_PROT     = 00000004            SEC$S_WRT      = 00000001            WSL$V_PAGTYP   = 00000001            

PTE$S_STX      = 00000010            SEC$V_AMOD     = 00000008            WSL$V_PFNLOCK  = 00000004            

PTE$V_CRF      = 00000010            SEC$V_CRF      = 00000001            WSL$V_VALID    = 00000000            

PTE$V_DZRO     = 00000011            SEC$V_DZRO     = 00000002            WSL$V_WSLOCK   = 00000005            

PTE$V_GPTX     = 00000000            SEC$V_GBL      = 00000000            

PTE$V_MODIFY   = 0000001A            SEC$V_PERM     = 0000000E            

PTE$V_OWN      = 00000017            SEC$V_PFC      = 00000018            

PTE$V_PFN      = 00000000            SEC$V_SYSGBL   = 0000000F            

PTE$V_PGFLVB   = 00000000            SEC$V_VPX      = 00000000            

PTE$V_PROT     = 0000001B            SEC$V_WRT      = 00000003            

DSC             - STAND-ALONE DSC PROCESS DATA STRUCTURE         22-AUG-1978 00:07:26   VAX-11 MACRO X0.3-11               Page  21

PROGRAM SECTION SYNOPSIS                                                                                                         (1)







PROGRAM SECTION SYNOPSIS



.  ABS  .        00000000      00     NOPIC   USR   CON   ABS   LCL NOSHR NOEXE NORD  NOWRT BYTE  

. BLANK .        00000000      01     NOPIC   USR   CON   REL   LCL NOSHR   EXE   RD    WRT BYTE  

$ABS$            000000DC      02     NOPIC   USR   CON   ABS   LCL NOSHR   EXE   RD    WRT BYTE  

ZZDSC            00004000      03     NOPIC   USR   CON   REL   LCL NOSHR   EXE   RD    WRT PAGE  

.ABS.            80000000      04     NOPIC   USR   CON   ABS   LCL NOSHR   EXE   RD    WRT PAGE  





THERE WERE NO ERRORS OR WARNINGS.

12576. BYTES LEFT IN FREE MEMORY POOL.

824. BYTES OF RECLAIMED MEMORY.

OBJ$:DSC,LIS$:DSC/-SP=LIB$:LIB/ML,SRC$:DSC

4 MLB DIR RDS - 697 GETS TO DEFINE 21 MACROS. 119 INTER. FILE WRITES. 

