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

KDSA

Prolog  

Control Block Contents  
   KDSA DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


KDSA Prolog

 NAME       : STRUCPRA
 DSECT      : KDSA
 DESCRIPTION: A Kernel DSA

 

KDSA Control Block Content


KDSA DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      KDSA           A Kernel DSA
0000    0 Signed       4 * (0)
0000    0 Address      4 KSA_CHAIN      not used
0004    4 Address      4 KSA_BWD        previous KDSA
0008    8 Address      4 KSA_FWD        next KDSA
000C   12 Address      4 KSA_R14        Reg 14
0010   16 Address      4 KSA_R15        Reg 15
0014   20 Address      4 KSA_R0         Reg 0
0018   24 Address      4 KSA_R1         Reg 1
001C   28 Address      4 KSA_R2         Reg 2
0020   32 Address      4 KSA_R3         Reg 3
0024   36 Address      4 KSA_R4         Reg 4
0028   40 Address      4 KSA_R5         Reg 5
002C   44 Address      4 KSA_R6         Reg 6
0030   48 Address      4 KSA_R7         Reg 7
0034   52 Address      4 KSA_R8         Reg 8
0038   56 Address      4 KSA_R9         Reg 9
003C   60 Address      4 KSA_R10        Reg 10
0040   64 Address      4 KSA_R11        Reg 11
0044   68 Address      4 KSA_R12        Reg 12
0048   72 Address      4 KSA_APPLR13    application R13
004C   76 Character    8 KSA_INTMASK    application interrupt mask
004C   76 Character    4 *              1st half of PSW
0050   80 Character    4 KSA_PSWADDR    PSW address
0054   84 Address      4 KSA_NAB        NAB this frame
0058   88 Signed       4 KSA_FLAGS (0)  flags
0058   88 Bitstring    1 KSA_FLAG0
          1... ....      KSA_KERNEL_ACTIVE
                                        X'80' KSA_KERNEL_ACTIVE Are we in
                                        the kernel
0059   89 Bitstring    1 KSA_FLAG1      reserved
005A   90 Bitstring    1 KSA_FLAG2      reserved
005B   91 Bitstring    1 KSA_FLAG3      reserved
005C   92 Character   28 *              Reserved to 120
          00000078       KSA_SIZE       *-KDSA
          structure for anchor manip in nucon

 

KDSA Storage Layout

          
*** KDSA - A Kernel DSA
*
*     +---------------------------+---------------------------+
*   0 |        KSA_CHAIN          |         KSA_BWD           |
*     +---------------------------+---------------------------+
*   8 |         KSA_FWD           |         KSA_R14           |
*     +---------------------------+---------------------------+
*  10 |         KSA_R15           |          KSA_R0           |
*     +---------------------------+---------------------------+
*  18 |          KSA_R1           |          KSA_R2           |
*     +---------------------------+---------------------------+
*  20 |          KSA_R3           |          KSA_R4           |
*     +---------------------------+---------------------------+
*  28 |          KSA_R5           |          KSA_R6           |
*     +---------------------------+---------------------------+
*  30 |          KSA_R7           |          KSA_R8           |
*     +---------------------------+---------------------------+
*  38 |          KSA_R9           |         KSA_R10           |
*     +---------------------------+---------------------------+
*  40 |         KSA_R11           |         KSA_R12           |
*     +---------------------------+---------------------------+
*  48 |       KSA_APPLR13         |       KSA_INTMASK-        |
*     +---------------------------+---------------------------+
*  50 |          -(04C)           | 54
*     +---------------------------+
*
*** KDSA - A Kernel DSA
          
*** Overlay for KSA_INTMASK in KDSA
*
*                                 +---------------------------+
*  48 ...                      4C |///////////////////////////|
*     +---------------------------+---------------------------+
*  50 |       KSA_PSWADDR         |         KSA_NAB           |
*     +------+------+------+------+---------------------------+
*  58 |(058) |(059) |(05A) |(05B) |///////////////////////////|
*     +------+------+------+------+///////////////////////////|
*  60 |///////////////////////////////////////////////////////|
*     =///////////////////////////////////////////////////////=
*     |///////////////////////////////////////////////////////|
*     +-------------------------------------------------------+
*  78
*
*** Overlay for KSA_INTMASK in KDSA

 

KDSA Cross Reference

Symbol         Dspl Value
-------------- ---- -----
KSA_APPLR13    0048
KSA_BWD        0004
KSA_CHAIN      0000
KSA_FLAGS      0058
KSA_FLAG0      0058
KSA_FLAG1      0059
KSA_FLAG2      005A
KSA_FLAG3      005B
KSA_FWD        0008
KSA_INTMASK    004C
KSA_KERNEL_ACTIVE
               0058 80
KSA_NAB        0054
KSA_PSWADDR    0050
KSA_R0         0014
KSA_R1         0018
KSA_R10        003C
KSA_R11        0040
KSA_R12        0044
KSA_R14        000C
KSA_R15        0010
KSA_R2         001C
KSA_R3         0020
KSA_R4         0024
KSA_R5         0028
KSA_R6         002C
KSA_R7         0030
KSA_R8         0034
KSA_R9         0038
KSA_SIZE       005C 00000078

This information is based on z/VM V6R1.0.
Last updated on 23 Oct 2009 at 11:03:25 EDT.
Copyright IBM Corporation, 1990, 2008