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

#### AFFBK

Prolog

Control Block Contents
AFFBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### AFFBK Prolog

     Name       : HCPAFFBK
     Description: AFFinity management control BlocK
     DSECT      : AFFBK
     Function   : The AFFBK maps the storage in HCPRCC starting at
                  label HCPRCCAF, extending for the length of this
                  block.  When the AFFBK is copied via the 'COPY'
                  psuedo-op into any module other than HCPRCC, it will
                  generate a DSECT.  When copied in HCPRCC, however,
                  it will generate code to actually define the fields.
                  The AFFBK is used by the processor feature affinity
                  management routines as an area to do bookkeeping
                  and recording.
     Located by : HCPRCCAF is the address of the start of the block.
     Created by : The block is DCed in module HCPRCC.
     Deleted by : Never deleted
     Serialized : Alterations and references to the AFFBK are
                  serialized by the Scheduler Lock.

#### AFFBK Control Block Content

#### AFFBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      AFFBK          AFFinity management control BlocK
                                      workarea.
    0000    0 Signed       4 AFFPFTR (64)   Processor features A data area
                                            containing a fullword for each
                                            processor (indexed by PFXINDEX,
                                            or VMDHPLDV/2**6) describing the
                                            features available on each
                                            processor.
              00000100       AFFALEN        *-AFFBK Length in bytes of
                                            affinity area
          The following fields are used together as a table that may
          be indexed by processor type (VMDDSPTY).  They must remain
          contiguous
    0100  256 Signed       2 AFFFTTBL (0)   Feature table of processor types
    0100  256 Address      4 *              Feature for type CP
    0104  260 Address      4 *              Not used
    0108  264 Address      4 *              Feature for type zAAP
    010C  268 Address      4 *              Feature for type IFL
    0110  272 Address      4 *              Feature for type ICF
    0114  276 Address      4 *              Feature for type zIIP
          END OF AFFFTTBL TABLE
              00000118       AFFLEN         *-AFFBK Length in bytes of the
                                            AFFBK
              00000023       AFFSIZE        (AFFLEN+7)/8 Size in doublewords
                                            of the AFFBK

#### AFFBK Storage Layout

    *** AFFBK - AFFinity management control BlocK
    *
    *     +-------------------------------------------------------+
    *   0 |                                                       |
    *     =                       AFFPFTR                         =
    *     |                                                       |
    *     +---------------------------+---------------------------+
    * 100 |///////////////////////////|///////////////////////////|
    *     +---------------------------+---------------------------+
    * 108 |///////////////////////////|///////////////////////////|
    *     +---------------------------+---------------------------+
    * 110 |///////////////////////////|///////////////////////////|
    *     +---------------------------+---------------------------+
    * 118
    *
    *** AFFBK - AFFinity management control BlocK

#### AFFBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    AFFALEN        0000 00000100
    AFFFTTBL       0100
    AFFLEN         0114 00000118
    AFFPFTR        0000
    AFFSIZE        0114 00000023

This information is based on z/VM V6R1.0. Last updated on 18 Feb 2010 at 08:22:51 EDT.
Copyright IBM Corporation, 1990, 2008