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

#### CPUBK

Prolog

Control Block Contents
CPUBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### CPUBK Prolog

     NAME       : HCPCPUBK
     DESCRIPTION: CPU DATA BLOCK
     DSECT      : CPUBK
     FUNCTION   : THE CPUBK CONTAINS INFORMATION ABOUT SPECIFIED
                  VIRTUAL CPUS IN A CP COMMAND LINE.
     LOCATED BY : CPUBNXT CHAINED, CPABCUR (CPABK)
     CREATED BY : HCPCPU
     DELETED BY : HCPCPU

#### CPUBK Control Block Content

#### CPUBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      CPUBK          CPU DATA BLOCK
    0000    0 Address      4 CPUBNXT        POINTER TO NEXT CPUBLOK
    0004    4 Signed       4 *              RESERVED FOR IBM USE 16 DOUBLE
                                            WORDS FOR CPU ENTRIES
              00000008       CPUHDRLN       *-CPUBK LENGTH OF CPUBK HEADER
    0008    8 Signed       2 CPUENTRY (0)   MAP OF THE ENTRIES IN CPUBK
    0008    8 Dbl-Word     8 * (16)         16 ENTRIES IN EACH CPUBK
    0008    8 Bitstring    1 CPUEFLAG       CPUBK ENTRY FLAGS
              1... ....      CPUEXIST       X'80' FLAGS IF VMDBK EXIST FOR
                                            CPU
              .1.. ....      CPUETYMP       X'40' MP TYPE ADJUNCT VMDBK
                                            (VMDTYPMP)
              ..1. ....      CPUETYUS       X'20' BASE TYPE VMDBK (VMDTYPUS)
              ...1 ....      CPUELAST       X'10' LAST ENTRY IN THIS BLOCK
    0009    9 Bitstring    1 *              RESERVED FOR IBM USE
    000A   10 Signed       2 CPUECPUA       THE CPU ADDRESS
    000C   12 Address      4 CPUEVMDA       ADDRESS OF THIS CPU'S VMDBK IF IT
                                            EXISTS
              00000008       CPUENTLN       *-CPUENTRY LENGTH OF THE DATA IN
                                            CPUBK
              00000088       CPULEN         *-CPUBK LENGTH OF CPUBK
              00000011       CPUSIZE        (CPULEN+7)/8 SIZE OF CPUBK
                                            (DOUBLEWORDS)

#### CPUBK Storage Layout

    *** CPUBK - CPU DATA BLOCK
    *
    *     +---------------------------+---------------------------+
    *   0 |         CPUBNXT           |///////////////////////////|
    *     +---------------------------+---------------------------+
    *   8 |///////////////////////////////////////////////////////|
    *     =///////////////////////////////////////////////////////=
    *     |///////////////////////////////////////////////////////|
    *     +-------------------------------------------------------+
    *  88
    *
    *** CPUBK - CPU DATA BLOCK

    *** Overlay for CPUENTRY in CPUBK
    *
    *     +------+------+-------------+---------------------------+
    *   8 |:EFLAG|//////|  CPUECPUA   |         CPUEVMDA          |
    *     +------+------+-------------+---------------------------+
    *  10
    *
    *** Overlay for CPUENTRY in CPUBK

#### CPUBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    CPUBNXT        0000
    CPUECPUA       000A
    CPUEFLAG       0008
    CPUELAST       0008 10
    CPUENTLN       000C 00000008
    CPUENTRY       0008
    CPUETYMP       0008 40
    CPUETYUS       0008 20
    CPUEVMDA       000C
    CPUEXIST       0008 80
    CPUHDRLN       0004 00000008
    CPULEN         000C 00000088
    CPUSIZE        000C 00000011

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