Programming Interface Information:
This information is NOT intended to be
used as Programming Interfaces of z/VM.

PSD

Prolog  

Control Block Contents  
   PSD DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


PSD Prolog

 NAME       : STRUCPRA
 DSECT      : PSD
 DESCRIPTION: PSD -- header plus process management stuff

 

PSD Control Block Content


PSD DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      PSD            PSD -- header plus process
                                        management stuff
0000    0 Dbl-Word     8 * (0)
0000    0 Address      4 PSD_ABN_ANCH   Abend extension pointer
0004    4 Signed       4 PSD_ABN_LEN    Abend extension length
0008    8 Address      4 PSD_ACT_ANCH   Accounting extension pointer
000C   12 Signed       4 PSD_ACT_LEN    Accounting extension length
0010   16 Address      4 PSD_CPU_ANCH   CPU extension pointer
0014   20 Signed       4 PSD_CPU_LEN    CPU extension length
0018   24 Address      4 PSD_EVN_ANCH   Event extension pointer
001C   28 Signed       4 PSD_EVN_LEN    Event extension length
0020   32 Address      4 PSD_IPC_ANCH   IPC extension pointer
0024   36 Signed       4 PSD_IPC_LEN    IPC extension length
0028   40 Address      4 PSD_SYN_ANCH   Synchronization extension pointer
002C   44 Signed       4 PSD_SYN_LEN    Synchronization extension length
0030   48 Address      4 PSD_TRC_ANCH   Trace extension pointer
0034   52 Signed       4 PSD_TRC_LEN    Trace extension length
0038   56 Address      4 PSD_TMR_ANCH   Timer extension pointer
003C   60 Signed       4 PSD_TMR_LEN    Timer extension length
0040   64 Address      4 PSD_GUI_ANCH   GUI extension pointer
0044   68 Signed       4 PSD_GUI_LEN    GUI extension pointer
0048   72 Address      4 PSD_P09_ANCH   Unused extension pointer
004C   76 Signed       4 PSD_P09_LEN    Unused extension length
0050   80 Address      4 PSD_P10_ANCH   Unused extension pointer
0054   84 Signed       4 PSD_P10_LEN    Unused extension length
0058   88 Address      4 PSD_P11_ANCH   Unused extension pointer
005C   92 Signed       4 PSD_P11_LEN    Unused extension length
0060   96 Address      4 PSD_P12_ANCH   Unused extension pointer
0064  100 Signed       4 PSD_P12_LEN    Unused extension length
0068  104 Address      4 PSD_P13_ANCH   Unused extension pointer
006C  108 Signed       4 PSD_P13_LEN    Unused extension length
0070  112 Address      4 PSD_P14_ANCH   Unused extension pointer
0074  116 Signed       4 PSD_P14_LEN    Unused extension length
0078  120 Address      4 PSD_PARENTWAIT ptr to thread waiting for process
                                        to end
007C  124 Signed       4 PSD_HPQR       reserved
     Process management stuff
0080  128 Address      4 PSD_PARENT     Parent PSD
0084  132 Address      4 PSD_CHILIST    list of kids PSDs
0088  136 Address      4 PSD_SIBNEXT    next sibling
008C  140 Signed       4 PSD_NAML       name length
0090  144 Signed       4 PSD_PRCID      process ID
0094  148 Signed       4 PSD_CREID      creator ID
0098  152 Signed       4 PSD_NEXT_THDID next TID to use
009C  156 Signed       2 PSD_PROCPRIO   process priority
009E  158 Signed       2 PSD_FLAGS (0)  process flags
009E  158 Bitstring    1 PSD_FLAG0
          1... ....      PSD_PENDSIG    X'80' end is signalled
          .1.. ....      PSD_DEL        X'40' being deleted
          ..1. ....      PSD_CMDS       X'20' commands process
          ...1 ....      PSD_CCHILD     X'10' commands child
          .... 1...      PSD_POSIX      X'08' posix process
          .... .1..      PSD_EXB        X'04' posix exec process
          .... ..1.      PSD_SYSPROC    X'02' system process
          .... ...1      PSD_RMTTERM    X'01' resource managers done
009F  159 Bitstring    1 PSD_FLAG1      Reserved
          1... ....      PSD_NOKAT      X'80' no more kernel agent
          .1.. ....      PSD_KATAGAIN   X'40' KAT will check again
00A0  160 Signed       4 PSD_PTI        process table index
00A4  164 Signed       4 PSD_LASTTRC    last thread RC
00A8  168 Address      4 PSD_LANGANCH   language anchor
00AC  172 Address      4 PSD_DISPEXIT   language dispatcher exit ptr
00B0  176 Character  392 PSD_THDLIST    My threads (map to TSD structure)
0238  568 Address      4 PSD_CKPT_ANCH  checkpoint data anchor
023C  572 Signed       4 PSD_CHILDREN   number of children
0240  576 Address      4 PSD_DELTSD     deleting tsd
0244  580 Address      4 PSD_LMD        language manager descriptor
0248  584 Signed       4 PSD_ABNCODE    abend code
024C  588 Address      4 PSD_CURRSAVE   process currsave
0250  592 Signed       2 PSD_LANG_FUNC_VECTOR (0)
                                        Lang mgr EP's
0250  592 Signed       4 PSD_NUM_EP     Number of entries
0254  596 Address      4 PSD_BLOCK_EP   Lang Mgr Block EP
0258  600 Address      4 PSD_UNBLOCK_EP Lang Mgr Unblock EP
025C  604 Signed       4 PSD_KAT_TID    kernel agent thread TID
0260  608 Signed       4 PSD_KAT_SEMH   kernel agent thread sem handle
0264  612 Address      4 PSD_KAT_WORKLIST
                                        work list anchor
0268  616 Address      4 PSD_KAT_WORKLAST
                                        last item on list
026C  620 Signed       4 PSD_KAT_WORKLOCK
                                        lock for this stuff
     name must be last and on dword boundary psd_name Character(*)
0270  624 Dbl-Word     8 PSD_NAME (0)
          00000270       PSD_SIZE       *-PSD
     dispatch class descriptor

 

PSD Storage Layout

          
*** PSD - PSD -- header plus process management stuff
*
*     +---------------------------+---------------------------+
*   0 |       PSD_ABN_ANCH        |       PSD_ABN_LEN         |
*     +---------------------------+---------------------------+
*   8 |       PSD_ACT_ANCH        |       PSD_ACT_LEN         |
*     +---------------------------+---------------------------+
*  10 |       PSD_CPU_ANCH        |       PSD_CPU_LEN         |
*     +---------------------------+---------------------------+
*  18 |       PSD_EVN_ANCH        |       PSD_EVN_LEN         |
*     +---------------------------+---------------------------+
*  20 |       PSD_IPC_ANCH        |       PSD_IPC_LEN         |
*     +---------------------------+---------------------------+
*  28 |       PSD_SYN_ANCH        |       PSD_SYN_LEN         |
*     +---------------------------+---------------------------+
*  30 |       PSD_TRC_ANCH        |       PSD_TRC_LEN         |
*     +---------------------------+---------------------------+
*  38 |       PSD_TMR_ANCH        |       PSD_TMR_LEN         |
*     +---------------------------+---------------------------+
*  40 |       PSD_GUI_ANCH        |       PSD_GUI_LEN         |
*     +---------------------------+---------------------------+
*  48 |       PSD_P09_ANCH        |       PSD_P09_LEN         |
*     +---------------------------+---------------------------+
*  50 |       PSD_P10_ANCH        |       PSD_P10_LEN         |
*     +---------------------------+---------------------------+
*  58 |       PSD_P11_ANCH        |       PSD_P11_LEN         |
*     +---------------------------+---------------------------+
*  60 |       PSD_P12_ANCH        |       PSD_P12_LEN         |
*     +---------------------------+---------------------------+
*  68 |       PSD_P13_ANCH        |       PSD_P13_LEN         |
*     +---------------------------+---------------------------+
*  70 |       PSD_P14_ANCH        |       PSD_P14_LEN         |
*     +---------------------------+---------------------------+
*  78 |      PSD_PARENTWAIT       |         PSD_HPQR          |
*     +---------------------------+---------------------------+
*  80 |        PSD_PARENT         |       PSD_CHILIST         |
*     +---------------------------+---------------------------+
*  88 |       PSD_SIBNEXT         |         PSD_NAML          |
*     +---------------------------+---------------------------+
*  90 |        PSD_PRCID          |        PSD_CREID          |
*     +---------------------------+-------------+------+------+
*  98 |      PSD_NEXT_THDID       |PSD_PROCPRIO |(09E) |(09F) |
*     +---------------------------+-------------+------+------+
*  A0 |         PSD_PTI           |       PSD_LASTTRC         |
*     +---------------------------+---------------------------+
*  A8 |       PSD_LANGANCH        |       PSD_DISPEXIT        |
*     +---------------------------+---------------------------+
*  B0 |                                                       |
*     =                     PSD_THDLIST                       =
*     |                                                       |
*     +---------------------------+---------------------------+
* 238 |      PSD_CKPT_ANCH        |       PSD_CHILDREN        |
*     +---------------------------+---------------------------+
* 240 |        PSD_DELTSD         |         PSD_LMD           |
*     +---------------------------+---------------------------+
* 248 |       PSD_ABNCODE         |       PSD_CURRSAVE        |
*     +---------------------------+---------------------------+
* 250 |        PSD_NUM_EP         |       PSD_BLOCK_EP        |
*     +---------------------------+---------------------------+
* 258 |      PSD_UNBLOCK_EP       |       PSD_KAT_TID         |
*     +---------------------------+---------------------------+
* 260 |       PSD_KAT_SEMH        |     PSD_KAT_WORKLIST      |
*     +---------------------------+---------------------------+
* 268 |     PSD_KAT_WORKLAST      |     PSD_KAT_WORKLOCK      |
*     +---------------------------+---------------------------+
*
*** PSD - PSD -- header plus process management stuff

 

PSD Cross Reference

Symbol         Dspl Value
-------------- ---- -----
PSD_ABN_ANCH   0000
PSD_ABN_LEN    0004
PSD_ABNCODE    0248
PSD_ACT_ANCH   0008
PSD_ACT_LEN    000C
PSD_BLOCK_EP   0254
PSD_CCHILD     009E 10
PSD_CHILDREN   023C
PSD_CHILIST    0084
PSD_CKPT_ANCH  0238
PSD_CMDS       009E 20
PSD_CPU_ANCH   0010
PSD_CPU_LEN    0014
PSD_CREID      0094
PSD_CURRSAVE   024C
PSD_DEL        009E 40
PSD_DELTSD     0240
PSD_DISPEXIT   00AC
PSD_EVN_ANCH   0018
PSD_EVN_LEN    001C
PSD_EXB        009E 04
PSD_FLAGS      009E
PSD_FLAG0      009E
PSD_FLAG1      009F
PSD_GUI_ANCH   0040
PSD_GUI_LEN    0044
PSD_HPQR       007C
PSD_IPC_ANCH   0020
PSD_IPC_LEN    0024
PSD_KAT_SEMH   0260
PSD_KAT_TID    025C
PSD_KAT_WORKLAST
               0268
PSD_KAT_WORKLIST
               0264
PSD_KAT_WORKLOCK
               026C
PSD_KATAGAIN   009F 40
PSD_LANG_FUNC_VECTOR
               0250
PSD_LANGANCH   00A8
PSD_LASTTRC    00A4
PSD_LMD        0244
PSD_NAME       0270
PSD_NAML       008C
PSD_NEXT_THDID
               0098
PSD_NOKAT      009F 80
PSD_NUM_EP     0250
PSD_PARENT     0080
PSD_PARENTWAIT
               0078
PSD_PENDSIG    009E 80
PSD_POSIX      009E 08
PSD_PRCID      0090
PSD_PROCPRIO   009C
PSD_PTI        00A0
PSD_P09_ANCH   0048
PSD_P09_LEN    004C
PSD_P10_ANCH   0050
PSD_P10_LEN    0054
PSD_P11_ANCH   0058
PSD_P11_LEN    005C
PSD_P12_ANCH   0060
PSD_P12_LEN    0064
PSD_P13_ANCH   0068
PSD_P13_LEN    006C
PSD_P14_ANCH   0070
PSD_P14_LEN    0074
PSD_RMTTERM    009E 01
PSD_SIBNEXT    0088
PSD_SIZE       0270 00000270
PSD_SYN_ANCH   0028
PSD_SYN_LEN    002C
PSD_SYSPROC    009E 02
PSD_THDLIST    00B0
PSD_TMR_ANCH   0038
PSD_TMR_LEN    003C
PSD_TRC_ANCH   0030
PSD_TRC_LEN    0034
PSD_UNBLOCK_EP
               0258

This information is based on z/VM V4R3.0.
Last updated on 1 May 2002 at 14:29:21 EDT.
Copyright IBM Corporation, 1990, 2002