|
Hex Dec Type/Val Lng Label (dup) Comments
---- ---- --------- ---- -------------- --------
0000 0 Structure LKSBK Linkage Stack block
stack section entry
Mapping for a Linkage stack state entry
0000 0 Bitstring 160 LKSENTRY (0) Map the contents of a linkage
stack state entry.(The declared
length (160) does not include the
state descriptor length(8)).
Values of general purpose registers
0000 0 Bitstring 64 LKSGPRS (0) General Purp. Regs. of the caller
.... .... LKSGPRH0 00002 LKSGPRS+0,2 GPR halfword 0
.... .... LKSGPRB0 00001 LKSGPRS+0,1 GPR byte 0
.... ...1 LKSGPRB1 00001 LKSGPRS+1,1 GPR byte 1
.... ..1. LKSGPRH1 00002 LKSGPRS+2,2 GPR halfword 1
.... ..1. LKSGPRB2 00001 LKSGPRS+2,1 GPR byte 2
.... ..11 LKSGPRB3 00001 LKSGPRS+3,1 GPR byte 3
0000 0 Signed 4 LKSGPR0 General purpose register 0
0004 4 Signed 4 LKSGPR1 General purpose register 1
0008 8 Bitstring 52 LKSGR214 (0) General purpose registers 2-14
0008 8 Signed 4 LKSGPR2 General purpose register 2
000C 12 Signed 4 LKSGPR3 General purpose register 3
0010 16 Signed 4 LKSGPR4 General purpose register 4
0014 20 Signed 4 LKSGPR5 General purpose register 5
0018 24 Signed 4 LKSGPR6 General purpose register 6
001C 28 Signed 4 LKSGPR7 General purpose register 7
0020 32 Signed 4 LKSGPR8 General purpose register 8
0024 36 Signed 4 LKSGPR9 General purpose register 9
0028 40 Signed 4 LKSGPR10 General purpose register 10
002C 44 Signed 4 LKSGPR11 General purpose register 11
0030 48 Signed 4 LKSGPR12 General purpose register 12
0034 52 Signed 4 LKSGPR13 General purpose register 13
0038 56 Signed 4 LKSGPR14 General purpose register 14
003C 60 Signed 4 LKSGPR15 General purpose register 15
Values of Access Registers
0040 64 Bitstring 64 LKSARS (0) Access registers of the caller
.1.. .... LKSARH0 00002 LKSARS+0,2 AR halfword 0
.1.. .... LKSARB0 00001 LKSARS+0,1 AR byte 0
.1.. ...1 LKSARB1 00001 LKSARS+1,1 AR byte 1
.1.. ..1. LKSARH1 00002 LKSARS+2,2 AR halfword 1
.1.. ..1. LKSARB2 00001 LKSARS+2,1 AR byte 2
.1.. ..11 LKSARB3 00001 LKSARS+3,1 AR byte 3
0040 64 Signed 4 LKSAR0 Access register 0
0044 68 Signed 4 LKSAR1 Access register 1
0048 72 Bitstring 52 LKSAR214 (0) Access registers 2-14
0048 72 Signed 4 LKSAR2 Access register 2
004C 76 Signed 4 LKSAR3 Access register 3
0050 80 Signed 4 LKSAR4 Access register 4
0054 84 Signed 4 LKSAR5 Access register 5
0058 88 Signed 4 LKSAR6 Access register 6
005C 92 Signed 4 LKSAR7 Access register 7
0060 96 Signed 4 LKSAR8 Access register 8
0064 100 Signed 4 LKSAR9 Access register 9
0068 104 Signed 4 LKSAR10 Access register 10
006C 108 Signed 4 LKSAR11 Access register 11
0070 112 Signed 4 LKSAR12 Access register 12
0074 116 Signed 4 LKSAR13 Access register 13
0078 120 Signed 4 LKSAR14 Access register 14
007C 124 Signed 4 LKSAR15 Access register 15
Mapping for a z/Arch Linkage stack state entry
0000 0 Bitstring 288 LKSGENTY (0) Map the contents of a z/Arch
linkage stack state entry.(The
length (288) does not include the
state descriptor length(8)).
Values of z/Arch general purpose registers
- remap GPRs and ARs in ESA/390 format
0000 0 Bitstring 128 LKSGGPRS (0) General Purp. Regs. of the caller
.... .... LKSGGRW0 00004 LKSGGPRS+0,4 GPR word 0 -
high-order half
.... .... LKSGGRH0 00002 LKSGGPRS+0,2 GPR halfword 0
.... .... LKSGGRB0 00001 LKSGGPRS+0,1 GPR byte 0
.... ...1 LKSGGRB1 00001 LKSGGPRS+1,1 GPR byte 1
.... ..1. LKSGGRH1 00002 LKSGGPRS+2,2 GPR halfword 1
.... ..1. LKSGGRB2 00001 LKSGGPRS+2,1 GPR byte 2
.... ..11 LKSGGRB3 00001 LKSGGPRS+3,1 GPR byte 3
.... .1.. LKSGGRW1 00004 LKSGGPRS+4,4 GPR word 1 -
low-order half
.... .1.. LKSGGRH2 00002 LKSGGPRS+4,2 GPR halfword 2
.... .1.. LKSGGRB4 00001 LKSGGPRS+4,1 GPR byte 4
.... .1.1 LKSGGRB5 00001 LKSGGPRS+5,1 GPR byte 5
.... .11. LKSGGRH3 00002 LKSGGPRS+6,2 GPR halfword 3
.... .11. LKSGGRB6 00001 LKSGGPRS+6,1 GPR byte 6
.... .111 LKSGGRB7 00001 LKSGGPRS+7,1 GPR byte 7
0000 0 Dbl-Word 8 LKSGGPR0 General purpose register 0
0008 8 Dbl-Word 8 LKSGGPR1 General purpose register 1
0010 16 Bitstring 104 LKSGGR2E (0) General purpose registers 2-14
0010 16 Dbl-Word 8 LKSGGPR2 General purpose register 2
0018 24 Dbl-Word 8 LKSGGPR3 General purpose register 3
0020 32 Dbl-Word 8 LKSGGPR4 General purpose register 4
0028 40 Dbl-Word 8 LKSGGPR5 General purpose register 5
0030 48 Dbl-Word 8 LKSGGPR6 General purpose register 6
0038 56 Dbl-Word 8 LKSGGPR7 General purpose register 7
0040 64 Dbl-Word 8 LKSGGPR8 General purpose register 8
0048 72 Dbl-Word 8 LKSGGPR9 General purpose register 9
0050 80 Dbl-Word 8 LKSGGPRA General purpose register 10
0058 88 Dbl-Word 8 LKSGGPRB General purpose register 11
0060 96 Dbl-Word 8 LKSGGPRC General purpose register 12
0068 104 Dbl-Word 8 LKSGGPRD General purpose register 13
0070 112 Dbl-Word 8 LKSGGPRE General purpose register 14
0078 120 Dbl-Word 8 LKSGGPRF General purpose register 15
Control field
0080 128 Dbl-Word 8 LKSCR384 (0) CR3 and pieces of CRs 8,4
0080 128 Signed 4 LKSCR3 (0) Control register 3
0080 128 Bitstring 2 LKSPKM PSW-key mask of caller
0082 130 Bitstring 2 LKSSASN Secondary ASN of caller
0084 132 Signed 2 LKSCR8H1 (0) CR8 bits 0-15
0084 132 Bitstring 2 LKSEAX Extended authorization index
0086 134 Signed 2 LKSCR4H2 (0) CR4 bits 16-31
0086 134 Bitstring 2 LKSPASN Primary ASN of caller
Program Status Word
0088 136 Dbl-Word 8 LKSPSW (0) PSW of caller (points past instr)
for a 390 guest, PSW bits 0-63
for a z/Arch guest.
0088 136 Signed 4 LKSPSW0F (0) Caller PSW bits 0-31
0088 136 Bitstring 1 LKSPSW0 Caller PSW byte zero, Syst. Mask
.1.. .... PSWPERA X'40' PSWPERA PROGRAM EVENT
RECORDING ACTIVE
.... .1.. PSWTRAN X'04' PSWTRAN ADDRESS TRANSLATE
MODE ACTIVE
.... ..1. PSWIOSM X'02' PSWIOSM I/O INTERRUPTION
SUMMARY MASK
.... ...1 PSWEXSM X'01' PSWEXSM EXTERNAL INTERRUPT
SUMMARY MASK
1111 11.. PSWIOMSK X'FC' PSWIOMSK CHANNEL MASK,
CHANNELS 0-5
.... ..1. PSWIOSMB X'02' PSWIOSMB I/O SUMMARY MASK,
CHANNEL 6-15
.... ...1 PSWEXSMB X'01' PSWEXSMB EXTERNAL INTERRUPT
SUMMARY MASK
0089 137 Bitstring 1 LKSPSW1 Caller PSW byte one, key/emwp
1111 .... PSWKEY X'F0' PSWKEY PSW ACCESS KEY
EXTRACTION MASK
.... 1... PSWECMD X'08' PSWECMD EXTENDED CONTROL
MODE ACTIVE
.... .1.. PSWMCHK X'04' PSWMCHK MACHINE CHECK
SUMMARY MASK
.... ..1. PSWWAIT X'02' PSWWAIT PROGRAM WAIT STATE
.... ...1 PSWPROB X'01' PSWPROB PROGRAM PROBLEM
STATE
.... ...1 PSWMAPPD X'01' PSWMAPPD For BC-mode PSWs
created by the 370 Accommodation
facility, this bit being set
indicates that the PSW is really
a "mapped" PSW. See HCPPSW.
008A 138 Bitstring 1 LKSPSW2 Caller PSW byte two, EC mode
Secondary/Cond. Code/Pgm mask
11.. .... PSWASMSK X'C0' PSWASMSK ADDRESS SPACE
CONTROL MASK
11.. .... PSWHMODE X'C0' PSWHMODE HOME-SPACE MODE
1... .... PSWSMODE X'80' PSWSMODE SECONDARY MODE
.1.. .... PSWAMODE X'40' PSWAMODE ACCESS-REGISTER
MODE
..11 .... PSWCOND X'30' PSWCOND PSW CONDITION CODE
..1. .... PSWCOND2 X'20' PSWCOND2 PSW CONDITION CODE
BIT FOR CC=2,3
...1 .... PSWCOND1 X'10' PSWCOND1 PSW CONDITION CODE
BIT FOR CC=1,3
.... 1111 PSWPMSK X'0F' PSWPMSK FIXO+DECO+EXUN+SIGN
PROGRAM MASK
.... 1... PSWFIXO X'08' PSWFIXO FIXED-PT OVERFLOW
INTRPT MASK
.... .1.. PSWDECO X'04' PSWDECO DECIMAL OVERFLOW
INTRPT MASK
.... ..1. PSWEXUN X'02' PSWEXUN EXPONENT UNDERFLOW
INTRPT MASK
.... ...1 PSWSIGN X'01' PSWSIGN SIGNIFICANCE
INTERRUPT MASK
.... .... PSWPMODE X'00' PSWPMODE PRIMARY-SPACE MODE
008B 139 Bitstring 1 LKSPSW3 Caller PSW byte three,
008C 140 Signed 4 LKSPSW4F (0) PSW instruction address for a
non-z/Arch guest (S/370 bits
32-39 zero) z/Arch: bit32 =
AMode, b33-63=0 LKS2PSW has
remaining psw fields
008C 140 Bitstring 1 LKSPSW4 Caller EC PSW byte four, AMode
1... .... PSW31BT X'80' PSW31BT 31-BIT LOGICAL
ADDRESSING MODE
1... .... PSWBA PSW31BT PSWBA Basic Addressing
Mode
.111 1111 PSWHIADR X'7F' PSWHIADR INSTRUCTION
COUNTER BITS 1-7 - MUST BE ZERO
IN 24-BIT MODE.
.... .... PSW31AMF X'80000000' PSW31AMF ADDRESS MODE
FULLWORD MASK - CORRESPONDS TO
PSW31BT
008D 141 Bitstring 3 LKSPSW57 Caller EC PSW byte 5,6,7 BC
Instr.
0090 144 Dbl-Word 8 LKSDATA (0) Data for specific types of
entries
Mapping for LKSDATA for a Branch state entry
0090 144 Dbl-Word 8 LKSGBADR (0) z/Arch guest branch address for a
branch state entry
0090 144 Signed 4 * Reserved
0094 148 Address 4 LKSBADDR (0) Branch address for a branch state
entry for non-z/Arch guest
0094 148 Bitstring 1 LKSBADD0 Byte 0
1... .... LKSAMODE X'80' LKSAMODE Addressing mode
bit for a branch state entry
0095 149 Bitstring 3 * Byte 1-3 of the branch address
0098 152 Dbl-Word 8 LKSMODFA Modifiable area
000000A0 LKSENLEN *-LKSENTRY Number of bytes to
back up pointer for a state entry
dsect
Mapping for a Linkage stack entry descriptor
- offset is changed in z/Arch, but no content change
00A0 160 Dbl-Word 8 LKSEDESC (0) Entry descriptor
00A0 160 Bitstring 1 LKSETYPE Entry type
00000001 LKSHEADR 1 Header entry
00000002 LKSTRAIL 2 Trailer entry
00000004 LKSBRSTT 4 Branch and stack state entry
00000005 LKSPCSTT 5 Program call state entry
0000007F LKSETMSK 127 Mask to obtain entry type
1... .... LKSUSUPR X'80' Unstack suppression bit,
valid for header or state entries
00A1 161 Bitstring 1 LKSSECID Section identification
00A2 162 Bitstring 2 LKSRFS Remaining free space in bytes
between this entry and the
trailer entry.
00A4 164 Bitstring 2 LKSNES Next entry size in bytes, zero if
the current entry
00A6 166 Bitstring 2 * Reserved
00000008 LKSEDSIZ *-LKSEDESC Number of bytes in
entry descriptor
Size of state entry = Number of bytes in state
entry DSECT + Number of bytes
in entry descriptor
000000A8 LKSENSIZ LKSENLEN+LKSEDSIZ Number of bytes
in state entry
Mapping for Other Status Information (after the
modifiable area) for z/Arch
- remap at entry descriptor field of ESA/390 format
00A0 160 Bitstring 64 LKSGSTAT (0) more status info for z/Arch
00A0 160 Bitstring 1 LKSGRSV1 (8) map to edesc of ESA/390 (all 0s)
00A8 168 Dbl-Word 8 LKSPSWIA (0) 2nd half of 16-byte psw
00A8 168 Signed 4 LKSPSW8F 1st word of IA (bit64-95 of psw)
00AC 172 Signed 4 LKSPSWCF 2nd word of IA (bit96-127 of psw)
00B0 176 Dbl-Word 8 LKSINSTNS (0) Instance numbers
00B0 176 Signed 4 LKSSASTEIN SASTE instance number
00B4 180 Signed 4 LKSPASTEIN PASTE instance number
00B8 184 Bitstring 1 LKSGRSV2 (40) remaining reserved area
Values of z/Arch Access Registers
00E0 224 Bitstring 64 LKSGARS (0) Access registers of the caller
111. .... LKSGARH0 00002 LKSGARS+0,2 AR halfword 0
111. .... LKSGARB0 00001 LKSGARS+0,1 AR byte 0
111. ...1 LKSGARB1 00001 LKSGARS+1,1 AR byte 1
111. ..1. LKSGARH1 00002 LKSGARS+2,2 AR halfword 1
111. ..1. LKSGARB2 00001 LKSGARS+2,1 AR byte 2
111. ..11 LKSGARB3 00001 LKSGARS+3,1 AR byte 3
00E0 224 Signed 4 LKSGAR0 Access register 0
00E4 228 Signed 4 LKSGAR1 Access register 1
00E8 232 Bitstring 52 LKSGAR2E (0) Access registers 2-14
00E8 232 Signed 4 LKSGAR2 Access register 2
00EC 236 Signed 4 LKSGAR3 Access register 3
00F0 240 Signed 4 LKSGAR4 Access register 4
00F4 244 Signed 4 LKSGAR5 Access register 5
00F8 248 Signed 4 LKSGAR6 Access register 6
00FC 252 Signed 4 LKSGAR7 Access register 7
0100 256 Signed 4 LKSGAR8 Access register 8
0104 260 Signed 4 LKSGAR9 Access register 9
0108 264 Signed 4 LKSGARA Access register 10
010C 268 Signed 4 LKSGARB Access register 11
0110 272 Signed 4 LKSGARC Access register 12
0114 276 Signed 4 LKSGARD Access register 13
0118 280 Signed 4 LKSGARE Access register 14
011C 284 Signed 4 LKSGARF Access register 15
00000120 LKSGENLN *-LKSGENTY Number of bytes to
back up ptr for a z/Arch state
entry dsect
Mapping for z/Arch Linkage stack entry descriptor
- the content is the same as the ESA/390 entry desc
0120 288 Dbl-Word 8 LKSGEDES (0) z/Arch Entry descriptor
0120 288 Bitstring 1 LKSGETYP z/Arch Entry type
00000009 LKSGHEAD 9 z/Arch Header entry
0000000A LKSGTRAI 10 z/Arch Trailer entry
0000000C LKSGBRST 12 z/Arch Branch and stack entry
0000000D LKSGPCST 13 z/Arch Program call state
entry
0121 289 Bitstring 1 LKSGSEID z/Arch Section identification
0122 290 Bitstring 2 LKSGRFS Remaining free space in bytes
bet. this entry and the trailer
entry in a z/Arch linkage stack
0124 292 Bitstring 2 LKSGNES Next entry size in bytes, zero if
the current entry
0126 294 Bitstring 2 * Reserved
LKSEDSIZ EQU *-LKSEDESC Number of bytes in entry desc.
is the same as in ESA/390
Size of state entry = Number of bytes in state
(for z/Arch) entry DSECT + Number of bytes
in entry descriptor
00000128 LKSGENSZ LKSGENLN+LKSEDSIZ Number of bytes
in state entry
Mapping for LKSDATA for a PC state entry
0090 144 Signed 4 * Reserved
0094 148 Signed 4 LKSPCNUM PC number for a program-call
state entry
Mapping for linkage stack Header or Trailer
(non-z/Arch guest)
0098 152 Bitstring 8 LKSHDTR (0) Map the contents of the linkage
stack Header or Trailer
0098 152 Signed 4 * Reserved
009C 156 Address 4 LKSBFSA (0) Backward stack-entry address or
forward-section-header address
respectively for header and
trailer entries
009C 156 Bitstring 1 LKSNXST0 Byte 0
1... .... LKSVALID X'80' LKSVALID LLSBFSA pointer is
valid.
009D 157 Bitstring 3 *
00000008 LKSHLEN *-LKSHDTR Number of bytes to back
up pointer for a Header or
Trailer DSECT
| |