SY20-0884-3_Data_Areas_and_Control_Block_Logic_Update_Aug79.pdf
Page27(27 of 63)
Aug. 1, 1979 74.2 IBM VM/370 Data Areas and Control Block Logic
Aug. 1r 1979 PSA Hexadecimal Field Displacement Name Field Description, Contents, Meaning 434 438 43C 440 470 478 440 480 484 488 48C 490 494 498 49C 4AO 4A4 4A8 4AC 4BO 4B4 4B8 4BC 4CO 4C4 4C8 4CC 4DO 4D4 4D8 4DC 4EO 4E4 4E8 4EC 4FO 4F4 4F8 4FC 500 500 540 580 5CO 600 640 650 660 664 668 66C 670 678 680 684 INSTWBD2 DC INSTWRD3 DC· INSTWBD4 DC F'O' F'O' F'O' Reserved for installation use Reserved for installation use Reserved for installation use List of ZEBOES BLANKS FFS Fregue,!!tly .!!§ed Constants DC 6D'0' DC 8X'40' DC 8X' FF' Also -1 FO EQU ZEROES F1 DC F'1' F2 DC F'2' F3 DC F'3' F4 DC F'4' F5 DC F'5' F6 F7 F8 F9 F10 F15 F16 F20 F24 F60 F240 F255 F256 F4095 F4096 DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC APTBLK DC NOADD DC X40FFS DC XBIGHT24 DC XPAGNUM DC XBIGHT16 DC AFBEE DC AFBET DC AQCNWT DC ADSPCH DC APTBAN DC X2048BND DC PSBCLR2 DS DUMPSAVE DS SIGSAVE DS LOKSAVE DS MFASAVE DS SWTHSAVE DS LOCKSAV DS SVCREGS DS PREFIXA DC PREFIXB DC PSACPXBP DC RESVD DS WAITSTRT DS WAITEND DS PWTPAGES DC ACTIVTRQ DC F'6' F'7' F'8' F'9' F'10' F'1S' F'16' F'20' F'24' F'60' F' 240' F' 2S5' F'256' F'4095' F'4096' v (DMKPTRLK) X'FFOOOOOO' X'40FFFFFF' X'OOFFFFFF' X'OOFFFOOO' X'OOOOFFFF' V (DMKFREE) V (DMKFRET) V (DMKQCNWT) V (DMKDSPCH) V (D MKPTRAN) X'00FFF800' OF 16F 16F 16F 16F 16F 4F 4F F'O' F'O' A (0) 1F D D F'O' A (0) Also Also Also Also Also Also Also X'OOOOOOOF' X'0000003C' X'OOOOOOFO' = X'OOOOOOFF' X'00000100' X'OOOOOFFF' X'00001000' Entry to lock a page in storage Frequently used work value Frequently used work value Isolate right 24 bits Isolate the page number Isolate the right 16 bits Entry to allocate free storage Entry to release free storage Entry to write a terminal message Entry to the VM/370 dispatcher Entry to the paging supervisor Locate a half-page boundary Start of second area cleared by CP initialization (DMKCPI) Save area for dump routine Save area for DMKEXT DMKLOK save area Save area for malfunction alert DMKVMASW save area LOCK macro save area SVC save area Prefix value of this processor Prefix value of other processor Address of CPEXBLOK for switch SVC. Note that PSACPXBP is in absolute PSA. Reserved for IBM use Timer value at start of wait Timer value at end of wait Pages in PGWAIT at start of wait Address of active transit queue Section 1. CP Data Areas and Control Blocks 75
Hexadecimal Field Displacement Name ------------ 410 ALOKFR DC 414 ALOKSY DC 418 PSARECP S DC 41C PSARSV15 DS 430 INSTWRD 1 DC Page of SY20-0884 .... 3 As Updated Aug. 1,1979 by TNL SN25-0497 PSA F'ield Description, Contents, Meaning -------------------------------------- V (DMKLOKFR) Attached processor free lockword address V (DMKLOKSY) Attached processor system lockword address F'O' Reserved for ECPS 5F Reserved for IBM use F'O' Reserved for installation use section 1. CP Data Areas and Control Blocks 74.1
Aug. 1, 1979 74.2 IBM VM/370 Data Areas and Control Block Logic
SY20-0884-3_Data_Areas_and_Control_Block_Logic_Update_Aug79.pdf
Page25(25 of 63)
Page of SY20-0884-3 As Updated Aug. lr 1979 by TNL SN25-0497 PSA Hexadecimal Field Displacement Name 39C 3AO 3A4 3A8 3AC 380 3B4 3B8 3BC 3CO 3C4 3C8 3CC 3DO 3D4 3D8 3DC 3EO 3E4 3E8 3EC 3FO 3F4 3F8 3FC 400 ARSPAC DC AVMREAL DC ASYSABND DC ASYSLC DC ASYSOP DC ARIOCT DC ARIOCH DC ARIOCU DC ARIODV DC ARIOCC DC ARIoue DC ARIODC DC ACORETBL DC APAGCP DC CPCREGO DC CPCREG6 DC CPCREG8 DC TIMEDISP DS ASVCLIST DC AVMALIST DC LASTUSER DC PAGECUR DS MONNEXT DS PAGEND DS PAGENXT DS TRACEFLG DS v (DMKRSPAC) A (0) A (0) V (DMKSYSLC) V (DMKSYSOP) V (DMKRIOCT) V (DMKRIOCH) V CD MKRIOCU) V (DMKRIODV) V (DMKRIOCC) V (DMKRIOUC) V (DMKRIODC) V (DMKSYSCS) A(X'FFFFFF') X'808008CO' F'O' F'O' IF V (DMKSVCNS) V (DMKPRVMA) V (DMKSYSVM) IF IF IF IF IF Field Descriptionr Contentsr Meaning Address of system accounting chain VMBLOK address of virtual=real user. Note that AVMREAL is maintained in both PSAs Address of system abend printer Address of SYSLOCS information Address of system operator VMBLOK Address of real channel index table Address of first ReHBLOK -Address of first RCUBLOK Address of first RDEVBLOK Address of count of real system channels Address of count of real system control units Address of count of real system devices Address of system CORTABLE Address of first pageable program CP architecture control and external mask CP assist and virtual machine assist mask MONITOR CALL enable mask Timer displacement for charge Address of CP assist pointer list Address of expanded virtual machine assist pointer list Last user to be dispatched Current monitor buffer page address. Note that PAGECUR is in absolute PSA. Next available address in monitor buffer. Note that MONNEXT is in absolute PSA. Last address in current monitor buffer page. Note that PAGEND is in absolute PSA. Alternate monitor buffer page address. Note that PAGENXT is in absolute PSA. Trace table flags ORG TRACEFLG 400 401 402 404 408 40A 40C TRACFLGl DS lX Bii2 defined TRACO 1 EQU TRAC02 EQU TRAC03 EQU TRAC04 EQU TRAC05 EQU TRAC67 EQU TRAC08 EQU TRAC09 EQU TRACFLG2 DS Bii2 TRACOA EQU TRACOC EQU TRACOD EQU TRACBEF EQU TRAC10 EQU TRACll EQU TRAC12 EQU TRAC13 EQU TRACFLG3 DS TTSEGCNT DS CSADDR DC PSARSV DS PSARSV1 DS in TRACFLGl --XIsO-'-- X'40' X'20' l' 10' X'08' 1'04' 1'02' X'Ol' lX in TRACFLG2 --X'80-'-- X'40' X'20' X' 10' X'08' X'04' X' 02' X'Ol' lH IF H' 0 ' H 1F Trace table flag External interrupt tracing on SVC interrupt tracing on Program interrupt tracing on Machine check tracing on I/O interrupt tracing on FREE/FRET call tracing on Enter dispatch tracing on Queue drop tracing on Trace table flag Run user tracing on Unstack I/O interrupt tracing on virtual CSW stored tracing on SIO r TIO r and HDV tracing on Unstack IOBLOK or TRQBLOK tracing on Trace BTU activity for 370x NCP Lock spin tracing active Signal processor tracing active Reserved for IBM use Count of total page/swap tables in system. Note that TTSEGCNT is in absolute PSA. P*7 Channel set address P*8 Reserved for IBM use Reserved for IBM use 74 IBM VM/370 Data Areas and Control Block Logic
Hexadecimal Field Displacement Name ------------ 410 ALOKFR DC 414 ALOKSY DC 418 PSARECP S DC 41C PSARSV15 DS 430 INSTWRD 1 DC Page of SY20-0884 .... 3 As Updated Aug. 1,1979 by TNL SN25-0497 PSA F'ield Description, Contents, Meaning -------------------------------------- V (DMKLOKFR) Attached processor free lockword address V (DMKLOKSY) Attached processor system lockword address F'O' Reserved for ECPS 5F Reserved for IBM use F'O' Reserved for installation use section 1. CP Data Areas and Control Blocks 74.1
Hexadecimal Displacement ------------ 348 348 349 34A 3lfB 34C 350 354 358 360 368 36C 36E 370 370 374 378 378 37A 37C 380 384 388 38C 390 394 398 39A Field Name CPSTAT DS ORG CPSTATUS DS Bits defined CPWAIT EQU CPRUN EQU CPEX EQU CPFVRUN EQU CPSUPER EQU XTNDLOCK DC CPSTAT2 DC gefined CPMICAVL EQU CPMICON EQU CPSHRLK EQU CPASTAVL EQU CPASTON EQU CPSTAT3 DS deli!led CPT IDLE EQU CPTPAGE EQU CPTIONT EQU CPRESTRT DS PGREAD DS PGWRITE DS PGWAITIM DS PGWAITPG DS PSASVCCT DS PAGELOAD DS PAGERATE DS PSENDCLR DS CPID DS CPABEND DS PSTARTSV DS SYSIPLDV DS PGSRATIO DC ASYSVM DC ARSPPR DC ARSPPU DC ARSPRD DC ARIOPU DC ARIOPR DC ARIORD DC IPUADDR DS PSAMSS DS 1F CPSTAT 1X in CP2TATUS X'80' X'40' X'20' X'10' X'08' 1X 1X 111 CP21ATl X'80' X'40' X'20' X'08' X'04' 1X in X'80' X'40' X'20' 1F 1F 1F 1D 1D 1F 1H 1H OF 1F 1F OF P*1 P*2 1H P*3 H'O' P*4 V (DMKSYSVM) v (DMKRSPPR) V (DMKRSPPU) V (DMKRSPRD) v (DMKRIOPU) v (DMKRIOPR) v (DMKRIORD) 1H P*5 1H P*6 Bits dei!!!ed in PSAMSS MSSPRES EQU --X'80-'-- Aug. 1, 1979 Field Description, Contents, Meaning CP running status CP running status CP in wait state CP running user in RUNUSER CP executing stacked request Reserved for IBM use Processor is executing in supervisor state PSA System extending free storage if it is equal to X'FP'. Note that XTNDLOCK is in absolute PSA. Flag byte Virtual machine assist available on processoc Virtual machine assist is on for system CP processing shared named system page CP assist available on processor CP assist is on for system wait time accounting flag Timer contains idle time Timer contains page wait time Timer contains I/O wait time Restart address if external interrupt marks page invalid Total number of page reads Total number of page writes Time spent in page wait, multiplied by numbec of pages waiting Reserved for IBM use Total number of user SVCs Page wait percent, last measurement Paging rate, pages per second Note that PAGERATE is in absolute PSA. End of area cleared by DMKCPINT CP running identifier. Note that CPID is in absolute PSA. CP abend code start of save/restored code Device address of system IPL device Page steals/total replenished Address of system VMBLOK Address of system printer file chain. Address of system punch file chain. Address of system reader file chain. Address of system punch table. Address of system printer table. Address of system reader table. Instruction processing address Address of MSS volume The MSS is online and the MSS communicator has been initialized section 1. CP Data Areas and Control Blocks 73
Page of SY20-0884-3 As Updated Aug. lr 1979 by TNL SN25-0497 PSA Hexadecimal Field Displacement Name 39C 3AO 3A4 3A8 3AC 380 3B4 3B8 3BC 3CO 3C4 3C8 3CC 3DO 3D4 3D8 3DC 3EO 3E4 3E8 3EC 3FO 3F4 3F8 3FC 400 ARSPAC DC AVMREAL DC ASYSABND DC ASYSLC DC ASYSOP DC ARIOCT DC ARIOCH DC ARIOCU DC ARIODV DC ARIOCC DC ARIoue DC ARIODC DC ACORETBL DC APAGCP DC CPCREGO DC CPCREG6 DC CPCREG8 DC TIMEDISP DS ASVCLIST DC AVMALIST DC LASTUSER DC PAGECUR DS MONNEXT DS PAGEND DS PAGENXT DS TRACEFLG DS v (DMKRSPAC) A (0) A (0) V (DMKSYSLC) V (DMKSYSOP) V (DMKRIOCT) V (DMKRIOCH) V CD MKRIOCU) V (DMKRIODV) V (DMKRIOCC) V (DMKRIOUC) V (DMKRIODC) V (DMKSYSCS) A(X'FFFFFF') X'808008CO' F'O' F'O' IF V (DMKSVCNS) V (DMKPRVMA) V (DMKSYSVM) IF IF IF IF IF Field Descriptionr Contentsr Meaning Address of system accounting chain VMBLOK address of virtual=real user. Note that AVMREAL is maintained in both PSAs Address of system abend printer Address of SYSLOCS information Address of system operator VMBLOK Address of real channel index table Address of first ReHBLOK -Address of first RCUBLOK Address of first RDEVBLOK Address of count of real system channels Address of count of real system control units Address of count of real system devices Address of system CORTABLE Address of first pageable program CP architecture control and external mask CP assist and virtual machine assist mask MONITOR CALL enable mask Timer displacement for charge Address of CP assist pointer list Address of expanded virtual machine assist pointer list Last user to be dispatched Current monitor buffer page address. Note that PAGECUR is in absolute PSA. Next available address in monitor buffer. Note that MONNEXT is in absolute PSA. Last address in current monitor buffer page. Note that PAGEND is in absolute PSA. Alternate monitor buffer page address. Note that PAGENXT is in absolute PSA. Trace table flags ORG TRACEFLG 400 401 402 404 408 40A 40C TRACFLGl DS lX Bii2 defined TRACO 1 EQU TRAC02 EQU TRAC03 EQU TRAC04 EQU TRAC05 EQU TRAC67 EQU TRAC08 EQU TRAC09 EQU TRACFLG2 DS Bii2 TRACOA EQU TRACOC EQU TRACOD EQU TRACBEF EQU TRAC10 EQU TRACll EQU TRAC12 EQU TRAC13 EQU TRACFLG3 DS TTSEGCNT DS CSADDR DC PSARSV DS PSARSV1 DS in TRACFLGl --XIsO-'-- X'40' X'20' l' 10' X'08' 1'04' 1'02' X'Ol' lX in TRACFLG2 --X'80-'-- X'40' X'20' X' 10' X'08' X'04' X' 02' X'Ol' lH IF H' 0 ' H 1F Trace table flag External interrupt tracing on SVC interrupt tracing on Program interrupt tracing on Machine check tracing on I/O interrupt tracing on FREE/FRET call tracing on Enter dispatch tracing on Queue drop tracing on Trace table flag Run user tracing on Unstack I/O interrupt tracing on virtual CSW stored tracing on SIO r TIO r and HDV tracing on Unstack IOBLOK or TRQBLOK tracing on Trace BTU activity for 370x NCP Lock spin tracing active Signal processor tracing active Reserved for IBM use Count of total page/swap tables in system. Note that TTSEGCNT is in absolute PSA. P*7 Channel set address P*8 Reserved for IBM use Reserved for IBM use 74 IBM VM/370 Data Areas and Control Block Logic
SY20-0884-3_Data_Areas_and_Control_Block_Logic_Update_Aug79.pdf
Page29(29 of 63)
Page of SY20-0884-3 As Updated Aug. 1, 1979 by TNL SN25-0497 PSA Hexadecimal Displacement ------------ 688 68C 690 694 696 698 69A 69A 69B 69C 69D 69E 69F 6AO 6A4 6A8 Field Name EMSPEND DC ]i!§ EMSPQUI EQU EMSPEXT EQU EMSPSYNC '1:'1"1" .LJ\lU EMSPSHD EQU EMSPCLKC EQU EMSINQSC EQU EMSREC DC Bi!§ defined EMSRQUI EQU EMSREXT EQU EMSRSYNC EQU EMSRSHD EQU EMSRCLKC EQU XCPEND DC Bi.i§ defined XCAPR EQU XCRES EQU XCWAK EQU XCDISP EQU IPUADDRX DC LPUADDR DC LPUADDRX DC APSTATUS DS ORG APSTAT1 DC Bit§ APUOPER EQU PROCIO EQU APUNONLN EQU MPFEAT EQU CSSFEAT EQU CPINITD EQU APSTAT2 DC ]i.i§ CPMCHLK EQU CPPTLBR EQU CPTERMLK DC CPFRELK DC FRLKPROC DC CPFRESW DC AMCHAREA DC SHRLKCNT DC PROBSTRT DS F'O' in EMSPENI! X'80' X'40' X'20' x' 10' X'08' X'01' F'O' in EMS,EEC X'80' X'40' X'20' x' 10' X'08' F'O' in X'80' X'40' X'20' x' 10' H'O' H'O' H'O' 6X APSTATUS X'OO' in APS1ATj X'80' X'40' X'20' x' 10' X'02' X'01' X'OO' in !RSTATl x' 10' X'02' X'OO' X'OO' X'OO' X'OO' F'O' F'O' 1D Field Description, Contents, Meaning Emergency signal pending flags Quiesce pending Extend pending Synchronization pending Shutdown pending High order TOD synchronization pending Processor is quiesced Emergency signal received flags Quiesce request received Extend request received Synchronization request received Shutdown request received High order TOD synchronization received External call pending flags Automatic processor recovery pending Resume request pending Wakeup request pending Dispatch request pending P*7 Processor address of other processor P*8 Logical address of this processor P*9 Logical address of other processor Attached processor status bytes Attached processor status Attached processor operational Processor has I/O capability System generated for attached processor mode but running in uniprocessor mode Multiprocessing feature is installed Channel set switching feature installed System initialization complete Second flag byte Machine check processing pending (for ECP S only) PTLB required for processor DMKMCT system termination is in progress. Note that CPTERMLK is in absolute PSA. Free storage extend pending. Note that CPFRELK is in absolute PSA. Logical processor identification for CPFRELK. Note that FRLKPROC is in absolute PSA. DMKFRE must transfer execution to the attached processor. Note that CPFRESW is in absolute PSA. Address of DMKMCH work area Count of times CPSHRLK is set (used to clear CPSHRLK) Virtual machine time out queue at dispatch 76 VM/370 Data Areas and Control Block Logic
Auge 1, 1979 RCHBLOK RCH..BLOK contains status and type information for the specified channel. The linkage to I/O tasks operated on by that channel and to the control units attached to that channel is also maintained. The ARIOCH field of the PSA points to the first RCHBLOK, which is generated in contiguous storage. 0 8 10 18 20 Hexadecimal Displacement ------------ 0 2 4 5 6 a C 10 11 12 13 14 18 1C 20 r- RCHADD I RCHLOCK R*1 R*2 RCHQCNT RCHFIOB RCHLIOB R*3 I R*4 I R*5 I R*6 RCHSTIDC BCHRSTQ RCHOPER L- Field Name RCHADD DS RCHLOCK DS RCHSTAT DS Bit.§ RCHBUSY EQU RCHSCED EQU RCHDED EQU RCHTYPE DS Bi.!:.§ RCHSEL EQU RCHBMX EQU RCHMPX EQU RCH370 EQU RCHQCNT DS RCHFIOB DS RCHLIOB DS RCHDTCK DS RCHCCCK DS RCHIFCC DS RCHCHCK DS RCHSTIDC DS RCHRSTQ DS RCHOPER DS RCHCUTBL DS RCHSIZE EQU RCHCUTBL (Variable Length) 1H 1H 1X .!n x'ao' X'40' X'01' 1X in RCHTYPE --XIaO-'-- X'40' X'20' X'01' 1H 1F 1F 1X 1X 1X 1X 1F 1F 1F 32H Field Description, Contents, Meaning Channel address Channel lock R*1 Channel status Channel busy lOB scheduled on channel Channel dedicated R*2 Channel type R*3 R*4 R*5 R*6 Selector channel Block multiplexer channel Bvte multiplexer channel Si370 type-channel (S/370 110 instruction support) Number of IOBLOKs queued off channel Pointer to first IOBLOK queued Pointer to last IOBLOK queued Channel data check count Channel control check count Interface control check count Channel chaining check count Result of STIDC instruction issued at CP initialization; if cc = 3, the content is X'FFFFFFFF' Address of channel to be restarted IOBLOK operational on channel time Control units attached - RCUSTART index (The index values must be by a and added to the beginning of the RDEVBLOK table (ARIODV).) (*-RCHBLOK}/8 RCHBLOK size in doublewords (X'OD') section 1. CP Data Areas and Control Blocks 81