CCWTT - 32-bit CP - V4R4.0

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

#### CCWTT

Prolog

Control Block Contents
CCWTT DSECT
CCWTTE DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### CCWTT Prolog

     NAME       : HCPCCWTT
     DESCRIPTION: Channel Program Translation Tables
     DSECT      : CCWTT
     FUNCTION   : Address translation table used by the CCW
                  Translation function.
     LOCATED BY : CPTTRTBL (data area in CPTCA)
                  CCW_TRANS_TBL_NEXT
     CREATED BY : HCPCCWTA Macro
     DELETED BY : HCPUNTFR
     SERIALIZED : BEING ACCESSED FOR A UNIQUE TASK
     REFERENCES : None
     COMMENTS   : The first table is contained in the
                  CPTCA.  Additional tables will be built
                  as required.  Note, for most cases we
                  expect to only need one table.
                  The translation table is basically an
                  array of addresses and some flags as
                  follows.
                  If the address being used is 64 bit then
                  virt_addr1 and virt_addr2 contain the
                  high and low order address words.  If the
                  address is 31 bits then the address is
                  only contained in virt_addr2.

#### CCWTT Control Block Content

#### CCWTT DSECT

####

####

####

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      CCWTT          Channel Program Translation
                                            Tables
    0000    0 Bitstring    1 CCW_TRANS_TBL (0)
                                            Translation table entries
    0000    0 Bitstring   16 CCW_TRANS_TBL_ENTRIES (10)
    00A0  160 Signed       4 CCW_TRANS_TBL_NEXT
                                            Next translation table
              00000015       CCWSIZE        (*-CCWTT+7)/8 DW size of table
         The following DSECT defines each translation table entry

    CCWTTE DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      CCWTTE         Channel Program Translation
                                            Tables
    0000    0 Dbl-Word     8 CCW_TRANS_TBL_64ADR (0)
                                            64 bit virtual address
    0000    0 Signed       4 CCW_TRANS_TBL_VHI
                                            Hi order word 64 bit addr
    0004    4 Signed       4 CCW_TRANS_TBL_VADDR
                                            Virtual page address or lo order
                                            word 64 bit addr
    0008    8 Signed       4 CCW_TRANS_TBL_RADDR
                                            Real page address
    000C   12 Bitstring    1 CCW_TRANS_TBL_FLAGS
                                            Address translation flags
              1... ....      CCW_TRANS_TBL_USED
                                            X'80' Entry in use
              .1.. ....      CCW_TRANS_TBL_CKF
                                            X'40' Checked FETCH protection
              ..1. ....      CCW_TRANS_TBL_CKS
                                            X'20' Checked STORE protection
              ...1 ....      CCW_TRANS_TBL_FETCH
                                            X'10' FETCH allowed
              .... 1...      CCW_TRANS_TBL_STORE
                                            X'08' STORE allowed
    000D   13 Bitstring    3 *              Reserved for future use
              00000010       CCWEL          *-CCWTTE
              0000000A       CCW_TRANS_TBL_ENTRY_NBR
                                            10 Number of table entries
              0000000A       CCWNE          CCW_TRANS_TBL_ENTRY_NBR

    CCWTT Storage Layout

    *** CCWTT - Channel Program Translation Tables
    *
    *     +-------------------------------------------------------+
    *   0 |                                                       |
    *     =                CCW_TRANS_TBL_ENTRIES                  =
    *     |                                                       |
    *     +---------------------------+---------------------------+
    *  A0 |    CCW_TRANS_TBL_NEXT     | A4
    *     +---------------------------+
    *
    *** CCWTT - Channel Program Translation Tables

    *** CCWTTE - Channel Program Translation Tables
    *
    *     +---------------------------+---------------------------+
    *   0 |    CCW_TRANS_TBL_VHI      |   CCW_TRANS_TBL_VADDR     |
    *     +---------------------------+------+--------------------+
    *   8 |   CCW_TRANS_TBL_RADDR     |(00C) |////////////////////|
    *     +---------------------------+------+--------------------+
    *  10
    *
    *** CCWTTE - Channel Program Translation Tables

    CCWTT Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    CCW_TRANS_TBL  0000
    CCW_TRANS_TBL_CKF
                   000C 40
    CCW_TRANS_TBL_CKS
                   000C 20
    CCW_TRANS_TBL_ENTRIES
                   0000
    CCW_TRANS_TBL_ENTRY_NBR
                   000D 0000000A
    CCW_TRANS_TBL_FLAGS
                   000C
    CCW_TRANS_TBL_FETCH
                   000C 10
    CCW_TRANS_TBL_NEXT
                   00A0
    CCW_TRANS_TBL_RADDR
                   0008
    CCW_TRANS_TBL_STORE
                   000C 08
    CCW_TRANS_TBL_USED
                   000C 80
    CCW_TRANS_TBL_VHI
                   0000
    CCW_TRANS_TBL_VADDR
                   0004
    CCW_TRANS_TBL_64ADR
                   0000
    CCWEL          000D 00000010
    CCWNE          000D 0000000A
    CCWSIZE        00A0 00000015

    This information is
    based on z/VM V4R4.0.
    Last updated on 29 Jul 2003 at 15:17:05 EDT.

    Copyright IBM Corporation, 1990, 2003