SVC 40 (0A28)

EXTRACT macro - is type 3, gets LOCAL lock.

Calls module IEAVTB00, entry point IGC00040.

GTF data is:
R15 and R0
No applicable data.
R1
Address of the parameter list.
PLIST
12 bytes long; format is:
Bytes
Contents
0
Reserved; should be zeros.
1-3
Address of the list area in which the extracted information will be stored.
4
Reserved; should be zeros.
5-7
Address of the TCB from which the EXTRACT will get requested information. Zeros indicate that the EXTRACT will get information from the current TCB and/or its related control blocks.
8
Flag bytes that indicates the fields to be extracted:
Bits    Comments
1... .... Address of the general register save area.
.1.. .... Address of the floating point register save area.
..0. .... Reserved.
...1 .... Address of the end-of-task exit routine.
.... 1... Limit priority and dispatching priority.
.... .1.. Task completion code.
.... ..1. Address of the TIOT.
.... ...1 Address of the command scheduler communication list in the CSCB.
9
Flag Byte 2
Bits   Comments 
1... .... Address of a byte. If the high order bit is 1, it indicates a TS address space.
.1.. .... Address of the protected storage control block.
..1. .... ASID (only if a TS address space). Where AUTH ONLY is indicated, the parameter is valid only for an authorized task-authorized by system key, supervisor state, or APF authorized. If the attaching task is not authorized, the parameter is ignored.
...1 .... ASID.
.... xxxx Reserved.
10-11
Reserved should be zeros.