Parameters
Register 1 contains the address of a parameter list, which consists of a list of addresses. Each address in the parameter list points to a parameter. All parameters are passed on the call. The high-order bit of the last address in the parameter list must be set to 1 to indicate the end of the parameter list. Table 1 describes the parameters for the storage management routine.
| Parameter | Number of bytes | Description |
|---|---|---|
| Parameter 1 | 8 | The function to be performed. The name is left
justified, in uppercase, and padded to the right with blanks. The
following functions are valid:
|
| Parameter 2 | 4 | Specifies the address of a storage pool. This
parameter is required as an input parameter for the FREE function.
It specifies the address of the storage pool the routine should free.
This parameter is used as an output parameter for the GET and GETLOW functions. The parameter specifies the address of the storage pool the routine obtained. |
| Parameter 3 | 4 | Specifies the size of the storage pool, in bytes,
to be freed or that was obtained. On input for the FREE function,
this specifies the size of the storage pool to be freed. This is
the size of the storage pool pointed to by parameter 2. All requests
for the FREE function will be for a single storage pool that was previously
obtained using either GET or GETLOW.
On output for the GET and GETLOW functions, the parameter specifies the size of the storage pool the routine obtained. The size obtained must be at least the size that was requested in parameter 4. The TSO/E storage routines will use the size returned in parameter 3. |
| Parameter 4 | 4 | Specifies the size of the storage pool, in bytes,
to be obtained. This parameter is used as an input parameter for
the GET and GETLOW functions. It specifies the size of the storage
pool that is being requested. The size of the storage pool that is
actually obtained is returned in parameter 3.
This parameter is not used for the FREE function. |
| Parameter 5 | 4 | Specifies the subpool number from which the storage pool should be obtained. This parameter is used as input for all functions. |