PCSBK - 32-bit CP - V4R4.0

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

#### PCSBK

Prolog

Control Block Contents
PCSBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### PCSBK Prolog

     NAME       : HCPPCSBK
     DESCRIPTION: PROCESSOR CONTROLLER STATUS BLOCK
     DSECT      : PCSBK
     FUNCTION   : THIS CONTROL BLOCK RECORDS ALL COMMUNICATION STATUS
                  BETWEEN CP AND THE PROCESSOR CONTROLLER.  THE REAL
                  PROCESSOR CONTROLLER REQUEST STATUS IS STRICTLY
                  MAINTAINED BY THE PROCESSING SUPPORT MODULE HCPPCR.
     LOCATED BY : SYSPCSBK  ANCHOR FIELD IN HCPSYSCM
     CREATED BY : HCPPCR    ALLOCATED AND INITIALIZED WHEN REAL PROCESSOR
                  CONTROLLER REQUEST PROCESS IS FIRST INVOKED.
     DELETED BY : NEVER DELETED

#### PCSBK Control Block Content

#### PCSBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      PCSBK          PROCESSOR CONTROLLER STATUS BLOCK
    0000    0 Address      4 PCSPCRQ        POINTER TO FIRST PCRBK IN PC
                                            QUEUE
    0004    4 Address      4 PCSACTIV       ADDRESS OF PROCESSOR CONTROLLER
                                            DATA BLOCK SENT IN DIAGNOSE INST.
    0008    8 Address      4 PCSREQBK       ADDRESS OF ACTIVE PCRBK
    000C   12 Address      4 PCSTIADD       ADDRESS OF TRQBK USED FOR PC
                                            TIMER INTERVAL
    0010   16 Bitstring    1 PCSRQFLG       PROCESSOR CONTROLLER REQUEST FLAG
                                            NOTES : ONLY THE CONDITION CODE 2
                                            (PSWCOND2) DEFINITION IS USED BY
                                            PCSDIAGC.
              00000000       PCSRQNON       X'00' NO VALID REQUESTS MADE YET
              00000001       PCSRQFST       X'01' FIRST VALID REQUEST
              000000FF       PCSRQPST       X'FF' PAST FIRST VALID REQUEST
    0011   17 Bitstring    1 PCSICC         CONDITION CODE RESULTING FROM PC
                                            INTERFACE INSTRUCTION
              11.. ....      PSWASMSK       X'C0' ADDRESS SPACE CONTROL MASK
              11.. ....      PSWHMODE       X'C0' HOME-SPACE MODE
              1... ....      PSWSMODE       X'80' SECONDARY MODE
              .1.. ....      PSWAMODE       X'40' ACCESS-REGISTER MODE
              ..11 ....      PSWCOND        X'30' PSW CONDITION CODE
              ..1. ....      PSWCOND2       X'20' PSW CONDITION CODE BIT FOR
                                            CC=2,3
              ...1 ....      PSWCOND1       X'10' PSW CONDITION CODE BIT FOR
                                            CC=1,3
              .... 1111      PSWPMSK        X'0F' FIXO+DECO+EXUN+SIGN PROGRAM
                                            MASK
              .... 1...      PSWFIXO        X'08' FIXED-PT OVERFLOW INTRPT
                                            MASK
              .... .1..      PSWDECO        X'04' DECIMAL OVERFLOW INTRPT
                                            MASK
              .... ..1.      PSWEXUN        X'02' EXPONENT UNDERFLOW INTRPT
                                            MASK
              .... ...1      PSWSIGN        X'01' SIGNIFICANCE INTERRUPT MASK
              .... ....      PSWPMODE       X'00' PRIMARY-SPACE MODE
    0012   18 Bitstring    1 *              Reserved for future IBM use
    0013   19 Bitstring    1 PCSRPCIF       REAL PROCESSOR CONTROLLER
                                            INTERFACES USED BY VM/XA FOR REAL
                                            REQUEST PROCESSING
              1... ....      SYSRSCIF       X'80' SERVICE CALL TYPE INTERFACE
              .1.. ....      SYSRDGIF       X'40' DIAGNOSE X'80' TYPE
                                            INTERFACE
    0014   20 Bitstring    1 PCSSTATS       PROCESSOR CONTROLLER STATUS BITS
              1... ....      PCSSPDMC       X'80' SERVICE PROCESSOR DAMAGE
                                            MACHINE CHECK HAS BEEN RECEIVED
              .1.. ....      PCSLDISC       X'40' PROCESSOR CONTROLLER IS
                                            LOGICALLY DISCONNECTED FROM THE
                                            SYSTEM
              .... ..1.      PCSINOPW       X'02' PC INTERRUPT HANDLER HAS
                                            OPENED A WINDOW TO ALLOW THE PC
                                            TIMER INTERRUPT TO HAVE PRIORITY
                                            OVER THE TIMEOUT INTERRUPT IN THE
                                            SITUATION WHERE THEY ARE BOTH
                                            RECEIVED AT THE SAME TIME
              .... ...1      PCSPRVRQ       X'01' ASSUMPTION IS MADE THAT THE
                                            PC IS BUSY FROM A PREVIOUS
                                            REQUEST ACTIVATED PRIOR TO THE
                                            IPL OF THIS SYSTEM
    0015   21 Bitstring    1 PCSSTATE       STATE(S) OF THE ACTIVE REQUEST
              1... ....      PCSXPEND       X'80' EXTERNAL INTERRUPT PENDING
                                            (PROCESSOR CONTROLLER WILL SIGNAL
                                            COMPLETION)
              .1.. ....      PCSRSREQ       X'40' ACTIVE REQUEST IS FOR A
                                            VIRTUAL SYSTEM WHICH HAS BEEN
                                            RESET
              ..1. ....      PCSTOUT        X'20' TIMER INTERVAL HAS EXPIRED
                                            FOR ACTIVE REQUEST
    0016   22 Bitstring    2 *              RESERVED BY IBM FOR FUTURE USE
    0018   24 Address      4 PCSREQST       Address of first active PCRBK
    001C   28 Address      4 PCSREQND       Address of last active PCRBK
    0020   32 Dbl-Word     8 PCSIOCPL (0)   DOUBLE IOCP LOCKS
    0020   32 Address      4 PCSIOCPW       IOCP WRITE LOCK (BASE ADDRESS OF
                                            VMDBK CONFIGURATION ISSUING AN
                                            IOCP WRITE REQUEST)
    0024   36 Address      4 PCSIOCPR       IOCP READ LOCK (BASE ADDRESS OF
                                            VMDBK CONFIGURATION ISSUING AN
                                            IOCP READ REQUEST)
    0028   40 Dbl-Word     8 *              RESERVED FOR FUTURE IBM USE
    0030   48 Bitstring    1 PCSDSIVL       INDICATES WHEN A QUEUED REQUEST
                                            TO WRITE TO IOCDS DATASET HAS
                                            BEEN ACTIVATED AND THE DATA SET
                                            IS NOW OPEN (INVALID)
              00000010       PCRIOCPW       X'10' IOCP OPEN WRITE REQUEST
                                            STARTED; WHEN THIS REQUEST IS
                                            ACTIVATED SEND A MESSAGE THAT
                                            THAT THE IOCDS DATA SET WILL BE
                                            ALTERED (MARKED INVALID)
              00000000       PCRNODS        X'00' FLAG TO SHOW THAT NO IOCDS
                                            DATASET IS CURRENTLY BEING
                                            ALTERED NOTES : CODES DEFINED FOR
                                            PCRRPCIF BY HCPSYSCM SYSRPCIF
    0031   49 Bitstring    1 PCSDSLVL       DATASET LEVEL USED DURING AN IOCP
                                            READ OR WRITE SEQUENCE
    0032   50 Bitstring    2 *              RESERVED BY IBM FOR FUTURE USE
    0034   52 Signed       4 *              RESERVED BY IBM FOR FUTURE USE
              00000007       PCSSIZE        (*-PCSBK+7)/8 :SIZE OF BLOCK IN
                                            DOUBLEWORDS

#### PCSBK Storage Layout

    *** PCSBK - PROCESSOR CONTROLLER STATUS BLOCK
    *
    *     +---------------------------+---------------------------+
    *   0 |         PCSPCRQ           |         PCSACTIV          |
    *     +---------------------------+---------------------------+
    *   8 |         PCSREQBK          |         PCSTIADD          |
    *     +------+------+------+------+------+------+-------------+
    *  10 |:RQFLG|PCSICC|//////|:RPCIF|:STATS|:STATE|/////////////|
    *     +------+------+------+------+------+------+-------------+
    *  18 |         PCSREQST          |         PCSREQND          |
    *     +---------------------------+---------------------------+
    *  20 |         PCSIOCPW          |         PCSIOCPR          |
    *     +---------------------------+---------------------------+
    *  28 |///////////////////////////////////////////////////////|
    *     +------+------+-------------+---------------------------+
    *  30 |:DSIVL|:DSLVL|/////////////|///////////////////////////|
    *     +------+------+-------------+---------------------------+
    *  38
    *
    *** PCSBK - PROCESSOR CONTROLLER STATUS BLOCK

#### PCSBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    PCRIOCPW       0030 00000010
    PCRNODS        0030 00000000
    PCSACTIV       0004
    PCSDSIVL       0030
    PCSDSLVL       0031
    PCSICC         0011
    PCSINOPW       0014 02
    PCSIOCPL       0020
    PCSIOCPR       0024
    PCSIOCPW       0020
    PCSLDISC       0014 40
    PCSPCRQ        0000
    PCSPRVRQ       0014 01
    PCSREQBK       0008
    PCSREQND       001C
    PCSREQST       0018
    PCSRPCIF       0013
    PCSRQFLG       0010
    PCSRQFST       0010 00000001
    PCSRQNON       0010 00000000
    PCSRQPST       0010 000000FF
    PCSRSREQ       0015 40
    PCSSIZE        0034 00000007
    PCSSPDMC       0014 80
    PCSSTATE       0015
    PCSSTATS       0014
    PCSTIADD       000C
    PCSTOUT        0015 20
    PCSXPEND       0015 80
    PSWAMODE       0011 40
    PSWASMSK       0011 C0
    PSWCOND        0011 30
    PSWCOND1       0011 10
    PSWCOND2       0011 20
    PSWDECO        0011 04
    PSWEXUN        0011 02
    PSWFIXO        0011 08
    PSWHMODE       0011 C0
    PSWPMODE       0011 00
    PSWPMSK        0011 0F
    PSWSIGN        0011 01
    PSWSMODE       0011 80
    SYSRDGIF       0013 40
    SYSRSCIF       0013 80

This information is based on z/VM V4R4.0. Last updated on 29 Jul 2003 at 15:58:17 EDT.
Copyright IBM Corporation, 1990, 2003