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 (31)   Processor features A data area
                                            containing a fullword for each
                                            processor (indexed by PFXINDEX,
                                            or VMDHPLDV/2**5) describing the
                                            features available on each
                                            processor.
    0000    0 Address      4 *              Initialize for Master
    007C  124 Address      4 AFFLFEAT       Loadable features This is a mask
                                            of feature bits containing a one
                                            in the position of each feature
                                            which is "loadable". A feature
                                            which is loadable cannot be
                                            shared by VMDBKs without some
                                            work involved to accomplish the
                                            switch. This is a static mask.
              00000080       AFFLEN         *-AFFBK Length in bytes of the
                                            AFFBK
              00000010       AFFSIZE        (AFFLEN+7)/8 Size in doublewords
                                            of the AFFBK

#### AFFBK Storage Layout

    *** AFFBK - AFFinity management control BlocK
    *
    *     +-------------------------------------------------------+
    *   0 |                                                       |
    *     =                       AFFPFTR                         =
    *     |                           +---------------------------+
    *  78 |                           |         AFFLFEAT          |
    *     +---------------------------+---------------------------+
    *  80
    *
    *** AFFBK - AFFinity management control BlocK

    *** Overlay for AFFPFTR in AFFBK
    *
    *     +---------------------------+
    *   0 |///////////////////////////| 4
    *     +---------------------------+
    *
    *** Overlay for AFFPFTR in AFFBK

#### AFFBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    AFFLEN         007C 00000080
    AFFLFEAT       007C
    AFFPFTR        0000
    AFFSIZE        007C 00000010

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