|
Hex Dec Type/Val Lng Label (dup) Comments
---- ---- --------- ---- -------------- --------
0000 0 Structure $MDGBK Relocation mapping for HCPMDGBK
00000001 $MDG_VER 1 Mapping version number
0000 0 Signed 2 $MDG_HDRL Header length (in bytes)
0002 2 Signed 2 $MDG_BITL Length of mapped bits (in bytes)
0004 4 Signed 4 * Reserved for future use
00000008 $MDG_HDLN *-$MDGBK Length of header (bytes)
Bit map: Contains the MDGBK flags that are subject to
relocation. These bits are defined sequentially,
regardless of how they are defined in HCPMDGBK.
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 $MDG_BITS (0) Bit map area
0008 8 Bitstring 1 $MDG0
1... .... $MDG_CONFIG X'80' $MDG_CONFIG MDG_STATUS
00000001 $MDG_BLEN *-$MDG_BITS Length of bit map
area
Data: Contains all HCPMDGBK 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.
0009 9 Bitstring 1 $MDG_DATA (0) Start of data map
0009 9 Bitstring 4 $MDG_NEXT -> RDO offset to next $MDGBK
000D 13 Bitstring 8 $MDG_APBUF_GAA1_G
Guest abs addr 1st appl buffer
0015 21 Bitstring 8 $MDG_APBUF_GAA2_G
Guest abs addr 2nd appl buffer
001D 29 Bitstring 16 $MDG_PROD_ID Application product/release id
002D 45 Bitstring 2 $MDG_BUFF_LEN Total len (bytes) of appl buffer
002F 47 Bitstring 2 $MDG_BUFF_LEN1 Length (bytes) of 1st buffer page
0031 49 Bitstring 2 $MDG_BUFF_LEN2 Length (bytes) of 2nd buffer page
00000033 $MDG_LEN *-$MDGBK Total length, in bytes
00000007 $MDG_SZ ($MDG_LEN+7)/8 Size in
doublewords
| |