page of GC20-1807-7 As Updated April 1, 1981 by TNL GN25-0829 DIAGNOSE Code X'SC' does not write the message; it merely
rearranges the startinq pointer and length. ForeMS error messages, a
console write is performed following theDIAGNOSE unless Ry is returned
with a value ofO. DIAGNOSE Code X'60' -- Determining the Virtual Machine Storage Size Execution of DIAGNOSE Code X'60' allows a virtual machine to determine
its size.On return, the register specified as Rx contains the virtual
machine storage size.DIAGI\JOSE Code X'64' --Finding; Loading!' and
Purging a NamedSegment of DIAGNOSE Code X'64' controls the linkage of discontiguous
saved segments. The type of linkage that is performed depends upon the
function subcode in the register specified as Ry.Su bCQg! X'OO' X' 04' X' 08' X'OC' L01DSYS LOADSYS PURGESYS FINDSYS Function
Loads a named segment in shared mode
Loads a named segment in nonshared mode
Releases the named segment from virtual storage
Finds the starting address of the named segment
The register specified as Rx must contain the address of the name of
the segment. The segment name must be 8 bytes long, on a doublevord
boundary, left justified, and padded with blanks.When the LOADSYS diagnose function is executed, CP finds the system name
table entry for the segment and builds the necessary page and swap
tables (two sets one for each processor, when running in attached
processor mode).CP releases all the virtual pages of storage that are
to contain the named segment and then loads the segment in those virtual
pages.When the LOADSYS function is executed, CP expands the virtual
machine size dynamically, if necessary. CP also expands the segment
tables to match any expansion of virtual storage.When LOAD5YS executes successfully, the address of where
segmentwas loaded is returned in the register specified as
theLOA05Y5 function loads a segment in shared mode,
instruction and branch tracing if eitherwas active.
the named
Rx.When it resets
After aLOA05Y5 function executes, the storage occupied by the named
segment is addressable by the virtual machine, even if that storage isbeyond the storage defined for the virtual machine. However, any
storaqe beyond that defined for the virtual machine and below that
defined for the named segment is not addressable. Figure 24 shows the
virtual storage that is addressable before and after theLOAOSY5 function executes.
Part 2. Control Program (CP)201
rearranges the startinq pointer and length. For
console write is performed following the
with a value of
its size.
machine storage size.
Purging a Named
saved segments. The type of linkage that is performed depends upon the
function subcode in the register specified as Ry.
Loads a named segment in shared mode
Loads a named segment in nonshared mode
Releases the named segment from virtual storage
Finds the starting address of the named segment
The register specified as Rx must contain the address of the name of
the segment. The segment name must be 8 bytes long, on a doublevord
boundary, left justified, and padded with blanks.
table entry for the segment and builds the necessary page and swap
tables (two sets one for each processor, when running in attached
processor mode).
to contain the named segment and then loads the segment in those virtual
pages.
machine size dynamically, if necessary. CP also expands the segment
tables to match any expansion of virtual storage.
segment
the
instruction and branch tracing if either
the named
Rx.
After a
segment is addressable by the virtual machine, even if that storage is
storaqe beyond that defined for the virtual machine and below that
defined for the named segment is not addressable. Figure 24 shows the
virtual storage that is addressable before and after the
Part 2. Control Program (CP)