Table of Contents

DMKVIO Abstract

Statistics

Type ASSEMBLE
Source Lines : 921
Fixes Applied : 15
Most Recent Version : Thursday, December 7, 1978
Last Fix ID : [HRC013DK]

Synopsis

Module

       DMKVIO

Function

       TO RECORD AND TRANSLATE THE INTERRUPTS AND STATUS ASSOCIATED
       WITH VIRTUAL I/O OPERATIONS

Attributes

       REENTRANT, RESIDENT, ENTERED VIA GOTO FROM DMKDSP WHEN
       AN IOBLOK FOR A VIRTUAL INTERRUPT IS UNSTACKED

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, TCH, AND HIO, DESCRIBED IN
          SECTIONS A-D RESPECTIVELY

Calls to Other Routines

       DMKPTRAN - LOCATE THE USER'S PAGE 0
       DMKUNTFR - TO RETURN THE TRANSLATED CHANNEL PROGRAM TO FREE
                  STORAGE
       DMKFREE  - TO OBTAIN FREE STORAGE FOR IOBLOKS
       DMKFRET  - TO RETURN USED IOBLOKS TO FREE STORAGE
       DMKUNTRN - TO UNTRANSLATE THE REAL CSW ADDRESS ASSOCIATED WITH
                  A VIRTUAL INTERRUPT
       DMKDSPCH - EXIT VIA GOTO AFTER I/O IS SCHEDULED BY DMKIOSQV
       DMKSCNVU - LOCATE VIRTUAL CHANNEL, CU, AND DEVICE BLOKS
       DMKPTRUL - TO UNLOCK A PAGE
       DMKTRDWT - TO SYNCHRONIZE TRACE ACTIVITY
       DMKTRDSI - TO TRACE AN I/O OPERATION (SIO, TIO, HIO, OR TCH)
       DMKTRCSW - TO TRACE A CSW INTERRUPT
       DMKCCHRF - TO REFLECT CHANNEL ERROR TO VIRTUAL MACHINE