Functional Information
TheRSCS virtual machine performs certain basic functions as it manages
the transmission offiles between the host VM/370 and remote locations.
These functions include:• Virtual storage management • File management • Task-to-task communication • RSCS command processing • RSCS message handling • Interrupticn handling
Virtual Storage Management
TheRSCS supervisor controls virtual storage in blocks of either 4096 bytes (page size) or in 16-byte queue elements. Tasks running under the
supervisor obtain their working storage area in page size blocks and
then allocate variable size blocks as their functions require.PAGE ALLOCATION Page allocation is performed by the supervisor service routine, DMTSTC. A storage allocation map, 256 bytes in length, is located in the
supervisor area and is pointed to byMAINMAP in the DMTVEC data area.
Each byte represents apage of virtual storage and contains X'OO' if the
page is free.MAINSIZE, also in DMTVEC, contains the total number of
pages defined for the particularRSCS virtual machine. When a task requires a page of storage, it first searches the storage
allocationmaF for a free page (X' 00') • The page number is plac,ed in register 1 and a call to DMTSTO reserves the page. replaces the
storagemap byte with the one-byte TASKID assigned to the calling task
by the supervisor. To release storage, a task has only to clear the
appropriate bytes in the storage map.QUEUE ELEMENT MANAGEMENT with the exception of a few words of low address storage by the
dispatcher, the rest ofthe supervisor status information is stored in
chains of 16-byte queue elements managed byDMTQRQ. The first extent of
these queues is inthe supervisor and occupies the area between the main
storage allocation map andDMTEXT. A supervisor queue extension area,
one page in length,lS located de X!1COO!. Queue elements are dequeued
from the free element queue pointed to by FREEQ inDMTVEC and enqueued
on one ofthe active queues (TASKQ, MPXIOQ, SELIOQ, IOEXTQ, EXTe, ALERTQ, or GIVEQ). When the queue element is released, it is returned
to the free element queue.
Part 4. RemoteSpooling Communications Subsystem (RSCS) 335
The
the transmission of
These functions include:
Virtual Storage Management
The
supervisor obtain their working storage area in page size blocks and
then allocate variable size blocks as their functions require.
supervisor area and is pointed to by
Each byte represents a
page is free.
pages defined for the particular
allocation
storage
by the supervisor. To release storage, a task has only to clear the
appropriate bytes in the storage map.
dispatcher, the rest of
chains of 16-byte queue elements managed by
these queues is in
storage allocation map and
one page in length,
from the free element queue pointed to by FREEQ in
on one of
to the free element queue.
Part 4. Remote