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

#### EMSBK

Prolog

Control Block Contents
EMSBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### EMSBK Prolog

     NAME       : HCPEMSBK
     DESCRIPTION: EMERGENCY SIGNAL SIGP TASK BLOCK
     DSECT      : EMSBK
     FUNCTION   : HCPEMSBK REPRESENTS A REQUEST MADE BY ONE PROCESSOR FOR
                  ANOTHER PROCESSOR TO PERFORM A PARTICULAR FUNCTION.
     LOCATED BY : PFXEMSAN  FIELD OF HCPPFXPG (ANCHOR FOR EMSBK CHAIN)
                  EMSFWDPT  FORWARD CHAINED
     CREATED BY : HCPSGP    WHEN ANOTHER PROCESSOR SHOULD PERFORM A FUNCTION
     DELETED BY : HCPSGP    WHEN THE TARGET PROCESSOR HAS RECEIVED THE REQUEST
                  TO PERFORM THE FUNCTION
                  HCPMPS    WHEN A PROCESSOR'S STORAGE IS RELEASED DURING
                  VARY OFF OF THE PROCESSOR

#### EMSBK Control Block Content

#### EMSBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      EMSBK          EMERGENCY SIGNAL SIGP TASK BLOCK
    0000    0 Signed       4 EMSFWDPT       FORWARD POINTER TO NEXT EMSBK
    0004    4 Signed       4 EMSCPUAD (0)   EMS TO AND FROM CPU ADDRESSES
    0004    4 Signed       2 EMSCPUFR       CPU FROM -- SIGNALING PROCESSOR
    0006    6 Signed       2 EMSCPUTO       CPU TO -- SIGNALLED PROCESSOR
    0008    8 Signed       4 EMSCODES (0)   EMS CODES
    0008    8 Bitstring    1 EMSFNCD        FUNCTION CODE
              00000002       EMSFNAPR       002 FUNCTION ALTERNATE PROC
                                            RECOVERY
              00000003       EMSFNLC        003 FUNCTION LOAD CONTROL
                                            REGISTER
              00000004       EMSFNSWM       004 FUNCTION SWITCH MASTER
                                            PROCESSOR
              00000005       EMSFNSWP       005 FUNCTION SWITCH PROCESSOR
    0009    9 Bitstring    1 EMSINTF        EMSBK INTERRUPT STATUS FIELD
              00000000       EMSINTNR       000 INTERRUPT NOT YET RECEIVED DO
                                            NOT UNSTACK THE BLOCK
              000000FF       EMSINTR        255 INTERRUPT HAS BEEN RECEIVED
                                            UNSTACK THE BLOCK
    000A   10 Bitstring    1 EMSPARM1       BYTE PARAMETER
    000B   11 Bitstring    1 *              RESERVED FOR FUTURE IBM USE
    000C   12 Signed       4 EMSSAVPT       POINTER TO SAVEAREA FOR RETURN
                                            ALSO USED TO HOLD CONTROL REG
                                            DATA FOR LOAD CNTL FUNCTION
    0010   16 Signed       4 EMSMASK1       FOR LCTL FUNCTION: SGPLCORN -
                                            BITS TO TURN ON SGPLCOFF - BITS
                                            TO TURN OFF SGPLCREP - BITS TO BE
                                            REPLACED
    0014   20 Signed       4 EMSMASK2       FOR LCTL FUNCTION: SGPLCREP -
                                            BITS FOR REPLACEMENT
              00000003       EMSSIZE        (*-EMSBK+7)/8 SIZE IN DOUBLE
                                            WORDS

#### EMSBK Storage Layout

    *** EMSBK - EMERGENCY SIGNAL SIGP TASK BLOCK
    *
    *     +---------------------------+-------------+-------------+
    *   0 |         EMSFWDPT          |  EMSCPUFR   |  EMSCPUTO   |
    *     +------+------+------+------+-------------+-------------+
    *   8 |:FNCD |:INTF |:PARM1|//////|         EMSSAVPT          |
    *     +------+------+------+------+---------------------------+
    *  10 |         EMSMASK1          |         EMSMASK2          |
    *     +---------------------------+---------------------------+
    *  18
    *
    *** EMSBK - EMERGENCY SIGNAL SIGP TASK BLOCK

#### EMSBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    EMSCODES       0008
    EMSCPUAD       0004
    EMSCPUFR       0004
    EMSCPUTO       0006
    EMSFNAPR       0008 00000002
    EMSFNCD        0008
    EMSFNLC        0008 00000003
    EMSFNSWM       0008 00000004
    EMSFNSWP       0008 00000005
    EMSFWDPT       0000
    EMSINTF        0009
    EMSINTNR       0009 00000000
    EMSINTR        0009 000000FF
    EMSMASK1       0010
    EMSMASK2       0014
    EMSPARM1       000A
    EMSSAVPT       000C
    EMSSIZE        0014 00000003

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