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

#### DCPU

Prolog

Control Block Contents
DCPU DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### DCPU Prolog

     NAME       : HCPDCPU
     DESCRIPTION: Directory CPU Block
     DSECT      : DCPU
     FUNCTION   : The DCPU block contains information derived from one
                  Directory CPU statement.
     LOCATED BY : DVMDCDAS (Directory DASD address)
                  DVMDCDSP (Offset within a page)
     CREATED BY : HCPDIR, HCPUDS
     DELETED BY : HCPLGN
     SERIALIZED : HCPDIR executes in the guest's virtual machine,
                  therefore, MP serialization does not apply there.
                  HCPUDS operates under the directory lock.
     NOTES      : The size of this block must ALWAYS be a doubleword multiple.
                  Entry point HCPUDSCP fills a buffer with these blocks.
                  In order for the caller of this entry point to use the DCPU
                  DSECT correctly, the blocks must be DW aligned. The logic
                  in HCPUDSCP and for the caller is simplified when this
                  constraint is followed.

#### DCPU Control Block Content

#### DCPU DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      DCPU           Directory CPU Block
    0000    0 Signed       4 DCPUDASD       DASD address of the next DCPU
                                            CCPV for CKD DASD addresses PPPV
                                            for FBA DASD addresses
    0004    4 Signed       2 DCPUDISP       offset to the next DCPU
    0006    6 Signed       2 DCPUADDR       CPU address. Valid range is 0-3F.
    0008    8 Bitstring    3 DCPUID         CPU ID. Becomes bits 8-31 of the
                                            response to the STIPD
                                            instruction.
    000B   11 Bitstring    1 DCPUFLGS       CPU definition flags.
              1... ....      DCPUVECT       X'80' ON if VECTOR specified.
              .1.. ....      DCPUNOVE       X'40' ON if NOVECTOR specified.
              ..1. ....      DCPUIDFL       X'20' ON if CPUID specified.
              ...1 ....      DCPUDED        X'10' ON if DEDICATE specified.
              .... 1...      DCPUNDED       X'08' ON if NODEDICATE specified.
              .... .1..      DCPUCRYP       X'04' ON if CRYPTO specified.
    000C   12 Signed       4 *              Reserved for future IBM use.
              00000002       DCPUSIZE       (*-DCPU+7)/8 DCPU block size in
                                            DW's.
              00000010       DCPULEN        (*-DCPU) DCPU block size in
                                            bytes.

#### DCPU Storage Layout

    *** DCPU - Directory CPU Block
    *
    *     +---------------------------+-------------+-------------+
    *   0 |         DCPUDASD          |  DCPUDISP   |  DCPUADDR   |
    *     +--------------------+------+-------------+-------------+
    *   8 |      DCPUID        |:UFLGS|///////////////////////////|
    *     +--------------------+------+---------------------------+
    *  10
    *
    *** DCPU - Directory CPU Block

#### DCPU Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    DCPUADDR       0006
    DCPUCRYP       000B 04
    DCPUDASD       0000
    DCPUDED        000B 10
    DCPUDISP       0004
    DCPUFLGS       000B
    DCPUID         0008
    DCPUIDFL       000B 20
    DCPULEN        000C 00000010
    DCPUNDED       000B 08
    DCPUNOVE       000B 40
    DCPUSIZE       000C 00000002
    DCPUVECT       000B 80

This information is based on z/VM V5R2.0. Last updated on 12 Apr 2006 at 16:48:04 EDT.
Copyright IBM Corporation, 1990, 2005