SY20-0886-1_VM370_Rel_6_Vol_1_Mar79.pdf
Page34(34 of 455)
.... I .... N IoQ 0 g .., (1) ..,.J tJI III ... III "0 '" PI W IoQ .....a .... 0 IoQ en "cS en c+ (D • I:"" 0 IoQ .... n PI "0 t1 0 t.7" ..... (D • t::t (D c+ (D t1 • .... t:f I» c+ .... 0 I I ... 0 ..... d • (1) .... INPUT------------------------__ GR 2 REOUEST GPRl CORTABLE I Virtual Address PAGTABLE PAGCORE real page address INPUT ------- __ PAGING DEVICE tit Bits defined for CORFLAG CORIOLCK EOU X'SO' Page locked for 1/0 CORCFLCK EOU X'40' Page locked by console function CORFLUSH EOU X'20' Page is in flush list CORFREE EOU X'10' Page is in free list CORSHARE EOU X'OS' Page is shared CORRSV EOU X'04' Page is reserved CORDISA EOU X'01' Page disabled - not available • Request For Real Storage ....-------- .. ----- PROCI:SS ------, «It Bits defined for SWPFLAG - SWPTRANS EOU X'80' SWPRECMP EOU X'40' SWPALLOC EOU X'20' SWPSHR EOU X'10' SWPREFl EOU X'OS' SWPCHGl EOU X '04' SWPREF2 EOU X'02' SWPCHG2 EOU X'01' Translate address Is requested page already in sto, age? • i Determine page selection ,---- __ Is page available from lists? {ES • i YES OUTPUT--------, PAGING DEVICE Rei ease pages Allocate DASD space =====1:==:;:==:=::::':: Schedu Ie page 1/0 Mark page free Lock - if requested Form address GR 2 Real Address Return to requester ................ RITURN Page in transit Page permanently assigned Page enqueued for allocation Page shared lst half page referenced 1st half page changed 2nd half page referenced 2nd half page changed
w .. SIO From Virtual Machine! DMKVSP INpUT-----------------, GR2 Virtual CAW ___ Virtual Storage VOEVBLOK VOEVSPL VOEVCSW If spool file not open, create VSPLCTL get virtual buffer save data in VSPLCTL If Printer" Punch, or Console fa get a work buffer get virtual CCW move logical record (CCW and data) from spool buffer to work buffer move data to user's data area post 'interrupt' pending and return to virtual machine If a Card Reader get a work buffer get virtual CCW move logical record (CCW and data) from spool buffer to work buffer move data to virtual data area post 'interrupt' pending and return to virtual machine. r-------------------------------------.-----------------------------, Virtual console spooling is the same as printer spooling except that: • A skip to channel one CCW is inserted every 60 lines of output • The operator's virtual console spool buffer is written for every 161ines of output • The Virtual spool buffer is written.to the allocated spool device when the first CCW is placed in the Virtual buffer. The buffer is kept in a pseudo closed state so that checkpoint saves the buffer in the event of a system failure. OUTPUT -------------""1 Real Storage WORK Free Storage Area User's virtual machine