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

VECBK

Prolog  

Control Block Contents  
   VECBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


VECBK Prolog

 NAME       : HCPVECBK
 DESCRIPTION: Guest Vector Facility Control Block
 DSECT      : VECBK
 FUNCTION   : HCPVECBK is the primary control block for a virtual
              CPU's Vector Facility.  It contains or refers to
              all guest Vector Facility registers, plus additional
              vector activity counters.
 LOCATED BY : VMDVECTR in the VMBDK of the owning virtual CPU.
 CREATED BY : HCPVFVIN - Virtual Vector Facility initialization.
 DELETED BY : HCPVFVDE - Virtual Vector Facility de-initialization.
 SERIALIZED : Most fields in the VECBK are manipulated under
              "guest vector state serialization": when the
              guest vector facility is loaded into a real
              processor, the serialization is processor-local on
              that processor; otherwise, the serialization is
              guest instruction stream (VMDSIMWT) or console
              function mode.

 

VECBK Control Block Content


VECBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      VECBK          Guest Vector Facility Control
                                        Block
0000    0 Address      4 VECVSATB       Pointer to the Vector Register
                                        Save Area block
0004    4 Signed       4 *              Reserved for future IBM use
0008    8 Dbl-Word     8 VECVSR (0)     Guest Vector Status Register:
0008    8 Bitstring    1 *              ..Reserved for future IBM use
0009    9 Bitstring    1 VECVSRMO       ..Vector mode flags
          .... ...1      VECVSRMM       X'01' ....Vector Mask Mode
000A   10 Signed       2 VECVSRCT       ..Vector Count (of elements to
                                        ..participate in operations)
000C   12 Signed       2 VECVSRIX       ..Vector Interruption Index (next
                                        ..element number)
000E   14 Signed       2 VECVSRIC (0)   ..Vector In-Use and Change mask
000E   14 Bitstring    1 VECVSRIU       ....Vector In-Use mask (one bit
                                        ....per VR pair)
000F   15 Bitstring    1 VECVSRCH       ....Vector Change mask (one bit
                                        ....per VR pair)
0010   16 Signed       8 VECVAC         Guest Vector Activity Count
0018   24 Signed       8 VECVACOL       Guest Vector Activity Count at
                                        the time of last updating of
                                        accounting values
0020   32 Signed       8 VECDVAC        Guest Vector Activity Count at
                                        the start of the timeslice
0028   40 Signed       2 VECVCP (0)     Vector change preservation area
0028   40 Bitstring    1 VECVHC         Vector host change preservation
0029   41 Bitstring    1 VECVGC         Vector guest change preservation
002A   42 Signed       2 *              Reserved for future IBM use
002C   44 Signed       4 *              Reserved for future IBM use
          00000006       VECSIZE        (*-VECBK+7)/8 size of VECBK in
                                        doublewords excluding VECVMR
0030   48 Bitstring    1 VECVMR (0)     Guest Vector Mask Register the
                                        size of VECVMR is (section size /
                                        2) bytes

 

VECBK Storage Layout

          
*** VECBK - Guest Vector Facility Control Block
*
*     +---------------------------+---------------------------+
*   0 |         VECVSATB          |///////////////////////////|
*     +------+------+-------------+-------------+------+------+
*   8 |//////|:VSRMO|  VECVSRCT   |  VECVSRIX   |:VSRIU|:VSRCH|
*     +------+------+-------------+-------------+------+------+
*  10 |                        VECVAC                         |
*     +-------------------------------------------------------+
*  18 |                       VECVACOL                        |
*     +-------------------------------------------------------+
*  20 |                       VECDVAC                         |
*     +------+------+-------------+---------------------------+
*  28 |VECVHC|VECVGC|/////////////|///////////////////////////|
*     +------+------+-------------+---------------------------+
*
*** VECBK - Guest Vector Facility Control Block

 

VECBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
VECDVAC        0020
VECSIZE        002C 00000006
VECVAC         0010
VECVACOL       0018
VECVCP         0028
VECVGC         0029
VECVHC         0028
VECVMR         0030
VECVSATB       0000
VECVSR         0008
VECVSRCH       000F
VECVSRCT       000A
VECVSRIC       000E
VECVSRIU       000E
VECVSRIX       000C
VECVSRMM       0009 01
VECVSRMO       0009

This information is based on z/VM V4R2.0. Last updated on 17 Oct 2001 at 17:08:14 EDT.
Copyright IBM Corporation, 1990, 2001