Skip to content

Commit

Permalink
Merge pull request #504 from zowe/bugfix/CEE3ERP-LE31-XPLINK-v3
Browse files Browse the repository at this point in the history
Make sure CEE3ERP is invoked in LE 31-bit XPLINK
  • Loading branch information
JoeNemo authored Dec 4, 2024
2 parents 92e61f5 + 45c46a7 commit 075e2d8
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 @@ -6,6 +6,7 @@
- Enhancement: module registry (#405)
- Enhancement: Adding more arguments to httpClientSessionInit to allow passing back internal rc and
removing the reference from changelog in `3.0.0`. (#499).
- Bugfix: make sure CEE3ERP is invoked in LE 31-bit XPLINK (#504)

## `3.0.0`
- Feature: added javascript `zos.getStatvfs(path)` function to obtain file system information (#482).
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 075e2d8

Please sign in to comment.