Type ASSEMBLE
Source Lines : 936
Fixes Applied : 21
Most Recent Version : Thursday, December 14, 1978
Last Fix ID : [R14370DK]
Module
DMKVSI
Function
TO SIMULATE THE OPERATION OF PRIVILEGED I/O INSTRUCTIONS ISSUED BY VIRTUAL MACHINES
Attributes
REENTRANT, RESIDENT, ENTERED VIA GOTO FROM DMKPRVLG FOR THE SIMULATION OF AN INSTRUCTION
Operation
1. SET CONDITION CODE IN VIRTUAL PSW TO ZERO 2. CALCULATE VIRTUAL UNIT ADDRESS USING REGISTER AND DISPLACE- MENT VALUES PASSED BY PRIVILEGED IN VMINST 3. CALL DMKSCNVU TO LOCATE VCHBLOK, VCUBLOK, AND VDEVBLOK, AND SAVE THE RESULTING CONDITION IN GPR0 4. BRANCH TO HANDLE SIO, TIO, AND TCH, DESCRIBED IN SECTIONS A-C RESPECTIVELY. 5. BRANCH TO DMKVSJ FOR SUBROUTINES AND EXIT PROCESSING AND TO SIMULATE HIO AND CLCH
Calls to Other Routines
DMKCCWTR - TO TRANSLATE THE USER'S CHANNEL PROGRAM DMKFREE - TO OBTAIN FREE STORAGE FOR IOBLOKS DMKFRET - TO RETURN USED IOBLOKS TO FREE STORAGE DMKIOSQV - TO SCHEDULE THE VIRTUAL OPERATION DMKVCAST - TO SIMULATE A START I/O TO A VIRTUAL CTCA DMKVCATS - TO SIMULATE A TEST I/O TO A VIRTUAL CTCA DMKSTKIO - TO STACK AN INTERRUPT DUE TO THE COMPLETION OF A VIRTUAL ENABLE CAUSED BY A HIO DMKDSPCH - EXIT VIA GOTO AFTER I/O IS SCHEDULED BY DMKIOSQV DMKVCNEX - EXIT VIA GOTO TO SIMULATE VIRTUAL 1052 CONSOLE DMKVSCVR - TO VERIFY THAT THE NOTRANS OPTION IS VALID DMKVSPTO - TO SIMULATE A TIO TO A UNIT RECORD INPUT DEVICE DMKSCHDL - TO DROP A USER FROM Q DMKVIOC1 - TO REFLECT CONDITION CODE 1 CSW STATUS DMKVIOIN - IOB INTERRUPT RETURN ADDRESS (IOBIRA) DMKVSJEX - TO HANDLE HIO AND CLCH AND SUBROUTINES