CP .Initiated Requests
When a virtual machine wishes to terminate a communications path, it invokes theSEVER function via the IUCV macro. The communication processor receives con
trol from theSEVER function, gathers the external interrupt information, and
determines which service was connected. The communication processor locates theSEVER entry point for that service and, using CALL linkage, passes control to it.
TheSEVER entry point for that CP system service then inspects the external inter
rupt data. The CP system service module issues aSEVER if the connection was
complete. When the CP service module finishes processing, it issues an EXIT(SVC 12) to return control to the communication processor.
If a virtual machine wishes to quiesce a communications path, it invokes the QUIESCE function of the IUCV macro. The communications processor receives con
trol from theQUIESCE function, gathers the external interrupt information, and
determines which service was connected. The communications processor locates
theQUIESCE entry point for that service and, using CALL linkage, passes control
to it.
TheQUIESCE entry point for the CP system service then inspects the external
interrupt data. The CP service records the fact that the path has been quiesced.
When the CP service module has finished processing, it issues an EXIT(SVC 12)
to return control to the communication processor.
After invokingQUIESCE for a path, the virtual machine may eventually invoke the RESUME function for the path.
The communication processor receives control from theRESUME function, gath
ers the external interrupt information, and determines which service was connected.
The communication processor locates theRESUME entry point for that service
and, using CALL linkage, passes control to it.
TheRESUME entry point for that CP system service then inspects the external
interrupt data. The CP service records the fact that the path has been RESUMEd.
When the CP service module has finished processing, it issues an EXIT(SVC 12)
to return control to the communication processor.
When a CP module initiates aCONNECT or SEND to a virtual machine, it must
do the following:
Get storage (via DMKFREE) in which to build anIXBLOK. • Build the parameter list in the IXBLOK for the function that it wishes to
invoke.• Store the general registers in the IXBLOK. Store the address of the routine that gets control when a connection completes
or when a reply is received. The CP modulemust store the routine's address in
the"interrupt return address" field of the IXBLOK (label IXlRA).
Invoke theCONNECT or SEND function via the IUCV macro, specifying
CP=YES and specifying the address of the IXBLOK or the PRMLIST =parameter.
Inter-User Communications Vehicle 141
When a virtual machine wishes to terminate a communications path, it invokes the
trol from the
determines which service was connected. The communication processor locates the
The
rupt data. The CP system service module issues a
complete. When the CP service module finishes processing, it issues an EXIT
If a virtual machine wishes to quiesce a communications path, it invokes the QUI
trol from the
determines which service was connected. The communications processor locates
the
to it.
The
interrupt data. The CP service records the fact that the path has been quiesced.
When the CP service module has finished processing, it issues an EXIT
to return control to the communication processor.
After invoking
The communication processor receives control from the
ers the external interrupt information, and determines which service was connected.
The communication processor locates the
and, using CALL linkage, passes control to it.
The
interrupt data. The CP service records the fact that the path has been RESUMEd.
When the CP service module has finished processing, it issues an EXIT
to return control to the communication processor.
When a CP module initiates a
do the following:
Get storage (via DMKFREE) in which to build an
invoke.
or when a reply is received. The CP module
the
Invoke the
CP=
Inter-User Communications Vehicle 141