|
Hex Dec Type/Val Lng Label (dup) Comments
---- ---- --------- ---- -------------- --------
0000 0 Structure $AMSG Relocation mapping for HCPAMSG
00000001 $AMSG_VER 1 Mapping version number for this
DSECT. Version is independent of
the CP level and need only be
changed when this DSECT is
changed. The convention is to
increment by 1.
0000 0 Signed 2 $AMSG_HDRL Header length (in bytes)
0002 2 Signed 2 $AMSG_BITL Length of mapped bits (in bytes)
0004 4 Signed 4 * Reserved for future use
00000008 $AMSG_HDLN *-$AMSG Length of header (bytes)
Bit map: Contains the AMSG flags that are subject to
relocation. These bits are defined sequentially,
regardless of how they are defined in HCPAMSG.
This yields a consistent mapping that ensures
compatibility when a guest is relocated between
systems at differing service levels.
Names in the comments column indicate the control
block byte which contains the flag. This name is
subject to change if the flag definition changes.
====> NEVER change bits which already exist here.
====> NEVER change the order of bits in this section.
====> ALWAYS add new bits at the end of this section,
together with new flag bytes as required.
0008 8 Signed 2 $AMSG_BITS (0) Bit map area
00000000 $AMSG_BLEN *-$AMSG_BITS Length of bit map
area
Data: Contains all HCPAMSG data that is subject to
relocation, except for flag bits, which are
handled separately.
All fields are defined as XLnn to avoid alignment
warnings and to pack the data efficiently.
====> NEVER change fields which already exist here.
====> NEVER change the order of fields in this section.
====> ALWAYS add new fields at the end of this section.
together with new flag bytes as required.
0008 8 Bitstring 1 $AMSG_DATA (0) Start of data map
0008 8 Bitstring 4 $AMSGNEXT Pointer to next AMSG block
000C 12 Bitstring 4 $AMSGBKID IDs storage area as an AMSG block
0010 16 Bitstring 4 $AMSGTLG Length of entire message HDR+MSG
0014 20 Bitstring 4 $AMSGMGID Message ID
0018 24 Bitstring 2 $AMSGLGH Length of the message
001A 26 Bitstring 1 $AMSGEVST Asynchronous Event status
001B 27 Bitstring 1 $AMSGSESS Session ID
001C 28 Bitstring 1 $AMSGBUF (0) Message buffer contents
0000001C $AMSG_LEN *-$AMSG Total length, in bytes
00000004 $AMSG_SZ ($AMSG_LEN+7)/8 Size in
doublewords
| |