BPESVC macro - is type 3, gets no lock.
Calls module BPESVC00, entry point BPESVC00.
GTF data is:
- R15
- For all function codes except 3: No applicable data. For function
code 3: Address of name of requested function.
- R0
- Function code:
- Code
- Meaning
- 0
- Query function status.
- 1
- Register named function.
- 2
- Deregister named function.
- 3
- Call named function.
- 4
- Termination cleanup.
- R1
- Address of parameter list.
- PLIST
- The size of the parameter list depends on the function; format
is:
Function code 0 (Query function status):
- Bytes
- 0-3
- Parmlist version number.
- 4-7
- Function name address.
- 8-11
- Address of word to receive function routine address.
- 12-15
- Address of word to receive function routine length.
- 16-19
- Address of word to receive function routine version.
- 20-23
- Address of 8-byte area to receive owning address space STOKEN.
Function code 1 (Register named function):
- Bytes
- 0-3
- Parmlist version number.
- 4-7
- Function name address.
- 8-11
- Function routine address.
- 12-15
- Function routine length.
- 16-19
- Function routine version.
- 20-23
- Pointer to 8-byte parameter area, a copy of which will be passed
to the function routine.
- 24
- Option byte 1; bits are as follows:
|
|
|
0000 |
0000 |
Never replace function module. |
0000 |
0001 |
Replace if new version higher than old version. |
0000 |
0010 |
Always replace function module. |
- 25
- Option byte 2; bits are as follows:
|
|
|
1... |
.... |
Function caller must be supervisor state/key 0-7. |
.1.. |
.... |
Function provider is in a BPE environment. |
..1. |
.... |
Cleanup function at provider termination. |
...1 |
.... |
Delete function module at cleanup/deregistration. |
.... |
xxxx |
Reserved, must be 0. |
- 26
- Reserved, must be 0.
- 27
- Bits
|
|
|
0xxx |
.... |
PSW execution key (0-7) of function module. |
.... |
xxxx |
Reserved, must be 0. |
Function code 2 (Deregister named function):
- Bytes
- 0-3
- Parmlist version number.
- 4-7
- Function name address.
Function code 3 (Call named function):
- R1
- Pointer to the parmlist for the specific named function being
called.
Function code 4 (Termination cleanup):
- Bytes
- 0-3
- Parmlist version number.
- 4-7
- Address of STOKEN of terminating address space.