svc Interruption ihen an SVC interruption occurs, the SVC interruption routine (DftKSVCII) is entered. If the machine is in the problea state, D!KSVCIN takes the
following action:• If the interruption was the result of an ADSTOP (SVC code X'B3'), the message ADSTOP AT XXXXX is sent to the user's terminal, the overlaid
instruction is replaced, and the virtual aachine is placed in console
functionmode (CP mode) via DMKCFMBK. • If the interruption was the result of an error recording interface (SVC 76), DMKSVC checks for valid paraaeters and passes control to DMKVER to convert virtual device addresses in the error record to
real device addresses. The actual recording is accoaplished inDMKIOE and D!KIOF. If recording is not possible, the interrupt is
reflected back to the virtual aachine.• !f th@ vir+nal .acbine's paqe 0 was not in real storage, then all
general and are saved, the user's VftBLOK is
flagged as being in an instruction wait, and control is transferred
(viaGOTO) to D!KPRGRF to reflect the interruption to the virtual machine. • If the virtual machine's page 0 is in aain storage, an appropriate SVC old PSi is stored in the user's page 0 and the interruption is
reflected to the virtualmachine, bypassing unnecessary register
saving (fast reflection). If the new virtualPSi indicates a .ode or
enableaent change, all registers are saved in theVftBLOK and control
is transferred toDMKDSPB for PSi validation.
If the aachine is in the supervisor state, theSVC interruption code
is deterained and a branch is taken to the appropriateSVC interruption
handler.SVC 0 Iapossible condition or terminal error. The SVCDIE routine initiates an
abnoraal teraination by using theD!KD!PDK routine. SVC 4 ReServed for IB! use. SVC 8 request that transfers control froa the calling routine to the
routine specified by register 15. TheSVCLIIK routine sets up a nev
save area, and then saves the caller's base register in register 12 and
save area address in register 13, and the return address (froa theSVCOPSi) in the new save area. If the called routine is within the
residentCP nucleus, SVCLINK places its address in register 12 and
branches directly to the called routine. If the called routine is in a
pageable aodule, aTRANS aacro is perforaed for register 12 to ensure
that the page containing the called routine is in storage.Upon return froa the TRANS execution, the real address of the pageable routine is
placed in register 12 andSVCLINK branches to the called routine. The
real storage location ofD!KCPE is the end of the resident CP nucleus.
Any aodules loaded at a higher real storage address are defined as
pageablemodules. If bit zero of register 15 is on when DBKSVC is
entered, then the caller has requestedAFFINITY. DBKSVC turns on a bit
in the save area passed to the caller to indicate that control is to be
returned to the caller on thesaae processor on which it was running
before issuing theSVC. It is not ensured that control viII be retained by the initiating processor throughout the called operation, but only
that final return will occur on the initiating processor.1-74 IBM VM/310 Systea Logic and Problea Deteraination--Voluae 1
following action:
instruction is replaced, and the virtual aachine is placed in console
function
real device addresses. The actual recording is accoaplished in
reflected back to the virtual aachine.
general and
flagged as being in an instruction wait, and control is transferred
(via
reflected to the virtual
saving (fast reflection). If the new virtual
enableaent change, all registers are saved in the
is transferred to
If the aachine is in the supervisor state, the
is deterained and a branch is taken to the appropriate
handler.
abnoraal teraination by using the
routine specified by register 15. The
save area, and then saves the caller's base register in register 12 and
save area address in register 13, and the return address (froa the
resident
branches directly to the called routine. If the called routine is in a
pageable aodule, a
that the page containing the called routine is in storage.
placed in register 12 and
real storage location of
Any aodules loaded at a higher real storage address are defined as
pageable
entered, then the caller has requested
in the save area passed to the caller to indicate that control is to be
returned to the caller on the
before issuing the
that final return will occur on the initiating processor.