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

#### UZPAG

Prolog

Control Block Contents
UZPAG DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### UZPAG Prolog

     NAME       : HCPUZPAG
     DESCRIPTION: PREFIX STORAGE AREA - MACHINE USAGE
     DSECT      : UZPAG
     FUNCTION   : THIS  CONTROL  BLOCK  DESCRIBES  THE  ARCHITECTED
                  FIELDS IN PAGE ZERO (EITHER REAL ZERO OR ABSOLUTE
                  ZERO DEPENDING ON USAGE).   THIS IS USED TO REFER
                  TO GUEST PAGE ZERO.    FOR  HOST  PAGE  ZERO, THE
                  PFXBK COPY FILE IS USED INSTEAD OF UZPAG.
     LOCATED BY : VMDPAGZP (WHILE NOT IN CONSOLE FUNCTION MODE)
                  - HOST REAL ADDRESS OF THE GUEST PAGE ZERO
     CREATED BY : NOT APPLICABLE (CREATE AS A FUNCTION OF THE GUEST
                  OPERATING SYSTEM
     DELETED BY : NOT APPLICABLE
                  Notes      :  This copy file can be used to map the architected
                  fields of the guest Prefix Storage Area for ESAME
                  and page zero for System/370 and ESA/390 guests.
                  For ESAME guests the PSA is 8K, that is, two
                  contiguous pages in guest storage (but not
                  necessarily contiguous in host storage).
                  UZPAG -
                  Maps page zero for 370 guests.
                  Maps page zero for ESA guests.
                  Maps page zero (1st page) of the 2 page ESAME
                  Prefix Storage Area
                  UOPAG -
                  Maps page one (2nd page) of the 2 page ESAME
                  Prefix Storage Area

#### UZPAG Control Block Content

#### UZPAG DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      UZPAG          PREFIX STORAGE AREA - MACHINE
                                            USAGE
    0000    0 Dbl-Word     8 UZPIPSW (0)    IPL START PSW
    0000    0 Signed       4 UZPIPSW0 (0)
    0000    0 Bitstring    1 UZPIP1B0
    0001    1 Bitstring    1 UZPIP1B1       EXTENDED MODE
    0002    2 Signed       2 UZPIP1H1       IPL DEVICE ADDRESS
    0004    4 Signed       4 UZPIPSW1       (ALSO RESTART NEW PSW)
    0008    8 Dbl-Word     8 UZPICCW1       IPL CCW, FIRST (ALSO RESTART OLD
                                            PSW)
    0010   16 Dbl-Word     8 UZPICCW2       IPL CCW, SECOND
    0018   24 Dbl-Word     8 UZPEXTOP       EXTERNAL OLD PSW
    0020   32 Dbl-Word     8 UZPSVCOP       SVC OLD PSW
    0028   40 Dbl-Word     8 UZPPRGOP       PROGRAM OLD PSW
    0030   48 Dbl-Word     8 UZPMCHOP       MACHINE-CHECK OLD PSW
    0038   56 Dbl-Word     8 UZPIOOP        INPUT/OUTPUT OLD PSW
    0040   64 Dbl-Word     8 UZPCSW (0)     CHANNEL STATUS WORD
    0040   64 Signed       4 UZPCSWF0       KEY AND ADDRESS OF FULL CSW
    0044   68 Signed       4 UZPCSWF1 (0)   2ND FULLWORD OF CSW
    0044   68 Signed       2 UZPCSWH (0)    HALFWORD CSW
    0044   68 Bitstring    1 UZPCSWB4       5TH BYTE OF CSW
    0045   69 Bitstring    1 UZPCSWB5       6TH BYTE OF CSW
    0046   70 Bitstring    1 UZPCSWB6       COUNT FIELD OF FULL CSW
    0047   71 Bitstring    1 UZPCSWB7       COUNT FIELD OF FULL CSW
    0048   72 Signed       4 UZPCAW         CHANNEL ADDRESS WORD
    004C   76 Signed       4 *              NOT REFERENCED
    0050   80 Signed       4 UZPTIMER       INTERVAL TIMER
    0054   84 Signed       4 UZPETTHD       EXT. FACIL. TRACE TABLE HDR
    0058   88 Dbl-Word     8 UZPEXTNP       EXTERNAL NEW PSW
    0060   96 Dbl-Word     8 UZPSVCNP       SVC NEW PSW
    0068  104 Dbl-Word     8 UZPPRGNP       PROGRAM NEW PSW
    0070  112 Dbl-Word     8 UZPMCHNP       MACHINE-CHECK NEW PSW
    0078  120 Dbl-Word     8 UZPIONP        INPUT/OUTPUT NEW PSW
    0080  128 Signed       4 UZPEXMSF       MSF DATA BLOCK ADDR-CLASS 21 EXT
    0084  132 Signed       4 UZPEXTCD (0)   EXTERNAL INTERRUPT CODE,FULLWORD
    0084  132 Signed       2 UZPEXTCA       EXTERNAL IRPT. CPU ADDRESS
    0086  134 Signed       2 UZPEXINT       EXTERNAL INTERRUPT CODE,HALFWORD
    0088  136 Signed       2 UZPSVCIL       SVC INSTRUCTION LENGTH CODE
    008A  138 Signed       2 UZPSVCNT       SVC INTERRUPT CODE
    008C  140 Signed       4 UZPPRGCD (0)   PROGRAM ILC AND INTERRUPT CODE
    008C  140 Signed       2 UZPPRGIL       PROGRAM INSTRUCTION LENGTH CODE
    008E  142 Signed       2 UZPRGINT       PROGRAM INTERRUPT CODE
    0090  144 Signed       4 UZPTRXAD (0)   TRANSLATION EXCEPTION ADDRESS
    0090  144 Bitstring    1 UZPSSCTL       Space-switch event control
              1... ....      UZPSSON        X'80' Space-switch control bit
    0091  145 Bitstring    1 UZPSSCT2       When a space switch program
                                            interrupt occurs, the space-
                                            switch event control bit is saved
                                            in the high order bit of
                                            UZPSSCTL. The remaining bits of
                                            UZPSSCTL and UZPSSCT2 are set to
                                            0.
    0092  146 Signed       2 UZPOPASN       Old PASN - set for space-switch
                                            event program interrupt.
    0090  144 Signed       4 UZPFPARM (0)   Data exception information
    0090  144 Bitstring    3 *
    0093  147 Bitstring    1 UZPDXCOD       Data exception code
    0094  148 Signed       2 UZPMNCLS       MONITOR CLASS
    0096  150 Signed       2 UZPPERCD       PROGRAM EVENT RECORDER(PER) CODE
    0098  152 Dbl-Word     8 UZPGPERA (0)   PER Address for ESAME PSA
    0098  152 Signed       4 UZPPERAD       PER ADDRESS
    009C  156 Signed       4 UZPMONID       MONITOR CODE
    00A0  160 Bitstring    1 UZPXCPAR       EXCEPTION ACCESS IDENTIFICATION
              .... 1111      PRGXCREG       X'0F' Access-register number
    00A1  161 Bitstring    1 UZPPERAR       PER ACCESS IDENTIFICATION
    00A2  162 Bitstring    1 UZPOPRID       Operand access identification
    00A3  163 Bitstring    1 UZPARCHM       Processor architecture mode
              .... ...1      UZPAINME       X'01' Bit 7: 0 = ESA/390, 1 =
                                            ESAME Architecture mode is in the
                                            SARCH condition code
    00A4  164 Signed       4 UZPMAPL        Control block for Ext. Facility
    00A8  168 Signed       4 UZPFALET (0)   Used to contain the ALET that
                                            caused a translation exception.
    00A8  168 Dbl-Word     8 UZPGTRAD (0)   ESAME: Translation-exception ID
    00A8  168 Signed       4 UZPGTRAH       Trans-execpt ID high half
    00AC  172 Signed       4 UZPGTRAL       Trans-execpt ID low half
    00B0  176 Dbl-Word     8 UZPGMNCD (0)   ESAME: monitor code
    00B0  176 Signed       4 UZPECSWL       LIMITED CHANNEL LOGOUT (ECSW)
    00B4  180 Signed       4 *              ESAME: low ord word monitor code
    00B8  184 Signed       4 UZPIOSID (0)   370/XA I/O INTERRUPT SUBSYS ID
    00B8  184 Bitstring    1 *              370: UNUSED, 370/XA: ZERO
    00B9  185 Bitstring    1 UZPIOQCT       370: QUEUED I/O COUNT, 370/XA:01
    00BA  186 Signed       2 UZPIODEV       370: DEVICE ADDRESS, 370/XA:
                                            SUBCHANNEL NUMBER
    00BC  188 Signed       4 UZPINTPM       370/XA I/O INTERRUPTION PARM
    00C0  192 Signed       4 UZPHIIDW       Host Interruption Identification
                                            Word
    00C4  196 Signed       4 *              Reserved for IBM use
    00C8  200 Signed       4 UZPSTFL (0)    STFL Facility List
    00C8  200 Bitstring    1 UZPSTFL0       Byte 0, bits 0-7 of STFL List
              1... ....      STFL0N3A       X'80' "N3" instructions available
              .1.. ....      STFL0MEA       X'40' ESAME available
              ..1. ....      STFL0MEE       X'20' ESAME enabled
    00C9  201 Bitstring    3 *              Bytes 1-3 of the STFL List
    00CC  204 Signed       4 *              Reserved for IBM use
    00D0  208 Signed       4 *              Reserved for IBM use
    00D4  212 Signed       4 UZPFPXSA       Extended-save-area address
    00D8  216 Dbl-Word     8 UZPMCPUT       CPU TIMER LOGOUT
    00E0  224 Dbl-Word     8 UZPCKCMP       TOD COMPARATOR LOGOUT ON MACHINE
    00E8  232 Dbl-Word     8 UZPMCIC        MACHINE-CHECK INTERRUPT CODE
              111. 1...      UZPMCI01       UZPMCIC,2 OVLY FOR FIRST TWO
                                            BYTES OF MCIC
    00F0  240 Signed       4 UZPMCHCW       MACHINE CHECK CHAN. REPORT WORD
    00F4  244 Signed       4 UZPEDMGC       EXTERNAL DAMAGE CODE
    00F8  248 Dbl-Word     8 UZPGMCFS (0)   ESAME: machine chk failing addr
    00F8  248 Signed       4 UZPMCHFS       MACHINE CHECK FAILING STOR. ADDR
    00FC  252 Signed       4 UZPMCHRC       MACHINE CHECK REGION CODE
    0100  256 Bitstring   96 UZPFCLOG (0)   GUEST FULL CHANNEL LOGOUT
    0100  256 Bitstring   96 UZPFXLOG (0)   MACHINE CHECK FIXED LOGOUT AREA
    0100  256 Dbl-Word     8 UZPMCHFA (0)   MACHINE-CHECK FAILING-STORAGE
                                            ASIT
    0100  256 Dbl-Word     8 UZPSTPSW       STORE STATUS PSW LOGOUT AREA
    0108  264 Signed       4 UZPSTPFX       STORE STATUS PREFIX LOGOOUT AREA
    010C  268 Signed       4 UZPSTMDL       STORE STATUS MODEL DEPENDENT
    0110  272 Dbl-Word     8 UZPFXLGM (2)   REMAINDER OF FIXED LOGOUT AREA
    0120  288 Signed       4 UZPARLOG (16)  ACCESS REGISTER LOGOUT AREA
    0160  352 Dbl-Word     8 UZPFPRLG (4)   FLOATING POINT REG. LOGOUT AREA
    0180  384 Signed       4 UZPGPRLG (16)  GENERAL REGISTER LOGOUT AREA
    01C0  448 Signed       4 UZPCRLOG (16)  CONTROL REGISTER LOGOUT AREA
              00000200       UZPLAP         *-UZPAG LIMIT OF LOW ADDRESS
                                            PROTECTION
         ESAME Old and New PSW locations. Note that they are below the 512 byte
         line and therefore protected by LAP (UZPLAP).
    0120  288 Bitstring   16 UZPGRSOP       ESAME Restart Old PSW
    0130  304 Bitstring   16 UZPGEXOP       ESAME External Old PSW
    0140  320 Bitstring   16 UZPGSVOP       ESAME SVC Old PSW
    0150  336 Bitstring   16 UZPGPROP       ESAME Program Old PSW
    0160  352 Bitstring   16 UZPGMCOP       ESAME Machine Check Old PSW
    0170  368 Bitstring   16 UZPGIOOP       ESAME I/O Old PSW
    0180  384 Bitstring   32 *              Reserved for Hardware use
    01A0  416 Bitstring   16 UZPGRSNP       ESAME Restart New PSW
    01B0  432 Bitstring   16 UZPGEXNP       ESAME External New PSW
    01C0  448 Bitstring   16 UZPGSVNP       ESAME SVC New PSW
    01D0  464 Bitstring   16 UZPGPRNP       ESAME Program New PSW
    01E0  480 Bitstring   16 UZPGMCNP       ESAME Machine Check New PSW
    01F0  496 Bitstring   16 UZPGIONP       ESAME I/O New PSW
         The following fields are S/370 fields which were in the same place that
         the translation exception ID field is in an ESAME mode guest.
    00A8  168 Signed       4 UZPCHIDC       CHANNEL IDENTIFIER FROM 'STIDC'
    00AC  172 Signed       4 UZPIOELA       I/O EXTENDED LOGOUT AREA POINTER
         FIELDS ABOVE ADDRESS 512 ARE NOT SPECIFIED BY PROCESSOR ARCHITECTURE.

#### UZPAG Storage Layout

    *** UZPAG - PREFIX STORAGE AREA - MACHINE USAGE
    *
    *     +------+------+-------------+---------------------------+
    *   0 |:IP1B0|:IP1B1|  UZPIP1H1   |         UZPIPSW1          |
    *     +------+------+-------------+---------------------------+
    *   8 |                       UZPICCW1                        |
    *     +-------------------------------------------------------+
    *  10 |                       UZPICCW2                        |
    *     +-------------------------------------------------------+
    *  18 |                       UZPEXTOP                        |
    *     +-------------------------------------------------------+
    *  20 |                       UZPSVCOP                        |
    *     +-------------------------------------------------------+
    *  28 |                       UZPPRGOP                        |
    *     +-------------------------------------------------------+
    *  30 |                       UZPMCHOP                        |
    *     +-------------------------------------------------------+
    *  38 |                       UZPIOOP                         |
    *     +---------------------------+------+------+------+------+
    *  40 |         UZPCSWF0          |:CSWB4|:CSWB5|:CSWB6|:CSWB7|
    *     +---------------------------+------+------+------+------+
    *  48 |          UZPCAW           |///////////////////////////|
    *     +---------------------------+---------------------------+
    *  50 |         UZPTIMER          |         UZPETTHD          |
    *     +---------------------------+---------------------------+
    *  58 |                       UZPEXTNP                        |
    *     +-------------------------------------------------------+
    *  60 |                       UZPSVCNP                        |
    *     +-------------------------------------------------------+
    *  68 |                       UZPPRGNP                        |
    *     +-------------------------------------------------------+
    *  70 |                       UZPMCHNP                        |
    *     +-------------------------------------------------------+
    *  78 |                       UZPIONP                         |
    *     +---------------------------+-------------+-------------+
    *  80 |         UZPEXMSF          |  UZPEXTCA   |  UZPEXINT   |
    *     +-------------+-------------+-------------+-------------+
    *  88 |  UZPSVCIL   |  UZPSVCNT   |  UZPPRGIL   |  UZPRGINT   |
    *     +------+------+-------------+-------------+-------------+
    *  90 |:SSCTL|:SSCT2|  UZPOPASN   | 94
    *     +------+------+-------------+
    *
    *** UZPAG - PREFIX STORAGE AREA - MACHINE USAGE

    *** Overlay for UZPTRXAD in UZPAG
    *
    *     +--------------------+------+-------------+-------------+
    *  90 |////////////////////|:DXCOD|  UZPMNCLS   |  UZPPERCD   |
    *     +--------------------+------+-------------+-------------+
    *  98 |         UZPPERAD          |         UZPMONID          |
    *     +------+------+------+------+---------------------------+
    *  A0 |:XCPAR|:PERAR|:OPRID|:ARCHM|         UZPMAPL           |
    *     +------+------+------+------+---------------------------+
    *  A8 |         UZPGTRAH          |         UZPGTRAL          |
    *     +---------------------------+---------------------------+
    *  B0 |         UZPECSWL          |///////////////////////////|
    *     +------+------+-------------+---------------------------+
    *  B8 |//////|:IOQCT|  UZPIODEV   |         UZPINTPM          |
    *     +------+------+-------------+---------------------------+
    *  C0 |         UZPHIIDW          |///////////////////////////|
    *     +------+--------------------+---------------------------+
    *  C8 |:STFL0|////////////////////|///////////////////////////|
    *     +------+--------------------+---------------------------+
    *  D0 |///////////////////////////|         UZPFPXSA          |
    *     +---------------------------+---------------------------+
    *  D8 |                       UZPMCPUT                        |
    *     +-------------------------------------------------------+
    *  E0 |                       UZPCKCMP                        |
    *     +-------------------------------------------------------+
    *  E8 |                       UZPMCIC                         |
    *     +---------------------------+---------------------------+
    *  F0 |         UZPMCHCW          |         UZPEDMGC          |
    *     +---------------------------+---------------------------+
    *  F8 |         UZPMCHFS          |         UZPMCHRC          |
    *     +---------------------------+---------------------------+
    * 100 |                       UZPSTPSW                        |
    *     +---------------------------+---------------------------+
    * 108 |         UZPSTPFX          |         UZPSTMDL          |
    *     +---------------------------+---------------------------+
    * 110 |                       UZPFXLGM                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 120 |                                                       |
    *     =                       UZPARLOG                        =
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 160 |                                                       |
    *     =                       UZPFPRLG                        =
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 180 |                                                       |
    *     =                       UZPGPRLG                        =
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 1C0 |                                                       |
    *     =                       UZPCRLOG                        =
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 200
    *
    *** Overlay for UZPTRXAD in UZPAG

    *** Overlay for UZPARLOG in UZPAG
    *
    *     +-------------------------------------------------------+
    * 120 |                       UZPGRSOP                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 130 |                       UZPGEXOP                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 140 |                       UZPGSVOP                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 150 |                       UZPGPROP                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 160 |                       UZPGMCOP                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 170 |                       UZPGIOOP                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 180 |///////////////////////////////////////////////////////|
    *     =///////////////////////////////////////////////////////=
    *     |///////////////////////////////////////////////////////|
    *     +-------------------------------------------------------+
    * 1A0 |                       UZPGRSNP                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 1B0 |                       UZPGEXNP                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 1C0 |                       UZPGSVNP                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 1D0 |                       UZPGPRNP                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 1E0 |                       UZPGMCNP                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 1F0 |                       UZPGIONP                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 200
    *
    *** Overlay for UZPARLOG in UZPAG

    *** Overlay for UZPGTRAD in UZPAG
    *
    *     +---------------------------+---------------------------+
    *  A8 |         UZPCHIDC          |         UZPIOELA          |
    *     +---------------------------+---------------------------+
    *  B0
    *
    *** Overlay for UZPGTRAD in UZPAG

#### UZPAG Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    PRGXCREG       00A0 0F
    STFL0MEA       00C8 40
    STFL0MEE       00C8 20
    STFL0N3A       00C8 80
    UZPAINME       00A3 01
    UZPARCHM       00A3
    UZPARLOG       0120
    UZPCAW         0048
    UZPCHIDC       00A8
    UZPCKCMP       00E0
    UZPCRLOG       01C0
    UZPCSW         0040
    UZPCSWB4       0044
    UZPCSWB5       0045
    UZPCSWB6       0046
    UZPCSWB7       0047
    UZPCSWF0       0040
    UZPCSWF1       0044
    UZPCSWH        0044
    UZPDXCOD       0093
    UZPECSWL       00B0
    UZPEDMGC       00F4
    UZPETTHD       0054
    UZPEXINT       0086
    UZPEXMSF       0080
    UZPEXTCA       0084
    UZPEXTCD       0084
    UZPEXTNP       0058
    UZPEXTOP       0018
    UZPFALET       00A8
    UZPFCLOG       0100
    UZPFPARM       0090
    UZPFPRLG       0160
    UZPFPXSA       00D4
    UZPFXLGM       0110
    UZPFXLOG       0100
    UZPGEXNP       01B0
    UZPGEXOP       0130
    UZPGIONP       01F0
    UZPGIOOP       0170
    UZPGMCFS       00F8
    UZPGMCNP       01E0
    UZPGMCOP       0160
    UZPGMNCD       00B0
    UZPGPERA       0098
    UZPGPRLG       0180
    UZPGPRNP       01D0
    UZPGPROP       0150
    UZPGRSNP       01A0
    UZPGRSOP       0120
    UZPGSVNP       01C0
    UZPGSVOP       0140
    UZPGTRAD       00A8
    UZPGTRAH       00A8
    UZPGTRAL       00AC
    UZPHIIDW       00C0
    UZPICCW1       0008
    UZPICCW2       0010
    UZPINTPM       00BC
    UZPIODEV       00BA
    UZPIOELA       00AC
    UZPIONP        0078
    UZPIOOP        0038
    UZPIOQCT       00B9
    UZPIOSID       00B8
    UZPIPSW        0000
    UZPIPSW0       0000
    UZPIPSW1       0004
    UZPIP1B0       0000
    UZPIP1B1       0001
    UZPIP1H1       0002
    UZPLAP         01C0 00000200
    UZPMAPL        00A4
    UZPMCHCW       00F0
    UZPMCHFA       0100
    UZPMCHFS       00F8
    UZPMCHNP       0070
    UZPMCHOP       0030
    UZPMCHRC       00FC
    UZPMCIC        00E8
    UZPMCI01       00E8 E8
    UZPMCPUT       00D8
    UZPMNCLS       0094
    UZPMONID       009C
    UZPOPASN       0092
    UZPOPRID       00A2
    UZPPERAD       0098
    UZPPERAR       00A1
    UZPPERCD       0096
    UZPPRGCD       008C
    UZPPRGIL       008C
    UZPPRGNP       0068
    UZPPRGOP       0028
    UZPRGINT       008E
    UZPSSCTL       0090
    UZPSSCT2       0091
    UZPSSON        0090 80
    UZPSTFL        00C8
    UZPSTFL0       00C8
    UZPSTMDL       010C
    UZPSTPFX       0108
    UZPSTPSW       0100
    UZPSVCIL       0088
    UZPSVCNP       0060
    UZPSVCNT       008A
    UZPSVCOP       0020
    UZPTIMER       0050
    UZPTRXAD       0090
    UZPXCPAR       00A0

This information is based on z/VM V4R3.0. Last updated on 1 May 2002 at 10:50:20 EDT.
Copyright IBM Corporation, 1990, 2002