Skip to content

Commit

Permalink
Merge pull request #503 from zowe/bugfix/CEE3ERP-LE31-XPLINK
Browse files Browse the repository at this point in the history
Make sure CEE3ERP is invoked in LE 31-bit XPLINK (Zowe v2)
  • Loading branch information
JoeNemo authored Dec 4, 2024
2 parents 4c90f21 + 639627b commit 811e968
Show file tree
Hide file tree
Showing 6 changed files with 1,073 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Bugfix: SLH should not ABEND when MEMLIMIT is reached (additional NULL check)
- Bugfix: support cross-memory server parameters longer than 128 characters (zowe/zss#684)
- Bugfix: HEAPPOOLS and HEAPPOOLS64 no longer need to be set to OFF for configmgr (#498)
- Bugfix: make sure CEE3ERP is invoked in LE 31-bit XPLINK (#503)

## `2.18.0`
- Minor `components.zss.logLevels._zss.httpserver=5` debug messages enhancement (#471)
Expand Down
2 changes: 1 addition & 1 deletion c/recovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ static void * __ptr32 getRecoveryRouterAddress() {
" USING RCVCTX,11 \n"
" CLC RCXEYECT,=C'RSRCVCTX' EYECATHER IS VALID? \n"
" BNE RCVRET NO, LEAVE \n"
#if !defined(METTLE) && !defined(__XPLINK__)
#if !defined(METTLE) && !defined(_LP64)
/* check if the LE ESTAE needs to handle this */
" L 12,RCXCAA LOAD CAA \n"
" USING CEECAA,12 \n"
Expand Down
130 changes: 130 additions & 0 deletions tests/build_recoverytest.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
#!/bin/sh

set -eu

cp recoverytest.c rcvrtest.c

xlc -S -M -qmetal -DSUBPOOL=132 -DMETTLE=1 -DMSGPREFIX='"IDX"' -qreserved_reg=r12 \
-DRCVR_CPOOL_STATES \
-Wc,"arch(8),agg,exp,list(),so(),off,xref,roconst,longname" -I ../h \
../c/alloc.c \
../c/cellpool.c \
../c/collections.c \
../c/le.c \
../c/logging.c \
../c/metalio.c \
../c/qsam.c \
../c/recovery.c \
../c/scheduling.c \
../c/timeutls.c \
../c/utils.c \
../c/zos.c \
srb_harness.c \
rcvrtest.c
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=alloc.asm -o alloc.o alloc.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=cellpool.asm -o cellpool.o cellpool.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=collections.asm -o collections.o collections.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=le.asm -o le.o le.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=logging.asm -o logging.o logging.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=metalio.asm -o metalio.o metalio.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=qsam.asm -o qsam.o qsam.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=recovery.asm -o recovery.o recovery.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=scheduling.asm -o scheduling.o scheduling.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=timeutls.asm -o timeutls.o timeutls.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=utils.asm -o utils.o utils.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=zos.asm -o zos.o zos.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=srb_harness.asm -o srb_harness.o srb_harness.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=rcvrtest.asm -o rcvrtest.o rcvrtest.s
export _LD_SYSLIB="//'SYS1.CSSLIB'://'CEE.SCEELKEX'://'CEE.SCEELKED'://'CEE.SCEERUN'://'CEE.SCEERUN2'://'CSF.SCSFMOD0'"
ld -V -b ac=1 -b rent -b case=mixed -b map -b xref -b reus -e main -o "//'$USER.DEV.LOADLIB(RCVRTST1)'" \
rcvrtest.o alloc.o cellpool.o collections.o le.o logging.o metalio.o qsam.o recovery.o scheduling.o timeutls.o utils.o zos.o srb_harness.o > RCVRTST1.link
xlc -S -M -qmetal -q64 -DSUBPOOL=132 -DMETTLE=1 -DMSGPREFIX='"IDX"' -qreserved_reg=r12 \
-DRCVR_CPOOL_STATES \
-Wc,"arch(8),agg,exp,list(),so(),off,xref,roconst,longname,lp64" -I ../h \
../c/alloc.c \
../c/cellpool.c \
../c/collections.c \
../c/le.c \
../c/logging.c \
../c/metalio.c \
../c/qsam.c \
../c/recovery.c \
../c/scheduling.c \
../c/timeutls.c \
../c/utils.c \
../c/zos.c \
srb_harness.c \
rcvrtest.c
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=alloc.asm -o alloc.o alloc.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=cellpool.asm -o cellpool.o cellpool.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=collections.asm -o collections.o collections.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=le.asm -o le.o le.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=logging.asm -o logging.o logging.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=metalio.asm -o metalio.o metalio.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=qsam.asm -o qsam.o qsam.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=recovery.asm -o recovery.o recovery.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=scheduling.asm -o scheduling.o scheduling.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=timeutls.asm -o timeutls.o timeutls.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=utils.asm -o utils.o utils.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=zos.asm -o zos.o zos.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=srb_harness.asm -o srb_harness.o srb_harness.s
as -mgoff -mobject -mflag=nocont --TERM --RENT -aegimrsx=rcvrtest.asm -o rcvrtest.o rcvrtest.s
export _LD_SYSLIB="//'SYS1.CSSLIB'://'CEE.SCEELKEX'://'CEE.SCEELKED'://'CEE.SCEERUN'://'CEE.SCEERUN2'://'CSF.SCSFMOD0'"
ld -V -b ac=1 -b rent -b case=mixed -b map -b xref -b reus -e main -o "//'$USER.DEV.LOADLIB(RCVRTST4)'" \
rcvrtest.o alloc.o cellpool.o collections.o le.o logging.o metalio.o qsam.o recovery.o scheduling.o timeutls.o utils.o zos.o srb_harness.o > RCVRTST4.link
xlc -D_OPEN_THREADS=1 "-Wa,goff" "-Wc,LANGLVL(EXTC99),FLOAT(HEX),agg,exp,list(),so(),goff,xref,gonum,roconst,gonum,ASM,ASMLIB('SYS1.MACLIB'),ASMLIB('CEE.SCEEMAC')" '-Wl,ac=1' \
-DRCVR_CPOOL_STATES \
-I ../h -o recoverytest31 recoverytest.c \
../c/alloc.c \
../c/cellpool.c \
../c/collections.c \
../c/le.c \
../c/logging.c \
../c/recovery.c \
../c/scheduling.c \
../c/timeutls.c \
../c/utils.c \
../c/zos.c
xlc -D_OPEN_THREADS=1 "-Wa,goff" "-Wc,XPLINK,LANGLVL(EXTC99),FLOAT(HEX),agg,exp,list(),so(),goff,xref,gonum,roconst,gonum,ASM,ASMLIB('SYS1.MACLIB'),ASMLIB('CEE.SCEEMAC')" '-Wl,ac=1' \
-DRCVR_CPOOL_STATES \
-I ../h -o recoverytest31_xplink recoverytest.c \
../c/alloc.c \
../c/cellpool.c \
../c/collections.c \
../c/le.c \
../c/logging.c \
../c/recovery.c \
../c/scheduling.c \
../c/timeutls.c \
../c/utils.c \
../c/zos.c
xlc -D_OPEN_THREADS=1 "-Wa,goff" "-Wc,LP64,XPLINK,LANGLVL(EXTC99),FLOAT(HEX),agg,exp,list(),so(),goff,xref,gonum,roconst,gonum,ASM,ASMLIB('SYS1.MACLIB'),ASMLIB('CEE.SCEEMAC')" '-Wl,ac=1' \
-DRCVR_CPOOL_STATES \
-I ../h -o recoverytest64 recoverytest.c \
../c/alloc.c \
../c/cellpool.c \
../c/collections.c \
../c/le.c \
../c/logging.c \
../c/recovery.c \
../c/scheduling.c \
../c/timeutls.c \
../c/utils.c \
../c/zos.c
Loading

0 comments on commit 811e968

Please sign in to comment.